aboutsummaryrefslogtreecommitdiffstats
path: root/tests/incremental
diff options
context:
space:
mode:
authorwisberg <wisberg>2003-05-09 07:22:06 +0000
committerwisberg <wisberg>2003-05-09 07:22:06 +0000
commitf871509ff1ef33d9fc660a2ebd9b81ae4313b07f (patch)
tree943db0002bf30222c4695a5aa082bf7f44b28e97 /tests/incremental
parentfe4bbdbe5de01c99364edb7e2354e8925198d099 (diff)
downloadaspectj-f871509ff1ef33d9fc660a2ebd9b81ae4313b07f.tar.gz
aspectj-f871509ff1ef33d9fc660a2ebd9b81ae4313b07f.zip
two new incremental tests, each of which fails if run first but not otherwise (assuming the output directory is not added to the classpath).
Diffstat (limited to 'tests/incremental')
-rw-r--r--tests/incremental/defaultPackage/src/Main.20.java7
-rw-r--r--tests/incremental/defaultPackage/src/Main.java7
-rw-r--r--tests/incremental/defaultPackage/src/lib/Lib.java7
-rw-r--r--tests/incremental/interPackage/src/app/Main.20.java8
-rw-r--r--tests/incremental/interPackage/src/app/Main.java8
-rw-r--r--tests/incremental/interPackage/src/lib/Lib.java7
6 files changed, 44 insertions, 0 deletions
diff --git a/tests/incremental/defaultPackage/src/Main.20.java b/tests/incremental/defaultPackage/src/Main.20.java
new file mode 100644
index 000000000..ad7e80c40
--- /dev/null
+++ b/tests/incremental/defaultPackage/src/Main.20.java
@@ -0,0 +1,7 @@
+
+
+public class Main {
+ public static void main(String[] args) {
+ lib.Lib.f(); // bug: unable to resolve lib.Lib after change
+ }
+}
diff --git a/tests/incremental/defaultPackage/src/Main.java b/tests/incremental/defaultPackage/src/Main.java
new file mode 100644
index 000000000..2d48a5793
--- /dev/null
+++ b/tests/incremental/defaultPackage/src/Main.java
@@ -0,0 +1,7 @@
+
+
+public class Main {
+ public static void main(String[] args) {
+ lib.Lib.f();
+ }
+}
diff --git a/tests/incremental/defaultPackage/src/lib/Lib.java b/tests/incremental/defaultPackage/src/lib/Lib.java
new file mode 100644
index 000000000..ec9ffe351
--- /dev/null
+++ b/tests/incremental/defaultPackage/src/lib/Lib.java
@@ -0,0 +1,7 @@
+
+package lib;
+
+public class Lib {
+ public static void f(){}
+}
+
diff --git a/tests/incremental/interPackage/src/app/Main.20.java b/tests/incremental/interPackage/src/app/Main.20.java
new file mode 100644
index 000000000..085cf6f90
--- /dev/null
+++ b/tests/incremental/interPackage/src/app/Main.20.java
@@ -0,0 +1,8 @@
+
+package app;
+
+public class Main {
+ public static void main(String[] args) {
+ lib.Lib.f(); // bug: unable to resolve lib.Lib after change
+ }
+}
diff --git a/tests/incremental/interPackage/src/app/Main.java b/tests/incremental/interPackage/src/app/Main.java
new file mode 100644
index 000000000..c114a1c7e
--- /dev/null
+++ b/tests/incremental/interPackage/src/app/Main.java
@@ -0,0 +1,8 @@
+
+package app;
+
+public class Main {
+ public static void main(String[] args) {
+ lib.Lib.f();
+ }
+}
diff --git a/tests/incremental/interPackage/src/lib/Lib.java b/tests/incremental/interPackage/src/lib/Lib.java
new file mode 100644
index 000000000..ec9ffe351
--- /dev/null
+++ b/tests/incremental/interPackage/src/lib/Lib.java
@@ -0,0 +1,7 @@
+
+package lib;
+
+public class Lib {
+ public static void f(){}
+}
+