diff options
author | aclement <aclement> | 2008-06-04 00:33:09 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-06-04 00:33:09 +0000 |
commit | 30b591e1793994bbbe5e3978d29fc317dd432da1 (patch) | |
tree | d16a67a401e10044ec3d948535e2a91ad59398fb /tests/java5 | |
parent | f8060aaf9bd31a0f6865a4df31039b3482cd7373 (diff) | |
download | aspectj-30b591e1793994bbbe5e3978d29fc317dd432da1.tar.gz aspectj-30b591e1793994bbbe5e3978d29fc317dd432da1.zip |
Stupid bloody tests that don't tell you why they failed, I HATE THEM - fixed this one in one place.
Diffstat (limited to 'tests/java5')
-rw-r--r-- | tests/java5/ataspectj/ataspectj/PerClauseTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/java5/ataspectj/ataspectj/PerClauseTest.java b/tests/java5/ataspectj/ataspectj/PerClauseTest.java index 34d9fb5c9..a7f981997 100644 --- a/tests/java5/ataspectj/ataspectj/PerClauseTest.java +++ b/tests/java5/ataspectj/ataspectj/PerClauseTest.java @@ -180,7 +180,8 @@ public class PerClauseTest extends TestCase { public void testPerTypeWithin() { assertTrue(Aspects.hasAspect(PerClauseTestAspects.TestAspectPTW.class, PTW1.class)); assertTrue(Aspects.hasAspect(PerClauseTestAspects.TestAspectPTW.class, PTW2.class)); - assertFalse(Aspects.hasAspect(PerClauseTestAspects.TestAspectPTW.class, PTWNoMatch.class)); + assertFalse("Should not have found an aspect instance of 'PerClauseTestAspects.TestAspectPTW' attached to type 'PTWNoMatch'", + Aspects.hasAspect(PerClauseTestAspects.TestAspectPTW.class, PTWNoMatch.class)); PTW1.foo(); PTW2.foo(); |