blob: 481827125bc8e75e0ab45ac14c598c38bfb86848 (
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
|
/* *******************************************************************
* Copyright (c) 2004 IBM Corporation
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Common Public License v1.0
* which accompanies this distribution and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* ******************************************************************/
package org.aspectj.systemtest.knownlimitations;
import java.io.File;
import junit.framework.Test;
import org.aspectj.testing.XMLBasedAjcTestCase;
public class KnownLimitationsTests extends org.aspectj.testing.XMLBasedAjcTestCase {
public static Test suite() {
return XMLBasedAjcTestCase.loadSuite(KnownLimitationsTests.class);
}
protected File getSpecFile() {
return new File("../tests/src/org/aspectj/systemtest/knownlimitations/knownlimitations.xml");
}
public void test001(){
runTest("DEPRECATED: introduce of variables");
}
public void test002(){
runTest("checking the contra-variant errors for typing of proceed");
}
public void test003(){
runTest("introduction of static methods and fields on classes and interfaces");
}
public void test004(){
runTest("advice on catch clauses");
}
public void test005(){
runTest("holding onto proceed calls in a closure-like way");
}
public void test006(){
runTest("PR#458 Compiler was incorrectly flagging error in advice on initialization and static initialization");
}
public void test007(){
runTest("Introduced type unavailable to instanceof expressions in introduced methods");
}
public void test008(){
runTest("enclosing join point not exported properly in pre-initialization join point");
}
public void test009(){
runTest("cyclic pointcut definitions");
}
public void test010(){
runTest("package typepattern with no packages (in default package)");
}
public void test011(){
runTest("flag errors when binding args with indeterminate prefix and suffix");
}
public void test012(){
runTest("around and return types + inlining optimizations");
}
public void test013(){
runTest("source locations within expressions (hard case of constructor start)");
}
public void test014(){
runTest("declaring method on superclass and subclass");
}
public void test015(){
runTest("illegal name binding in around cflow");
}
public void test016(){
runTest("incrementally change string size and wire in injar classes");
}
public void test017(){
runTest("before():execution(new(..)) does not throw NoAspectBoundException");
}
public void test018(){
runTest("declare error on handler/method execution with no code on binary ajc 1.1 classes");
}
public void test019(){
runTest("declare error on handler/method execution with no code on binary javac 1.4 classes");
}
public void test020(){
runTest("CLE: -help usage");
}
public void test021(){
runTest("declare warnings on main - constructor execution");
}
public void test022(){
runTest("declare warnings on binary javac 1.4 main - constructor execution");
}
public void test023(){
runTest("declare warnings on binary ajc 1.1 main - constructor execution");
}
public void test024(){
runTest("advice on handler join points should not throw unpermitted checked exceptions");
}
public void test025(){
runTest("-nowarn suppresses XLint warnings");
}
public void test026(){
runTest("warn:none suppresses XLint warnings");
}
public void test027(){
runTest("-nowarn suppresses declare warnings");
}
public void test028(){
runTest("-warn:none suppresses declare warnings");
}
public void test029(){
runTest("insertion of lots of advice code can make branch offset for if too large");
}
}
|