From da04b7f9644af27fc8d1e1920936b2916c7471d6 Mon Sep 17 00:00:00 2001 From: wisberg Date: Fri, 9 May 2003 22:53:01 +0000 Subject: [PATCH] test source upgrades for new and old tests --- tests/incremental/interPackage/src/lib/Lib.java | 2 ++ tests/incremental/stringliteral/src/TraceMains.java | 2 ++ 2 files changed, 4 insertions(+) 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)); } -- 2.39.5