summaryrefslogtreecommitdiffstats
path: root/tests/new/test/Test.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/new/test/Test.java')
-rw-r--r--tests/new/test/Test.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/new/test/Test.java b/tests/new/test/Test.java
new file mode 100644
index 000000000..efe358e26
--- /dev/null
+++ b/tests/new/test/Test.java
@@ -0,0 +1,16 @@
+package test;
+
+import org.aspectj.testing.*;
+
+public class Test {
+ public static void main(String[] args) {
+ new Test().run();
+ Tester.checkAllEvents();
+ }
+ public void run() {
+ Tester.event("run");
+ }
+ static {
+ Tester.expectEventsInString("before,after,run");
+ }
+}