]> source.dussan.org Git - aspectj.git/commitdiff
testcode for 153490: nested delegate problems.
authoraclement <aclement>
Tue, 12 Sep 2006 15:19:54 +0000 (15:19 +0000)
committeraclement <aclement>
Tue, 12 Sep 2006 15:19:54 +0000 (15:19 +0000)
tests/bugs153/pr153490/A.aj [new file with mode: 0644]
tests/bugs153/pr153490/A2.aj [new file with mode: 0644]
tests/bugs153/pr153490/Bar.java [new file with mode: 0644]
tests/bugs153/pr153490/C.java [new file with mode: 0644]
tests/bugs153/pr153490/Foo.java [new file with mode: 0644]
tests/bugs153/pr153490/Goo.java [new file with mode: 0644]
tests/bugs153/pr153490/jarForBar.jar [new file with mode: 0644]
tests/bugs153/pr153490/jarForFoo.jar [new file with mode: 0644]
tests/bugs153/pr153490/jarForGoo.jar [new file with mode: 0644]
tests/bugs153/pr153490/readme.txt [new file with mode: 0644]
tests/bugs153/pr153490/required.jar [new file with mode: 0644]

diff --git a/tests/bugs153/pr153490/A.aj b/tests/bugs153/pr153490/A.aj
new file mode 100644 (file)
index 0000000..c9d4c0b
--- /dev/null
@@ -0,0 +1,4 @@
+public aspect A {
+       public enum TestType {Pre};
+}
+
diff --git a/tests/bugs153/pr153490/A2.aj b/tests/bugs153/pr153490/A2.aj
new file mode 100644 (file)
index 0000000..7e7f6be
--- /dev/null
@@ -0,0 +1,7 @@
+public aspect A2 {
+
+       public static class C {
+               public enum TestType {Pre};             
+       }
+       
+}
diff --git a/tests/bugs153/pr153490/Bar.java b/tests/bugs153/pr153490/Bar.java
new file mode 100644 (file)
index 0000000..102323e
--- /dev/null
@@ -0,0 +1,7 @@
+public class Bar {
+
+       public static void main(String[] args) {
+               A2.C.TestType pre = A2.C.TestType.Pre;
+    }
+
+}
diff --git a/tests/bugs153/pr153490/C.java b/tests/bugs153/pr153490/C.java
new file mode 100644 (file)
index 0000000..86cf779
--- /dev/null
@@ -0,0 +1,7 @@
+public class C {
+
+       static aspect A {
+               public enum TestType {Pre};
+       }
+
+}
diff --git a/tests/bugs153/pr153490/Foo.java b/tests/bugs153/pr153490/Foo.java
new file mode 100644 (file)
index 0000000..d6643e1
--- /dev/null
@@ -0,0 +1,7 @@
+public class Foo {
+
+       public static void main(String[] args) {
+               A.TestType pre = A.TestType.Pre;
+    }
+
+}
diff --git a/tests/bugs153/pr153490/Goo.java b/tests/bugs153/pr153490/Goo.java
new file mode 100644 (file)
index 0000000..f683679
--- /dev/null
@@ -0,0 +1,6 @@
+public class Goo {
+
+       public static void main(String[] args) {
+               C.A.TestType pre = C.A.TestType.Pre;
+       }
+}
diff --git a/tests/bugs153/pr153490/jarForBar.jar b/tests/bugs153/pr153490/jarForBar.jar
new file mode 100644 (file)
index 0000000..026dd15
Binary files /dev/null and b/tests/bugs153/pr153490/jarForBar.jar differ
diff --git a/tests/bugs153/pr153490/jarForFoo.jar b/tests/bugs153/pr153490/jarForFoo.jar
new file mode 100644 (file)
index 0000000..fb3b134
Binary files /dev/null and b/tests/bugs153/pr153490/jarForFoo.jar differ
diff --git a/tests/bugs153/pr153490/jarForGoo.jar b/tests/bugs153/pr153490/jarForGoo.jar
new file mode 100644 (file)
index 0000000..d261c1a
Binary files /dev/null and b/tests/bugs153/pr153490/jarForGoo.jar differ
diff --git a/tests/bugs153/pr153490/readme.txt b/tests/bugs153/pr153490/readme.txt
new file mode 100644 (file)
index 0000000..0879973
--- /dev/null
@@ -0,0 +1,5 @@
+to regenerate jarForFoo.jar: ajc A.aj -outjar required.jar -1.5 -noExit
+
+to regenerate jarForBar.jar: ajc A2.aj -outjar jarForBar.jar -1.5 -noExit
+
+to regenerate jarForGoo.jar: ajc C.java -outjar jarForGoo.jar -1.5 -noExit
diff --git a/tests/bugs153/pr153490/required.jar b/tests/bugs153/pr153490/required.jar
new file mode 100644 (file)
index 0000000..def76fe
Binary files /dev/null and b/tests/bugs153/pr153490/required.jar differ