aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core/testdata
diff options
context:
space:
mode:
authorwisberg <wisberg>2003-08-06 19:55:52 +0000
committerwisberg <wisberg>2003-08-06 19:55:52 +0000
commit3b729301c726c44f028906ec53e518e2d3081e83 (patch)
treefd3859a7cc852ff0adba3542e857c8d3400eced5 /org.aspectj.ajdt.core/testdata
parent2bd294be1d305407b96b6aca04136a3207bcf0af (diff)
downloadaspectj-3b729301c726c44f028906ec53e518e2d3081e83.tar.gz
aspectj-3b729301c726c44f028906ec53e518e2d3081e83.zip
added test to ensure handler from initial runCommand() is not used in repeatCommand().
The test fails so there is a bug, but in the current system we seem to use the same handler, so the bug is harmless. (It does affect other things I'm doing.) The test is disabled by default and can be enabled with a system property.
Diffstat (limited to 'org.aspectj.ajdt.core/testdata')
-rw-r--r--org.aspectj.ajdt.core/testdata/ajdtCommand/Main-1.java5
-rw-r--r--org.aspectj.ajdt.core/testdata/ajdtCommand/Main-2.java7
-rw-r--r--org.aspectj.ajdt.core/testdata/ajdtCommand/readme.txt1
3 files changed, 13 insertions, 0 deletions
diff --git a/org.aspectj.ajdt.core/testdata/ajdtCommand/Main-1.java b/org.aspectj.ajdt.core/testdata/ajdtCommand/Main-1.java
new file mode 100644
index 000000000..6713acad6
--- /dev/null
+++ b/org.aspectj.ajdt.core/testdata/ajdtCommand/Main-1.java
@@ -0,0 +1,5 @@
+
+public class Main {
+ public static void main(String[] args) {
+ }
+} \ No newline at end of file
diff --git a/org.aspectj.ajdt.core/testdata/ajdtCommand/Main-2.java b/org.aspectj.ajdt.core/testdata/ajdtCommand/Main-2.java
new file mode 100644
index 000000000..9eedbe4fb
--- /dev/null
+++ b/org.aspectj.ajdt.core/testdata/ajdtCommand/Main-2.java
@@ -0,0 +1,7 @@
+
+
+public class Main {
+ public static void main(String[] args) {
+ err // CE 5
+ }
+} \ No newline at end of file
diff --git a/org.aspectj.ajdt.core/testdata/ajdtCommand/readme.txt b/org.aspectj.ajdt.core/testdata/ajdtCommand/readme.txt
new file mode 100644
index 000000000..fde56d89a
--- /dev/null
+++ b/org.aspectj.ajdt.core/testdata/ajdtCommand/readme.txt
@@ -0,0 +1 @@
+see org.aspectj.ajdt.ajc.AjdtCommandTestCase.testIncrementalHandler()