diff options
Diffstat (limited to 'tests/harness/sourceroot/packageOne/Main.java')
-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 |