FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
MacacaAutomation/build_android_win.xml at master · MiniSpringBootTutorial/MacacaAutomation · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
MiniSpringBootTutorial
/
MacacaAutomation
Public
forked from
macaca-sample/MacacaAutomation
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
MacacaAutomation
/
build_android_win.xml
Copy path
More file actions
More file actions
Latest commit
History
History
History
78 lines (66 loc) · 3.08 KB
Breadcrumbs
MacacaAutomation
/
build_android_win.xml
Copy path
File metadata and controls
78 lines (66 loc) · 3.08 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<?
xml
version
=
"
1.0
"
encoding
=
"
UTF-8
"
?>
<
project
name
=
"
Macaca
"
default
=
"
execsed
"
basedir
=
"
.
"
>
<!--
===================================================================
-->
<!--
变量设置
-->
<!--
===================================================================
-->
<!--
编译文件class路径
-->
<
property
name
=
"
bulid.path
"
value
=
"
./build
"
/>
<!--
单元测试代码路径
-->
<
property
name
=
"
test.path
"
value
=
"
./src
"
/>
<!--
lib包路径 根据实际情况修改
-->
<
property
name
=
"
lib.path
"
value
=
"
C:\Users\Administrator\.m2\repository
"
/>
<!--
生成报告junit4.xml路径
-->
<
property
name
=
"
report.path
"
value
=
"
./report
"
/>
<!--
终端平台类型
-->
<
property
name
=
"
platform
"
value
=
"
android
"
/>
<!--
===================================================================
-->
<!--
设置classpath
-->
<!--
===================================================================
-->
<
path
id
=
"
compile.path
"
>
<
fileset
dir
=
"
${lib.path}
"
>
<
include
name
=
"
**/*.jar
"
/>
</
fileset
>
<
pathelement
path
=
"
${bulid.path}
"
/>
</
path
>
<
target
name
=
"
init
"
>
<!--
清除Junit生成的报表文档
-->
<
delete
dir
=
"
${report.path}/${platform}
"
/>
<
mkdir
dir
=
"
${report.path}/${platform}
"
/>
<!--
清除历史编译class
-->
<
delete
dir
=
"
${bulid.path}
"
/>
<
mkdir
dir
=
"
${bulid.path}
"
/>
</
target
>
<!--
===================================================================
-->
<!--
编译测试文件,初始化目录
-->
<!--
===================================================================
-->
<
target
name
=
"
compile
"
depends
=
"
init
"
description
=
"
compile
"
>
<
javac
srcdir
=
"
${test.path}
"
destdir
=
"
${bulid.path}
"
classpathref
=
"
compile.path
"
includeantruntime
=
"
on
"
encoding
=
"
UTF-8
"
/>
</
target
>
<!--
===================================================================
-->
<!--
执行测试案例
-->
<!--
===================================================================
-->
<
target
name
=
"
junit
"
depends
=
"
compile
"
>
<
junit
printsummary
=
"
true
"
fork
=
"
true
"
>
<
formatter
type
=
"
xml
"
usefile
=
"
true
"
/>
<
classpath
refid
=
"
compile.path
"
/>
<
batchtest
fork
=
"
on
"
todir
=
"
${report.path}/${platform}
"
haltonfailure
=
"
no
"
>
<
fileset
dir
=
"
${bulid.path}
"
>
<
include
name
=
"
junittestcase/${platform}/*.class
"
/>
</
fileset
>
</
batchtest
>
</
junit
>
<!--
产生单元测试报表文档
-->
<
junitreport
todir
=
"
${report.path}/${platform}
"
>
<
fileset
dir
=
"
${report.path}/${platform}
"
>
<
include
name
=
"
TEST-*.xml
"
/>
</
fileset
>
<
report
format
=
"
frames
"
todir
=
"
${report.path}/${platform}
"
/>
</
junitreport
>
</
target
>
<
target
name
=
"
execsed
"
depends
=
"
junit
"
description
=
"
deal with a lable
"
>
<
echo
>began deal with a lable</
echo
>
<
exec
executable
=
"
cmd.exe
"
>
<
arg
value
=
"
/c cd bin
&&
exec_replace.bat
"
/>
</
exec
>
</
target
>
</
project
>
Back
|
FazBrowse Home
|
New Git URL