aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoraclement <aclement>2005-09-30 12:25:23 +0000
committeraclement <aclement>2005-09-30 12:25:23 +0000
commit395cf569c1e790061db435be7209ee03f3ee82c6 (patch)
treeec7acf93e3c1cb7db3091070309559a4da688568 /tests
parentd83a207c957e9b6cfcb774dbd18cbe4ca8d2e548 (diff)
downloadaspectj-395cf569c1e790061db435be7209ee03f3ee82c6.tar.gz
aspectj-395cf569c1e790061db435be7209ee03f3ee82c6.zip
bugs bugs bugs: testcases for things on my list.
Diffstat (limited to 'tests')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java9
-rw-r--r--tests/src/org/aspectj/systemtest/ajc150/ajc150.xml25
2 files changed, 33 insertions, 1 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java b/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
index 8dcaa3d38..f0e767625 100644
--- a/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
+++ b/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
@@ -35,7 +35,14 @@ public class Ajc150Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
protected File getSpecFile() {
return new File("../tests/src/org/aspectj/systemtest/ajc150/ajc150.xml");
}
-
+ /*
+ Andys bug area - enter at your own risk...
+ public void testBrokenDispatchByITD_pr72834() { runTest("broken dispatch");}
+ public void testMissingAccessor_pr73856() { runTest("missing accessor");}
+ public void testCantCallSuperMethods_pr90143() { runTest("cant call super methods");}
+ public void testCunningDeclareParents_pr92311() { runTest("cunning declare parents");}
+ public void testGenericITDsAndAbstractMethodError_pr102357() { runTest("generic itds and abstract method error");}
+ */
public void testBadDecp_pr110788_1() { runTest("bad generic decp - 1");}
public void testBadDecp_pr110788_2() { runTest("bad generic decp - 2");}
public void testBadDecp_pr110788_3() { runTest("bad generic decp - 3");}
diff --git a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
index ad7ed2fbf..c909bb204 100644
--- a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
+++ b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
@@ -4860,4 +4860,29 @@
<ajc-test dir="bugs150/pr110927" title="cant create signature attribute">
<compile files="Case1.java" options="-1.5"/>
</ajc-test>
+
+ <ajc-test dir="bugs150/pr72834" title="broken dispatch">
+ <compile files="Trouble.java">
+ <message kind="error" line="7" text="package visible abstract inter-type declarations are not allowed"/>
+ <message kind="error" line="9" text="The method getName() is undefined for the type A"/>
+ </compile>
+ </ajc-test>
+
+ <ajc-test dir="bugs150/pr73856" title="missing accessor">
+ <compile files="MissingAccessor.java"/>
+ <run class="MissingAccessor"/>
+ </ajc-test>
+
+ <ajc-test dir="bugs150/pr90143" title="cant call super methods">
+ <compile files="A.aj"/>
+ </ajc-test>
+
+ <ajc-test dir="bugs150" title="cunning declare parents">
+ <compile files="pr92311.aj"/>
+ </ajc-test>
+
+ <ajc-test dir="bugs150" title="generic itds and abstract method error">
+ <compile files="pr102357.aj"/>
+ <run class="pr102357"/>
+ </ajc-test>
</suite> \ No newline at end of file