aboutsummaryrefslogtreecommitdiffstats
path: root/tests/incremental
diff options
context:
space:
mode:
authorwisberg <wisberg>2003-05-09 22:53:01 +0000
committerwisberg <wisberg>2003-05-09 22:53:01 +0000
commitda04b7f9644af27fc8d1e1920936b2916c7471d6 (patch)
treec5b186ad08412964dad5dfe3f94d087d029558b2 /tests/incremental
parent87976a4e61c4cc4e9801e292566e96e2e5930757 (diff)
downloadaspectj-da04b7f9644af27fc8d1e1920936b2916c7471d6.tar.gz
aspectj-da04b7f9644af27fc8d1e1920936b2916c7471d6.zip
test source upgrades for new and old tests
Diffstat (limited to 'tests/incremental')
-rw-r--r--tests/incremental/interPackage/src/lib/Lib.java2
-rw-r--r--tests/incremental/stringliteral/src/TraceMains.java2
2 files changed, 4 insertions, 0 deletions
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));
}