diff options
author | wisberg <wisberg> | 2003-03-10 22:47:43 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2003-03-10 22:47:43 +0000 |
commit | 7139ac48be452e260c39f5c75ed845b661725cc9 (patch) | |
tree | 496814f996462c399c8971d7bea95b899134e998 /tests/harness/sourceroot/packageOne | |
parent | c70fde750ae5cf0dc0b27ae30f68bb1f30a70e00 (diff) | |
download | aspectj-7139ac48be452e260c39f5c75ed845b661725cc9.tar.gz aspectj-7139ac48be452e260c39f5c75ed845b661725cc9.zip |
harness tests upgraded to avoid tests that rely on multiple error messages
and to add coverage for sourceroot tests
Diffstat (limited to 'tests/harness/sourceroot/packageOne')
-rw-r--r-- | tests/harness/sourceroot/packageOne/Main.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/harness/sourceroot/packageOne/Main.java b/tests/harness/sourceroot/packageOne/Main.java new file mode 100644 index 000000000..c5204df12 --- /dev/null +++ b/tests/harness/sourceroot/packageOne/Main.java @@ -0,0 +1,18 @@ + +package packageOne; + +import org.aspectj.testing.Tester; + +public class Main { + public static void main(String[] args) { + Tester.expectEvent("go"); + for (int i = 0; i < args.length; i++) { + Tester.expectEvent(args[i]); + } + go(); + Tester.checkAllEvents(); + } + static void go() { + Tester.event("go"); + } +}
\ No newline at end of file |