aboutsummaryrefslogtreecommitdiffstats
path: root/tests/new
diff options
context:
space:
mode:
authoracolyer <acolyer>2004-08-04 12:04:41 +0000
committeracolyer <acolyer>2004-08-04 12:04:41 +0000
commit0f211e17cac9b031ab8d9115f9030b3e65d3927a (patch)
treecabe16f0e367daaa4b28685e09f5b0bcd55bb43d /tests/new
parent9a051d348a240095e56ead5485c2dba8cf6ad4a7 (diff)
downloadaspectj-0f211e17cac9b031ab8d9115f9030b3e65d3927a.tar.gz
aspectj-0f211e17cac9b031ab8d9115f9030b3e65d3927a.zip
Spring cleaning in the test suite. Docs for AjcTestCase and XMLBasedAjcTestCase
added in docs dir.
Diffstat (limited to 'tests/new')
-rw-r--r--tests/new/SuperStaticCallJoinPoint.java25
1 files changed, 0 insertions, 25 deletions
diff --git a/tests/new/SuperStaticCallJoinPoint.java b/tests/new/SuperStaticCallJoinPoint.java
deleted file mode 100644
index 5d75b8955..000000000
--- a/tests/new/SuperStaticCallJoinPoint.java
+++ /dev/null
@@ -1,25 +0,0 @@
-import org.aspectj.testing.Tester;
-
-class Sup {
- static void m() {}
-}
-
-public class SuperStaticCallJoinPoint extends Sup {
- static boolean ran = false;
- public static void main(String[] args) {
- new SuperStaticCallJoinPoint().foo();
- Tester.check(ran, "didn't run advice");
- }
- void foo() {
- super.m();
- }
- static void m() {
- throw new RuntimeException();
- }
-}
-
-aspect A {
- before(): this(SuperStaticCallJoinPoint) && call(void Sup.m()) {
- SuperStaticCallJoinPoint.ran = true;
- }
-}