Преглед на файлове

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 години
родител
ревизия
30b591e179
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2
    1
      tests/java5/ataspectj/ataspectj/PerClauseTest.java

+ 2
- 1
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();

Loading…
Отказ
Запис