From ab75342042aa9a5e0ed0c512bf50d68f9bfb2d19 Mon Sep 17 00:00:00 2001 From: aclement Date: Fri, 23 Jan 2009 20:38:58 +0000 Subject: 262218: test and fix --- .../tools/MultiProjectIncrementalTests.java | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'tests/src') diff --git a/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java b/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java index 8e8eb585f..90a81d457 100644 --- a/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java +++ b/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java @@ -70,18 +70,19 @@ public class MultiProjectIncrementalTests extends AbstractMultiProjectIncrementa } assertEquals("Should have found the two types in: " + ps, 2, count); } - + public void testConstructorAdvice_pr261380() throws Exception { String p = "261380"; initialiseProject(p); build(p); IRelationshipMap irm = getModelFor(p).getRelationshipMap(); - IRelationship ir = (IRelationship)irm.get("=261380())",handle); + assertEquals("Expected the handle for the code node inside the constructor decl", + "=261380())", handle); } /* @@ -244,6 +245,19 @@ public class MultiProjectIncrementalTests extends AbstractMultiProjectIncrementa assertEquals("=BrokenHandles