aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoraclement <aclement>2010-01-25 20:46:11 +0000
committeraclement <aclement>2010-01-25 20:46:11 +0000
commit9c07816d4839596800d3e2bcd709a6df2f0c5ba3 (patch)
tree3cdba870d8273404bc31b2bf8b52d04acad7ecae /tests
parentdf01d2d711ab2988acf89f0ed0366864974c063d (diff)
downloadaspectj-9c07816d4839596800d3e2bcd709a6df2f0c5ba3.tar.gz
aspectj-9c07816d4839596800d3e2bcd709a6df2f0c5ba3.zip
298704
Diffstat (limited to 'tests')
-rw-r--r--tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java47
1 files changed, 47 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java b/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
index f55bc3256..b0b82e6f5 100644
--- a/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
+++ b/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
@@ -472,6 +472,53 @@ public class MultiProjectIncrementalTests extends AbstractMultiProjectIncrementa
assertEquals(0, warnings.size());
}
+ public void testExtendingITDAspectOnClasspath_PR298704() throws Exception {
+ String base = "pr298704_baseaspects";
+ String test = "pr298704_testaspects";
+ initialiseProject(base);
+ initialiseProject(test);
+ configureNewProjectDependency(test, base);
+
+ build(base);
+ build(test);
+ checkWasFullBuild();
+ assertNoErrors(test);
+
+ IRelationshipMap irm = getModelFor(test).getRelationshipMap();
+ assertEquals(6, irm.getEntries().size());
+ // Hid:1:(targets=1)
+ // =pr298704_testaspects/binaries<it.uniba.di.cdg.penelope.ui.mvp(AbstractViewEnhancerAspect.class}AbstractViewEnhancerAspect)IManagedView.presenters
+ // (declared on) =pr298704_testaspects<test{ViewEnhancerIntegrationTest.java[ViewEnhancerIntegrationTest[MockView
+ // Hid:2:(targets=5) =pr298704_testaspects<test{ViewEnhancerIntegrationTest.java[ViewEnhancerIntegrationTest[MockView
+ // (aspect declarations)
+ // =pr298704_testaspects<test{ViewEnhancerIntegrationTest.java[ViewEnhancerIntegrationTest}ViewEnhancerAspect
+ // Hid:3:(targets=5) =pr298704_testaspects<test{ViewEnhancerIntegrationTest.java[ViewEnhancerIntegrationTest[MockView
+ // (aspect declarations)
+ // =pr298704_testaspects/binaries<it.uniba.di.cdg.penelope.ui.mvp(AbstractViewEnhancerAspect.class}AbstractViewEnhancerAspect)IManagedView.presenters
+ // Hid:4:(targets=5) =pr298704_testaspects<test{ViewEnhancerIntegrationTest.java[ViewEnhancerIntegrationTest[MockView
+ // (aspect declarations)
+ // =pr298704_testaspects/binaries<it.uniba.di.cdg.penelope.ui.mvp(AbstractViewEnhancerAspect.class}AbstractViewEnhancerAspect)IManagedView.fire)QObject;
+ // Hid:5:(targets=5) =pr298704_testaspects<test{ViewEnhancerIntegrationTest.java[ViewEnhancerIntegrationTest[MockView
+ // (aspect declarations)
+ // =pr298704_testaspects/binaries<it.uniba.di.cdg.penelope.ui.mvp(AbstractViewEnhancerAspect.class}AbstractViewEnhancerAspect)IManagedView.registerPresenter)QIPresenter;
+ // Hid:6:(targets=5) =pr298704_testaspects<test{ViewEnhancerIntegrationTest.java[ViewEnhancerIntegrationTest[MockView
+ // (aspect declarations)
+ // =pr298704_testaspects/binaries<it.uniba.di.cdg.penelope.ui.mvp(AbstractViewEnhancerAspect.class}AbstractViewEnhancerAspect)IManagedView.unregisterPresenter)QIPresenter;
+ // Hid:7:(targets=1)
+ // =pr298704_testaspects/binaries<it.uniba.di.cdg.penelope.ui.mvp(AbstractViewEnhancerAspect.class}AbstractViewEnhancerAspect)IManagedView.registerPresenter)QIPresenter;
+ // (declared on) =pr298704_testaspects<test{ViewEnhancerIntegrationTest.java[ViewEnhancerIntegrationTest[MockView
+ // Hid:8:(targets=1)
+ // =pr298704_testaspects/binaries<it.uniba.di.cdg.penelope.ui.mvp(AbstractViewEnhancerAspect.class}AbstractViewEnhancerAspect)IManagedView.unregisterPresenter)QIPresenter;
+ // (declared on) =pr298704_testaspects<test{ViewEnhancerIntegrationTest.java[ViewEnhancerIntegrationTest[MockView
+ // Hid:9:(targets=1)
+ // =pr298704_testaspects/binaries<it.uniba.di.cdg.penelope.ui.mvp(AbstractViewEnhancerAspect.class}AbstractViewEnhancerAspect)IManagedView.fire)QObject;
+ // (declared on) =pr298704_testaspects<test{ViewEnhancerIntegrationTest.java[ViewEnhancerIntegrationTest[MockView
+ // Hid:10:(targets=1)
+ // =pr298704_testaspects<test{ViewEnhancerIntegrationTest.java[ViewEnhancerIntegrationTest}ViewEnhancerAspect (declared on)
+ // =pr298704_testaspects<test{ViewEnhancerIntegrationTest.java[ViewEnhancerIntegrationTest[MockView
+
+ }
+
public void testPR265729() {
AjdeInteractionTestbed.VERBOSE = true;
String lib = "pr265729_lib";