Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
macaca-java-biz-sample
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
马博
macaca-java-biz-sample
Commits
24341d05
Commit
24341d05
authored
Aug 14, 2017
by
mabo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
b5166d7d
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
61 deletions
+2
-61
App.java
src/main/java/com/javademo/autoui/App.java
+0
-13
AppTest.java
src/test/java/com/javademo/autoui/AppTest.java
+0
-38
macacaTest.java
src/test/java/com/javademo/cases/macacaTest.java
+1
-9
Config.java
src/test/java/com/javademo/utils/Config.java
+1
-1
No files found.
src/main/java/com/javademo/autoui/App.java
deleted
100644 → 0
View file @
b5166d7d
package
com
.
javademo
.
autoui
;
/**
* Hello world!
*
*/
public
class
App
{
public
static
void
main
(
String
[]
args
)
{
System
.
out
.
println
(
"Hello World!"
);
}
}
src/test/java/com/javademo/autoui/AppTest.java
deleted
100644 → 0
View file @
b5166d7d
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
);
}
}
src/test/java/com/javademo/cases/
t
est.java
→
src/test/java/com/javademo/cases/
macacaT
est.java
View file @
24341d05
...
@@ -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
t
est
{
public
class
macacaT
est
{
@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
{
}
}
}
src/test/java/com/javademo/utils/Config.java
View file @
24341d05
...
@@ -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"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment