Commit 24341d05 authored by mabo's avatar mabo

test

parent b5166d7d
package com.javademo.autoui;
/**
* Hello world!
*
*/
public class App
{
public static void main( String[] args )
{
System.out.println( "Hello World!" );
}
}
package com.javademo.autoui;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
* Unit test for simple App.
*/
public class AppTest
extends TestCase
{
/**
* Create the test case
*
* @param testName name of the test case
*/
public AppTest( String testName )
{
super( testName );
}
/**
* @return the suite of tests being tested
*/
public static Test suite()
{
return new TestSuite( AppTest.class );
}
/**
* Rigourous Test :-)
*/
public void testApp()
{
assertTrue( true );
}
}
...@@ -7,9 +7,8 @@ import com.javademo.utils.Config; ...@@ -7,9 +7,8 @@ import com.javademo.utils.Config;
import macaca.client.MacacaClient; import macaca.client.MacacaClient;
import macaca.client.common.GetElementWay; import macaca.client.common.GetElementWay;
import macaca.java.biz.BaseMacacaClient.PlatformType;
public class test { public class macacaTest {
@Test @Test
public void androidTest() throws Exception{ public void androidTest() throws Exception{
MacacaClient driver = new MacacaClient(); MacacaClient driver = new MacacaClient();
...@@ -79,11 +78,4 @@ public class test { ...@@ -79,11 +78,4 @@ public class test {
} }
public static void main(String[] args) throws Exception {
}
} }
...@@ -17,7 +17,7 @@ public class Config { ...@@ -17,7 +17,7 @@ public class Config {
// 密码 // 密码
public static final String PASSWORD = "password"; public static final String PASSWORD = "password";
// 目标平台- ios android // 目标平台- ios android
public static final String PLATFORM ="android"; //"ios"; public static final String PLATFORM = "ios";
// 是否覆盖安装 3-覆盖安装 // 是否覆盖安装 3-覆盖安装
public static final String REUSE = "3"; public static final String REUSE = "3";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment