diff options
author | wisberg <wisberg> | 2003-08-06 19:55:52 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2003-08-06 19:55:52 +0000 |
commit | 3b729301c726c44f028906ec53e518e2d3081e83 (patch) | |
tree | fd3859a7cc852ff0adba3542e857c8d3400eced5 /org.aspectj.ajdt.core/testdata | |
parent | 2bd294be1d305407b96b6aca04136a3207bcf0af (diff) | |
download | aspectj-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.java | 5 | ||||
-rw-r--r-- | org.aspectj.ajdt.core/testdata/ajdtCommand/Main-2.java | 7 | ||||
-rw-r--r-- | org.aspectj.ajdt.core/testdata/ajdtCommand/readme.txt | 1 |
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() |