| package com.alibaba.weex.uitest.TC_AG; |
| import com.alibaba.weex.WXPageActivity; |
| import com.alibaba.weex.util.TestFlow; |
| import java.util.TreeMap; |
| import org.junit.Before; |
| import org.junit.Test; |
| |
| public class AG_Border_Input_Border_Top_Color extends TestFlow { |
| public AG_Border_Input_Border_Top_Color() { |
| super(WXPageActivity.class); |
| } |
| |
| @Before |
| public void setUp() throws InterruptedException { |
| super.setUp(); |
| TreeMap testMap = new <String, Object> TreeMap(); |
| testMap.put("testComponet", "AG_Border"); |
| testMap.put("testChildCaseInit", "AG_Border_Input_Border_Top_Color"); |
| testMap.put("step1",new TreeMap(){ |
| { |
| put("click", "#FF0000"); |
| put("screenshot", "AG_Border_Input_Border_Top_Color_01_#FF0000"); |
| } |
| }); |
| testMap.put("step2",new TreeMap(){ |
| { |
| put("click", "#00FFFF"); |
| put("screenshot", "AG_Border_Input_Border_Top_Color_02_#00FFFF"); |
| } |
| }); |
| super.setTestMap(testMap); |
| } |
| |
| @Test |
| public void doTest(){ |
| super.testByTestMap(); |
| } |
| |
| } |