weexteam/weex_devtools_android

View on GitHub
playground/app/src/androidTest/java/com/alibaba/weex/uitest/TC_AG/AG_Border_A_Border_Top_Right_Radius.java

Summary

Maintainability
A
1 hr
Test Coverage
package com.alibaba.weex.uitest.TC_AG;
import com.alibaba.weex.WXPageActivity;
import com.alibaba.weex.util.TestFlow;
import java.util.HashMap;
import org.junit.Before;
import org.junit.Test;

public class AG_Border_A_Border_Top_Right_Radius extends TestFlow {
    public AG_Border_A_Border_Top_Right_Radius() {
        super(WXPageActivity.class);
    }

    @Before
    public void setUp() throws InterruptedException {
        super.setUp();
        HashMap testMap = new <String, Object> HashMap();
        testMap.put("testComponet", "AG_Border");
        testMap.put("testChildCaseInit", "AG_Border_A_Border_Top_Right_Radius");
        testMap.put("step1",new HashMap(){
            {
                put("click", "10");
                put("screenshot", "AG_Border_A_Border_Top_Right_Radius_01_10");
            }
        });
        testMap.put("step2",new HashMap(){
            {
                put("click", "20");
                put("screenshot", "AG_Border_A_Border_Top_Right_Radius_02_20");
            }
        });
        super.setTestMap(testMap);
    }

    @Test
    public void doTest(){
        super.testByTestMap();
    }

}