]> source.dussan.org Git - aspectj.git/commitdiff
344326: testcode
authoraclement <aclement>
Mon, 2 May 2011 15:20:14 +0000 (15:20 +0000)
committeraclement <aclement>
Mon, 2 May 2011 15:20:14 +0000 (15:20 +0000)
tests/multiIncremental/pr344326/base/src/foo/ClassReferencingTestClass.java [new file with mode: 0644]
tests/multiIncremental/pr344326/base/src/foo/TestClass.java [new file with mode: 0644]
tests/multiIncremental/pr344326/base/src/foo/TestClassWithInner.java [new file with mode: 0644]
tests/multiIncremental/pr344326/inc1/src/foo/TestClass.java [new file with mode: 0644]

diff --git a/tests/multiIncremental/pr344326/base/src/foo/ClassReferencingTestClass.java b/tests/multiIncremental/pr344326/base/src/foo/ClassReferencingTestClass.java
new file mode 100644 (file)
index 0000000..977795d
--- /dev/null
@@ -0,0 +1,9 @@
+package foo;
+
+public class ClassReferencingTestClass {
+
+    public void test() {
+        new TestClass().callInner();
+    }
+}
+
diff --git a/tests/multiIncremental/pr344326/base/src/foo/TestClass.java b/tests/multiIncremental/pr344326/base/src/foo/TestClass.java
new file mode 100644 (file)
index 0000000..2ad6231
--- /dev/null
@@ -0,0 +1,8 @@
+package foo;
+
+public class TestClass { 
+
+    public boolean callInner() {
+        return new TestClassWithInner.InnerTest().getTest();
+    }
+}
diff --git a/tests/multiIncremental/pr344326/base/src/foo/TestClassWithInner.java b/tests/multiIncremental/pr344326/base/src/foo/TestClassWithInner.java
new file mode 100644 (file)
index 0000000..e13fdf6
--- /dev/null
@@ -0,0 +1,10 @@
+package foo;
+
+public class TestClassWithInner {
+
+    public static class InnerTest{
+        public boolean getTest() {
+            return true; 
+        }
+    }
+}
diff --git a/tests/multiIncremental/pr344326/inc1/src/foo/TestClass.java b/tests/multiIncremental/pr344326/inc1/src/foo/TestClass.java
new file mode 100644 (file)
index 0000000..2ad6231
--- /dev/null
@@ -0,0 +1,8 @@
+package foo;
+
+public class TestClass { 
+
+    public boolean callInner() {
+        return new TestClassWithInner.InnerTest().getTest();
+    }
+}