diff options
author | jhugunin <jhugunin> | 2002-12-18 06:17:05 +0000 |
---|---|---|
committer | jhugunin <jhugunin> | 2002-12-18 06:17:05 +0000 |
commit | fdda168314476e94315ee2b844c2ff55ea944ddc (patch) | |
tree | cd2e923cc94f375fca7bf536aac06f63a7094426 /tests | |
parent | e1c9313a55965194e2f987d5fa5777747e068695 (diff) | |
download | aspectj-fdda168314476e94315ee2b844c2ff55ea944ddc.tar.gz aspectj-fdda168314476e94315ee2b844c2ff55ea944ddc.zip |
added coverage for this(InaccessibleTypeToOthers)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/new/access/psub/A.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/new/access/psub/A.java b/tests/new/access/psub/A.java index 0b4a1a572..5cbc1a05b 100644 --- a/tests/new/access/psub/A.java +++ b/tests/new/access/psub/A.java @@ -4,10 +4,12 @@ import org.aspectj.testing.Tester; import pc.C; aspect A { + private static interface Marker {} + before(): call(String SubC.getMyPackage()) { //XXXTester.checkFailed("shouldn't ever run this " + thisJoinPoint); } - before(): call(String C.getMyPackage()) { + before(): !target(Marker) && !this(Marker) && !args(Marker, ..) && call(String C.getMyPackage()) { Tester.note("C.getMyPackage on " + thisJoinPoint.getTarget().getClass().getName()); } } |