summaryrefslogtreecommitdiffstats
path: root/tests/src/org
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/org')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc1610/Ajc1610Tests.java16
-rw-r--r--tests/src/org/aspectj/systemtest/ajc1610/ajc1610.xml19
2 files changed, 32 insertions, 3 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc1610/Ajc1610Tests.java b/tests/src/org/aspectj/systemtest/ajc1610/Ajc1610Tests.java
index 9268bde8e..e0188f818 100644
--- a/tests/src/org/aspectj/systemtest/ajc1610/Ajc1610Tests.java
+++ b/tests/src/org/aspectj/systemtest/ajc1610/Ajc1610Tests.java
@@ -18,9 +18,18 @@ import org.aspectj.testing.XMLBasedAjcTestCase;
public class Ajc1610Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
+ public void testOffset0_bug324932() {
+ runTest("pr324932");
+ }
+
+ public void testOffset0_bug324932_2() {
+ runTest("pr324932 - 2");
+ }
+
public void testAbstractAspectDeclareParents_322446() {
runTest("declare parents abstract aspect");
}
+
public void testAbstractAspectAndDeclares_322272_2() {
runTest("abstract aspects and declares - 2");
}
@@ -28,11 +37,12 @@ public class Ajc1610Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
public void testAbstractAspectAndDeclares_322272() {
runTest("abstract aspects and declares");
}
+
// Interesting new behaviour on AspectJ 1.6.9 - probably due to initial inner type changes.
// Looks a real error (creating two annotations the same on a type is a bad thing)
- // public void testDuplicateAnnotations() {
- // runTest("duplicate annotation");
- // }
+ // public void testDuplicateAnnotations() {
+ // runTest("duplicate annotation");
+ // }
public void testLoadingOldCode_319431() {
runTest("loading old code");
diff --git a/tests/src/org/aspectj/systemtest/ajc1610/ajc1610.xml b/tests/src/org/aspectj/systemtest/ajc1610/ajc1610.xml
index 4cdfa2387..fc8c61a90 100644
--- a/tests/src/org/aspectj/systemtest/ajc1610/ajc1610.xml
+++ b/tests/src/org/aspectj/systemtest/ajc1610/ajc1610.xml
@@ -2,6 +2,25 @@
<suite>
+ <ajc-test dir="bugs1610/pr324932" title="pr324932">
+ <compile files="A.java" options="-1.5"/>
+ <compile files="X.aj" options="-1.5 -Xlint:ignore" />
+ <run class="A" ltw="aop.xml">
+ <stdout>
+ <line text="It WORKS"/>
+ </stdout>
+ </run>
+ </ajc-test>
+
+ <ajc-test dir="bugs1610/pr324932_2" title="pr324932 - 2">
+ <compile files="A.java" options="-1.5"/>
+ <run class="A" ltw="aop.xml">
+ <stdout>
+ <line text="It WORKS"/>
+ </stdout>
+ </run>
+ </ajc-test>
+
<ajc-test dir="bugs1610/pr322446" title="declare parents abstract aspect">
<compile files="Super.java I.java" outjar="aspects.jar" options="-1.5"/>
<compile files="Code.java" classpath="aspects.jar" options="-1.5 -emacssym"/>