blob: f2f72c9f05aa284a1471ee8a5d954598abed6a03 (
plain)
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
|
<!-- Incremental compilation Tests -->
<ajc-test dir="incrementalju/initialTests/classAdded"
title="expect class added in initial incremental tests"
keywords="incremental-test" >
<compile staging="true"
options="-incremental"
sourceroots="src"/>
<run class="main.Main"/>
<!--
<inc-compile tag="20" >
<dir-changes added="main.Target"/>
</inc-compile>
<run class="main.Main" skipTester="true"/>
-->
</ajc-test>
<ajc-test dir="incrementalju/initialTests/classRemoved"
title="expect class removed in initial incremental tests"
keywords="incremental-test" >
<compile staging="true"
options="-incremental"
sourceroots="src"/>
<run class="main.Main"/>
<!--
<inc-compile tag="20">
<dir-changes removed="main.Target"/>
</inc-compile>
<run class="main.Main"/>
-->
</ajc-test>
<ajc-test dir="incrementalju/initialTests/classUpdated"
title="expect class updated in initial incremental tests"
keywords="incremental-test" >
<compile staging="true"
options="-incremental"
sourceroots="src"/>
<run class="main.Main"/>
<!--
<inc-compile tag="20">
<dir-changes updated="main.Main"/>
</inc-compile>
<run class="main.Main"/>
-->
</ajc-test>
<ajc-test dir="incrementalju/initialTests/sourceAdded"
title="add file with class"
comment="only expecting pickup if sourceroots"
keywords="incremental-test" >
<compile staging="true"
options="-incremental"
sourceroots="src"/>
<run class="main.Main"/>
<!--
<inc-compile tag="20">
<dir-changes added="main.Target"/>
</inc-compile>
<inc-compile tag="30">
<dir-changes updated="main.Main"/>
</inc-compile>
<run class="main.Main"/>
-->
</ajc-test>
<ajc-test dir="incrementalju/initialTests/sourceDeleted"
title="delete source file before incremental compile"
comment="build config should permit file deletions for incremental (sourceroots)"
keywords="incremental-test" >
<compile staging="true"
options="-incremental"
sourceroots="src"/>
<run class="delete.Main"/>
<!--
<inc-compile tag="20">
<dir-changes removed="delete.DeleteMe"/>
<message kind="error" line="6" file="delete/Target.java"/>
</inc-compile>
<inc-compile tag="30"/>
<run class="delete.Main"/>
-->
</ajc-test>
<ajc-test dir="incrementalju/initialTests/defaultPackage"
title="do everything in default package (sourceroots)"
keywords="incremental-test" >
<compile staging="true"
options="-incremental"
sourceroots="src"/>
<run class="Main"/>
<!--
<inc-compile tag="20">
<dir-changes added="Target"/>
</inc-compile>
<run class="Target" skipTester="true"/>
<inc-compile tag="30">
<dir-changes updated="Main"/>
</inc-compile>
<run class="Main" skipTester="true"/>
<inc-compile tag="40">
<message kind="error" line="6" file="Main.java"/>
</inc-compile>
<inc-compile tag="50"/>
<run class="Main"/>
-->
</ajc-test>
<ajc-test dir="incrementalju/defaultPackage"
keywords="incremental-test"
title="change sources in default package">
<compile
staging="true"
options="-incremental"
sourceroots="src"/>
<run class="Main"/>
<!--
<inc-compile tag="20"/>
<run class="Main"/>
-->
</ajc-test>
<ajc-test dir="incrementalju/interPackage"
keywords="incremental-test"
title="change source">
<compile
staging="true"
options="-incremental"
sourceroots="src"/>
<run class="app.Main"/>
<!--
<inc-compile tag="20"/>
<run class="app.Main"/>
-->
</ajc-test>
<ajc-test dir="incrementalju/stringliteral"
keywords="incremental-test"
title="incrementally change only string literal, still expect advice">
<compile staging="true" options="-incremental"
sourceroots="src"/>
<run class="packageOne.Main"
options="in packageOne.Main.main(..),before main packageOne.Main"/>
<!--
<inc-compile tag="20">
<dir-changes updated="packageOne.Main"/>
</inc-compile>
<run class="packageOne.Main"
options="in longer packageOne.Main.main(..),
before main packageOne.Main"/>
-->
</ajc-test>
<ajc-test dir="incrementalju/initialTests/aspectSourceAdded"
title="add aspect source file and check world is rewoven"
keywords="incremental-test" >
<compile staging="true"
options="-incremental"
sourceroots="src"/>
<!--
<inc-compile tag="20">
<dir-changes added="Detour"/>
</inc-compile>
<run class="Main"/>
-->
</ajc-test>
<ajc-test dir="incrementalju/initialTests/classWAroundClosureRemoved"
title="make sure additional classes generated during weave are deleted with src class file"
keywords="incremental-test">
<compile staging="true"
options="-incremental"
sourceroots="src"/>
<!--
<inc-compile tag="20" >
<dir-changes removed="AdviceOnIntroduced$AjcClosure1"/>
</inc-compile>
-->
</ajc-test>
<ajc-test dir="incrementalju/full-rebuild"
pr="59895"
title="incremental with aspect-driven full rebuild">
<compile
staging="true"
sourceroots="src"
options="-incremental">
<message kind="error" line="3" file="Aspect.java"/>
</compile>
<!--
<inc-compile tag="20">
<message kind="warning" line="4" file="Main.java"/>
</inc-compile>
<run class="Main"/>
-->
</ajc-test>
|