mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-26 17:58:43 +02:00
18 lines
367 B
Java
18 lines
367 B
Java
|
|
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");
|
|
}
|
|
} |