summaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authoraclement <aclement>2011-09-07 18:35:05 +0000
committeraclement <aclement>2011-09-07 18:35:05 +0000
commite5ed164a438cc11f4ec55a68f28f62fc14ade0ac (patch)
tree6c60415778f25e413760536bdfd9caafc4229472 /tests/src
parent49a7b98059209f2454dde2b32875f8809d9f4fd4 (diff)
downloadaspectj-e5ed164a438cc11f4ec55a68f28f62fc14ade0ac.tar.gz
aspectj-e5ed164a438cc11f4ec55a68f28f62fc14ade0ac.zip
pointcuts and annotations - testcode
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc1612/Ajc1612Tests.java8
-rw-r--r--tests/src/org/aspectj/systemtest/ajc1612/ajc1612.xml13
2 files changed, 20 insertions, 1 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc1612/Ajc1612Tests.java b/tests/src/org/aspectj/systemtest/ajc1612/Ajc1612Tests.java
index 4667d617a..a6182f18e 100644
--- a/tests/src/org/aspectj/systemtest/ajc1612/Ajc1612Tests.java
+++ b/tests/src/org/aspectj/systemtest/ajc1612/Ajc1612Tests.java
@@ -35,6 +35,14 @@ public class Ajc1612Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
// runTest("itd split compilation");
// }
+ public void testClassRef() throws Exception {
+ runTest("class reference in annotation value");
+ }
+
+ public void testClassRef2() throws Exception {
+ runTest("class reference in annotation value 2");
+ }
+
public void testAnnotationFieldBindingOptimization_356612() throws Exception {
runTest("annotation field binding optimization");
}
diff --git a/tests/src/org/aspectj/systemtest/ajc1612/ajc1612.xml b/tests/src/org/aspectj/systemtest/ajc1612/ajc1612.xml
index 07b5a9993..60ba01244 100644
--- a/tests/src/org/aspectj/systemtest/ajc1612/ajc1612.xml
+++ b/tests/src/org/aspectj/systemtest/ajc1612/ajc1612.xml
@@ -2,13 +2,24 @@
<suite>
+<ajc-test dir="bugs1612/prx" title="class reference in annotation value">
+<compile files="C.java" options="-1.5"/>
+<run class="C">
+</run>
+</ajc-test>
+
+<ajc-test dir="bugs1612/prx" title="class reference in annotation value 2">
+<compile files="D.java" options="-1.5"/>
+<run class="D">
+</run>
+</ajc-test>
+
<ajc-test dir="bugs1612/pr356612" title="annotation field binding optimization">
<compile files="AnnoBinding.java" options="-1.5"/>
<run class="AnnoBinding">
</run>
</ajc-test>
-
<ajc-test dir="bugs1612/pr356612" title="annotation field binding optimization - 2">
<compile files="AnnoBinding2.java" options="-1.5"/>
<run class="AnnoBinding2">