From: aclement Date: Mon, 23 Mar 2009 16:27:03 +0000 (+0000) Subject: 265693: model for binary elements X-Git-Tag: V1_6_4~45 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=eba0bb196cc37181c39598216df43c2032b2f746;p=aspectj.git 265693: model for binary elements --- diff --git a/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java b/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java index f40879d4e..184306f8a 100644 --- a/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java +++ b/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java @@ -995,6 +995,24 @@ public class MultiProjectIncrementalTests extends AbstractMultiProjectIncrementa assertEquals("=AspectPathTwo/binaries<(Asp2.class}Asp2&before", findElementAtLine(root, 16).getHandleIdentifier()); } + public void testAspectPath_pr265693() throws IOException { + String bug = "AspectPath3"; + String bug2 = "AspectPath4"; + addSourceFolderForSourceFile(bug2, getProjectRelativePath(bug2, "src/C.java"), "src"); + initialiseProject(bug); + initialiseProject(bug2); + configureAspectPath(bug2, getProjectRelativePath(bug, "bin")); + build(bug); + build(bug2); + dumptree(getModelFor(bug2).getHierarchy().getRoot(), 0); + PrintWriter pw = new PrintWriter(System.out); + getModelFor(bug2).dumprels(pw); + pw.flush(); + IProgramElement root = getModelFor(bug2).getHierarchy().getRoot(); + assertEquals("=AspectPath4/binaries