From fa70cf3ef1caaf4711be2337447004dd5b70dbc7 Mon Sep 17 00:00:00 2001 From: aclement Date: Wed, 22 Feb 2006 15:00:40 +0000 Subject: [PATCH] one extra guard. --- .../incremental/tools/MultiProjectIncrementalTests.java | 2 ++ 1 file changed, 2 insertions(+) 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"); -- 2.39.5