]> source.dussan.org Git - aspectj.git/commitdiff
one extra guard.
authoraclement <aclement>
Wed, 22 Feb 2006 15:00:40 +0000 (15:00 +0000)
committeraclement <aclement>
Wed, 22 Feb 2006 15:00:40 +0000 (15:00 +0000)
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java

index 5427987c5244e6979766151736f0b273c5889360..202b8beee767e17809b7fcdc55e34b70f09a0321 100644 (file)
@@ -322,6 +322,8 @@ public class MultiProjectIncrementalTests extends AjdeInteractionTestbed {
                                MyTaskListManager.getWarningMessages().isEmpty());
                build("PR128618_1");
                build("PR128618_2");
+               List warnings = MyTaskListManager.getWarningMessages();
+               assertTrue("Should be one warning, but there are #"+warnings.size(),warnings.size()==1);
                IMessage msg = (IMessage)(MyTaskListManager.getWarningMessages().get(0));
                assertEquals("warning should be against the FFDC.aj resource","FFDC.aj",msg.getSourceLocation().getSourceFile().getName());
                alter("PR128618_2","inc1");