aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/org/aspectj
diff options
context:
space:
mode:
authoracolyer <acolyer>2006-08-18 15:23:33 +0000
committeracolyer <acolyer>2006-08-18 15:23:33 +0000
commitfd3a8eca2517b4a7ab437c00e2c81a3cdefeeb3a (patch)
tree6c8d8a5fe90c70ebe3a734d50cc18d521a8f6a62 /tests/src/org/aspectj
parenta562d831df36dd0ec0cbf6ff0c6526ebc8977432 (diff)
downloadaspectj-fd3a8eca2517b4a7ab437c00e2c81a3cdefeeb3a.tar.gz
aspectj-fd3a8eca2517b4a7ab437c00e2c81a3cdefeeb3a.zip
tests for pr153572
Diffstat (limited to 'tests/src/org/aspectj')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java3
-rw-r--r--tests/src/org/aspectj/systemtest/ajc153/ajc153.xml14
2 files changed, 16 insertions, 1 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java b/tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java
index e2d6256f2..b211e5cf3 100644
--- a/tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java
+++ b/tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java
@@ -62,7 +62,8 @@ public class Ajc153Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
}
public void testMatchVolatileField_pr150671() {runTest("match volatile field");};
public void testDuplicateJVMTIAgents_pr151938() {runTest("Duplicate JVMTI agents");};
-
+ public void testLTWWorldWithAnnotationMatching_pr153572() { runTest("LTWWorld with annotation matching");}
+
/////////////////////////////////////////
public static Test suite() {
return XMLBasedAjcTestCase.loadSuite(Ajc153Tests.class);
diff --git a/tests/src/org/aspectj/systemtest/ajc153/ajc153.xml b/tests/src/org/aspectj/systemtest/ajc153/ajc153.xml
index 1951d4b3e..06cc9c371 100644
--- a/tests/src/org/aspectj/systemtest/ajc153/ajc153.xml
+++ b/tests/src/org/aspectj/systemtest/ajc153/ajc153.xml
@@ -291,4 +291,18 @@
<compile files="EMA.java" options="-1.5"/>
</ajc-test>
+ <ajc-test dir="bugs153/pr153572" title="LTWWorld with annotation matching">
+ <compile
+ files="Configurable.java, AnnotationMatcher.aj"
+ options="-1.5"
+ outjar="aspectlib.jar"
+ outxmlfile="META-INF/aop.xml"/>
+ <compile files="Configurable.java,Annotated.java,Main.java" options="-1.5" outjar="myapp.jar"/>
+ <run class="Main" ltw="">
+ <stdout>
+ <line text="annotated type initialized"/>
+ </stdout>
+ </run>
+ </ajc-test>
+
</suite> \ No newline at end of file