From: wisberg Date: Fri, 9 May 2003 22:53:01 +0000 (+0000) Subject: test source upgrades for new and old tests X-Git-Tag: V1_1_0_RC2~16 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=da04b7f9644af27fc8d1e1920936b2916c7471d6;p=aspectj.git test source upgrades for new and old tests --- diff --git a/tests/incremental/interPackage/src/lib/Lib.java b/tests/incremental/interPackage/src/lib/Lib.java index ec9ffe351..8ac8a0172 100644 --- a/tests/incremental/interPackage/src/lib/Lib.java +++ b/tests/incremental/interPackage/src/lib/Lib.java @@ -2,6 +2,8 @@ package lib; public class Lib { + public static void main(String[] args) { + } public static void f(){} } diff --git a/tests/incremental/stringliteral/src/TraceMains.java b/tests/incremental/stringliteral/src/TraceMains.java index 3c9a49bab..a2e7f9a39 100644 --- a/tests/incremental/stringliteral/src/TraceMains.java +++ b/tests/incremental/stringliteral/src/TraceMains.java @@ -9,6 +9,8 @@ public aspect TraceMains { before() : execution(static void main(String[])) { Tester.event("before main " + className(thisJoinPointStaticPart)); } + // this event is submitted after the Tester does its check, + // so it is ignored. after() returning: execution(static void main(String[])) { Tester.event("after main " + className(thisJoinPointStaticPart)); }