blob: f9570e908bf2635ee4bdae618f195e634cdbc6e6 [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.weex.uitest.TC_AG;
import org.apache.weex.WXPageActivity;
import org.apache.weex.util.TestFlow;
import java.util.TreeMap;
import org.junit.Before;
import org.junit.Test;
public class AG_Input_Input_Type extends TestFlow {
public AG_Input_Input_Type() {
super(WXPageActivity.class);
}
@Before
public void setUp() throws InterruptedException {
super.setUp();
TreeMap testMap = new <String, Object> TreeMap();
testMap.put("testComponet", "AG_Input");
testMap.put("testChildCaseInit", "AG_Input_Input_Type");
testMap.put("step1",new TreeMap(){
{
put("click", "text");
put("screenshot", "AG_Input_Input_Type_01_text");
}
});
testMap.put("step2",new TreeMap(){
{
put("click", "password");
put("screenshot", "AG_Input_Input_Type_02_password");
}
});
testMap.put("step3",new TreeMap(){
{
put("click", "tel");
put("screenshot", "AG_Input_Input_Type_03_tel");
}
});
testMap.put("step4",new TreeMap(){
{
put("click", "email");
put("screenshot", "AG_Input_Input_Type_04_email");
}
});
testMap.put("step5",new TreeMap(){
{
put("click", "url");
put("screenshot", "AG_Input_Input_Type_05_url");
}
});
super.setTestMap(testMap);
}
@Test
public void doTest(){
super.testByTestMap();
}
}