diff options
author | aclement <aclement> | 2010-08-18 17:29:04 +0000 |
---|---|---|
committer | aclement <aclement> | 2010-08-18 17:29:04 +0000 |
commit | 6b35ea418d5523a05eb591eec4cb30742b6649b6 (patch) | |
tree | 4a042f42ae9747ff516fac03151dfcccfdfd8c59 /tests | |
parent | c1ba48332b7fd500574910e9633a883295cc3402 (diff) | |
download | aspectj-6b35ea418d5523a05eb591eec4cb30742b6649b6.tar.gz aspectj-6b35ea418d5523a05eb591eec4cb30742b6649b6.zip |
322039: testcode
Diffstat (limited to 'tests')
3 files changed, 21 insertions, 1 deletions
diff --git a/tests/multiIncremental/pr322039/base/src/p/Azpect.java b/tests/multiIncremental/pr322039/base/src/p/Azpect.java new file mode 100644 index 000000000..6316c8a3b --- /dev/null +++ b/tests/multiIncremental/pr322039/base/src/p/Azpect.java @@ -0,0 +1,6 @@ +package p; + +public aspect Azpect { + public int q2.Code.i; + public void q2.Code.something2() {} +} diff --git a/tests/multiIncremental/pr322039/base/src/q2/Code.java b/tests/multiIncremental/pr322039/base/src/q2/Code.java new file mode 100644 index 000000000..93b9db9b6 --- /dev/null +++ b/tests/multiIncremental/pr322039/base/src/q2/Code.java @@ -0,0 +1,4 @@ +package q2; + +public class Code { +} diff --git a/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java b/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java index 874d05b8b..400137519 100644 --- a/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java +++ b/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java @@ -501,13 +501,23 @@ public class MultiProjectIncrementalTests extends AbstractMultiProjectIncrementa // Hid:6:(targets=1) =pr280380<g*AnAspect.aj}AnAspect)AClass.xxxx (declared on) =pr280380<f{AClass.java[AClass } + public void testFQItds_322039() throws Exception { + String p ="pr322039"; + initialiseProject(p); + build(p); + printModel(p); + IRelationshipMap irm = getModelFor(p).getRelationshipMap(); + List<IRelationship> rels = irm.get("=pr322039<p{Azpect.java'Azpect)q2.Code.something2"); + assertNotNull(rels); + } + public void testIncrementalCtorItdHandle_280383() throws Exception { String p = "pr280383"; initialiseProject(p); build(p); printModel(p); IRelationshipMap irm = getModelFor(p).getRelationshipMap(); - List rels = irm.get("=pr280383<f{AnAspect.java'AnAspect)f.AClass.f_AClass_new"); + List<IRelationship> rels = irm.get("=pr280383<f{AnAspect.java'AnAspect)f.AClass.f_AClass_new"); assertNotNull(rels); } |