| 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_Switch_Border_Bottom_Left_Radius extends TestFlow { |
| public AG_Border_Switch_Border_Bottom_Left_Radius() { |
| 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_Switch_Border_Bottom_Left_Radius"); |
| testMap.put("step1",new TreeMap(){ |
| { |
| put("click", "10"); |
| put("screenshot", "AG_Border_Switch_Border_Bottom_Left_Radius_01_10"); |
| } |
| }); |
| testMap.put("step2",new TreeMap(){ |
| { |
| put("click", "20"); |
| put("screenshot", "AG_Border_Switch_Border_Bottom_Left_Radius_02_20"); |
| } |
| }); |
| super.setTestMap(testMap); |
| } |
| |
| @Test |
| public void doTest(){ |
| super.testByTestMap(); |
| } |
| |
| } |