Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
30b591e179
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2
    1
      tests/java5/ataspectj/ataspectj/PerClauseTest.java

+ 2
- 1
tests/java5/ataspectj/ataspectj/PerClauseTest.java Näytä tiedosto

@@ -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…
Peruuta
Tallenna