From 30b591e1793994bbbe5e3978d29fc317dd432da1 Mon Sep 17 00:00:00 2001 From: aclement Date: Wed, 4 Jun 2008 00:33:09 +0000 Subject: [PATCH] Stupid bloody tests that don't tell you why they failed, I HATE THEM - fixed this one in one place. --- tests/java5/ataspectj/ataspectj/PerClauseTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); -- 2.39.5