blob: b1e7ccedf915baeb1a4ae2f47d960a83585e5fc2 (
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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
|
/*******************************************************************************
* Copyright (c) 2008 Contributors
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt
*
* Contributors:
* Andy Clement - initial API and implementation
*******************************************************************************/
package org.aspectj.systemtest.ajc169;
import org.aspectj.testing.XMLBasedAjcTestCase;
import junit.framework.Test;
public class Ajc169Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
public void testMessyDecp_318241() {
runTest("messy decp");
}
// public void testMultiAnnosRunning_pr315820_1() {
// runTest("multiple annos running - 1");
// }
public void testMultiAnnosParsing_pr315820() {
runTest("multiple annos parsing");
}
public void testDeclareAnnot_pr287613_5() {
runTest("compound declare patterns - method - 2");
}
public void testDeclareAnnot_pr287613_4() {
runTest("compound declare patterns - method - 1");
}
public void testDeclareAnnot_pr287613_3() {
runTest("compound declare patterns - methodctor - 1");
}
public void testDeclareAnnot_pr287613_2() {
runTest("compound declare patterns - fields - 2");
}
public void testDeclareAnnot_pr287613() {
runTest("compound declare patterns - fields - 1");
}
public void testOptionalAspects_pr310506() {
runTest("optional aspects");
}
public void testOptionalAspects_pr310506_2() {
runTest("optional aspects 2");
}
// public void testClashingDeclareAnnos_313026_1() {
// runTest("clashing declare annos");
// }
public void testInfiniteLoop_pr315651() {
runTest("infinite loop");
}
public void testAnnoType_pr314965() {
runTest("anno typo");
}
public void testValidateBranchRecursion_314840() {
runTest("validate branch recursion");
}
public void testClassFileSize_312839_1() {
runTest("class file size - 1");
// 2531 (0x404): 1.6.9.M2 size of Class.class
// 2494 (0x3DF): first little stab, compressing aspectnames attached to type mungers
// 2370 (0x363): changed read/write sourcelocation to write path rather than File object:
// 2358 (0x357): aspects affecting type compressed (weaverstate reweavable info)
// 2102 (0x257): changed read/write sourcelocation in type munger to NOT use object streams
// 2053 (0x1EF): changed path in sourcelocation read/write to be constant pool (so shared between both mungers)
// 2019: changed resolvedMemberImpl name/signature to be compressed refs
// 1954 (0x18C)
// Aspect size (X.class) down from 6459 to 4722
// 4551: changed exact type pattern writing to use constant pool, and
// changed typepatternlist to not both writing/reading location
// TODO actually test something :)
}
// control test - weaves everything
public void testScopingLTW_122460_1() {
runTest("scoping ltw - 1");
}
// scoped to one type
public void testScopingLTW_122460_2() {
runTest("scoping ltw - 2");
}
// scope is '!*' - nothing woven
public void testScopingLTW_122460_3() {
runTest("scoping ltw - 3");
}
public void testDeclareSoftCall_307009_1() {
runTest("declare soft and call - 1");
}
public void testDeclareSoftCall_307009_2() {
runTest("declare soft and call - 2");
}
public void testAmbiguousMethod_298665() {
runTest("ambiguous method");
}
// public void testStaticallyAnalyzableIf_292262_1() {
// runTest("if with statically recognizable code");
// }
// public void testAdvisingPrivilegedAccessMethod_307147() {
// runTest("advising privileged access method");
// }
public void testRogueError_310043() {
runTest("rogue error");
}
public void testItdMarkerAnnotations_309743() {
runTest("itd marker annotations - 1");
}
public void testItdMarkerAnnotations_309743_2() {
runTest("itd marker annotations - 2");
}
public void testPipeliningAndGenerics_309336() {
runTest("pipelining and generics");
}
public void testCrashParamAnnos_309440() {
runTest("crash param annos");
}
// 1.6.9 M1 below here
public void testSubtleGenericsIssue_308773() {
runTest("subtle generics problem");
}
public void testAdvisingPrivilegedAccessMember_307120() {
runTest("advising privileged access member");
}
public void testAdvisingPrivilegedAccessMember_307120_2() {
runTest("advising privileged access member - 2");
}
public void testTypePatternCategories_44365_Class() {
runTest("type category type patterns - class");
}
public void testTypePatternCategories_44365_Interface() {
runTest("type category type patterns - interface");
}
public void testTypePatternCategories_44365_Enum() {
runTest("type category type patterns - enum");
}
public void testTypePatternCategories_44365_Annotation() {
runTest("type category type patterns - annotation");
}
public void testTypePatternCategories_44365_Anonymous() {
runTest("type category type patterns - anonymous");
}
public void testTypePatternCategories_44365_Inner() {
runTest("type category type patterns - inner");
}
public void testTypePatternCategories_44365_Inner_2() {
runTest("type category type patterns - inner - 2");
}
public void testTypePatternCategories_44365_Inner_3() {
runTest("type category type patterns - inner - 3");
}
public void testTypePatternCategories_44365_Aspect() {
runTest("type category type patterns - aspect");
}
public void testTypePatternCategories_44365_e1() {
runTest("type category type patterns - e1");
}
public void testTypePatternCategories_44365_e3() {
runTest("type category type patterns - e3");
}
public void testTypePatternCategories_44365_e2() {
runTest("type category type patterns - e2");
}
public void testChecker() {
runTest("inserts in messages");
}
/*
* public void testVerifyError() { runTest("verifyerror on atAj"); }
*/
public void testDeclareTypeWarning1() {
runTest("declare type warning - 1");
}
public void testDeclareTypeWarning2() {
runTest("declare type warning - 2");
}
public void testDeclareTypeWarning3() {
runTest("declare type warning - 3");
}
public void testDeclareTypeError1() {
runTest("declare type error - 1");
}
public void testPr298388() {
runTest("declare mixin and generics");
}
// public void testPr292584() {
// runTest("annotation around advice verifyerror");
// }
// ---
public static Test suite() {
return XMLBasedAjcTestCase.loadSuite(Ajc169Tests.class);
}
@Override
protected java.net.URL getSpecFile() {
return getClassResource("ajc169.xml");
}
}
|