aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/org
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/org')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc173/Ajc173Tests.java8
-rw-r--r--tests/src/org/aspectj/systemtest/ajc173/ajc173.xml14
2 files changed, 22 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc173/Ajc173Tests.java b/tests/src/org/aspectj/systemtest/ajc173/Ajc173Tests.java
index 91f4b6760..de3437baf 100644
--- a/tests/src/org/aspectj/systemtest/ajc173/Ajc173Tests.java
+++ b/tests/src/org/aspectj/systemtest/ajc173/Ajc173Tests.java
@@ -28,6 +28,14 @@ public class Ajc173Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
// test that class literals allowed
runTest("class anno value 1");
}
+
+ public void testInnerNames_407494() throws Exception {
+ runTest("inner names");
+ }
+
+ public void testInnerNames_407494_2() throws Exception {
+ runTest("inner names 2");
+ }
// public void testClassAnnoValue_405016() throws Exception {
// runTest("class anno value");
diff --git a/tests/src/org/aspectj/systemtest/ajc173/ajc173.xml b/tests/src/org/aspectj/systemtest/ajc173/ajc173.xml
index 0589f1aca..bcbfa7b96 100644
--- a/tests/src/org/aspectj/systemtest/ajc173/ajc173.xml
+++ b/tests/src/org/aspectj/systemtest/ajc173/ajc173.xml
@@ -2,6 +2,20 @@
<suite>
+ <ajc-test dir="bugs173/pr407494" title="inner names">
+ <compile files="A.java" options="-1.5 -showWeaveInfo">
+ <message kind="weave" text="Join point 'staticinitialization(void a.b.c.A$B.&lt;clinit&gt;())' in Type 'a.b.c.A$B' (A.java:4) advised by before advice from 'a.b.c.X' (A.java:13)"/>
+ <message kind="weave" text="Join point 'staticinitialization(void a.b.c.A.&lt;clinit&gt;())' in Type 'a.b.c.A' (A.java:3) advised by before advice from 'a.b.c.X' (A.java:13)"/>
+ <message kind="weave" text="Join point 'staticinitialization(void a.b.c.A$$C.&lt;clinit&gt;())' in Type 'a.b.c.A$$C' (A.java:6) advised by before advice from 'a.b.c.X' (A.java:13)"/>
+ </compile>
+ </ajc-test>
+
+ <ajc-test dir="bugs173/pr407494" title="inner names 2">
+ <compile files="A2.java" options="-1.5 -showWeaveInfo">
+ <message kind="weave" text="Join point 'staticinitialization(void a.b.c.A$$B$$C.&lt;clinit&gt;())' in Type 'a.b.c.A$$B$$C' (A2.java:10) advised by before advice from 'a.b.c.X' (A2.java:14)"/>
+ </compile>
+ </ajc-test>
+
<ajc-test dir="bugs173/pr405016/one" title="class anno value 1">
<compile files="Gimme.java Thingy.java" options="-1.5 -showWeaveInfo">
<message kind="weave" text="Extending interface set for type 'Thingy' (Thingy.java) to include 'java.io.Serializable' (Thingy.java)"/>