From: aclement Date: Wed, 22 Feb 2006 15:00:40 +0000 (+0000) Subject: one extra guard. X-Git-Tag: POST_MEMORY_CHANGES~48 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fa70cf3ef1caaf4711be2337447004dd5b70dbc7;p=aspectj.git one extra guard. --- diff --git a/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java b/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java index 5427987c5..202b8beee 100644 --- a/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java +++ b/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java @@ -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");