blob: 56395ba9b11750422dc3048be816d224a992c156 (
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
|
/* *******************************************************************
* Copyright (c) 2004 IBM Corporation
* 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
*
* ******************************************************************/
package org.aspectj.systemtest.inpath;
import org.aspectj.testing.XMLBasedAjcTestCase;
import junit.framework.Test;
public class InPathTests extends org.aspectj.testing.XMLBasedAjcTestCase {
public static Test suite() {
return XMLBasedAjcTestCase.loadSuite(InPathTests.class);
}
protected java.net.URL getSpecFile() {
return getClassResource("inpath.xml");
}
public void test001(){
runTest("source for options -injars");
}
public void test002(){
runTest("options -injars");
}
public void test003(){
runTest("options -injars checking declare parents interactions");
}
// test removed from suite since aspects are *always* generated reweavable
// public void test004(){
// runTest("The compiler crashes when using aspect libraries created without using -terminateAfterCompilation");
// }
public void test005(){
runTest("declare warnings on main");
}
public void test006(){
runTest("declare warnings on binary javac 1.4 classes");
}
public void test007(){
runTest("declare warnings on binary ajc 1.1 classes");
}
public void test008(){
runTest("Weaving rt.jar results in stack overflow");
}
public void test009(){
runTest("Weaving failure when using injars (no jars)");
}
public void test010(){
runTest("Weaving failure when using injars (on aspectpath)");
}
public void test011(){
runTest("Weaving failure when using injars (on classpath)");
}
public void test012(){
runTest("Weaving failure when using injars (actual injars)");
}
public void test013(){
runTest("Introduced abstract method on interface not implemented by subtype (injars)");
}
public void test014(){
runTest("error Type mismatch: cannot convert from java.lang.String to java.lang.String");
}
public void test015(){
runTest("declare error binary-weaving NPE");
}
public void test016(){
runTest("declare error binary-weaving NPE");
}
public void test017(){
runTest("Regression from 1.1: NPE in CompilationResult");
}
}
|