You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Main.java 367B

123456789101112131415161718
  1. package packageOne;
  2. import org.aspectj.testing.Tester;
  3. public class Main {
  4. public static void main(String[] args) {
  5. Tester.expectEvent("go");
  6. for (int i = 0; i < args.length; i++) {
  7. Tester.expectEvent(args[i]);
  8. }
  9. go();
  10. Tester.checkAllEvents();
  11. }
  12. static void go() {
  13. Tester.event("go");
  14. }
  15. }