Browse Source

Stupid bloody tests that don't tell you why they failed, I HATE THEM - fixed this one in one place.

tags/V1_6_1rc1
aclement 16 years ago
parent
commit
30b591e179
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      tests/java5/ataspectj/ataspectj/PerClauseTest.java

+ 2
- 1
tests/java5/ataspectj/ataspectj/PerClauseTest.java View File

@@ -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();

Loading…
Cancel
Save