summaryrefslogtreecommitdiffstats
path: root/ajde
diff options
context:
space:
mode:
authoraclement <aclement>2006-06-22 08:04:54 +0000
committeraclement <aclement>2006-06-22 08:04:54 +0000
commit76d1bc7bdfe7665c6d4fd04c852b92f17d255ddb (patch)
tree7c301671771a1346f4daccfc3f8d7899e135d974 /ajde
parent685d347782772e00d14b078c065162b44e79d40d (diff)
downloadaspectj-76d1bc7bdfe7665c6d4fd04c852b92f17d255ddb.tar.gz
aspectj-76d1bc7bdfe7665c6d4fd04c852b92f17d255ddb.zip
148027: dont generate usespointcut relationship (for now...)
Diffstat (limited to 'ajde')
-rw-r--r--ajde/testsrc/org/aspectj/ajde/AsmRelationshipsTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/ajde/testsrc/org/aspectj/ajde/AsmRelationshipsTest.java b/ajde/testsrc/org/aspectj/ajde/AsmRelationshipsTest.java
index f2fcca34b..cb32415ed 100644
--- a/ajde/testsrc/org/aspectj/ajde/AsmRelationshipsTest.java
+++ b/ajde/testsrc/org/aspectj/ajde/AsmRelationshipsTest.java
@@ -14,6 +14,7 @@ package org.aspectj.ajde;
import java.util.Iterator;
import java.util.List;
+import org.aspectj.ajdt.internal.core.builder.AsmHierarchyBuilder;
import org.aspectj.asm.AsmManager;
import org.aspectj.asm.IProgramElement;
import org.aspectj.asm.IRelationship;
@@ -31,7 +32,10 @@ public class AsmRelationshipsTest extends AjdeTestCase {
super(name);
}
+ // see pr148027
public void testUsesPointcut() {
+ if (!AsmHierarchyBuilder.shouldAddUsesPointcut) return;
+
IProgramElement ptUsage = AsmManager.getDefault().getHierarchy().findElementForType(null, "PointcutUsage");
assertNotNull(ptUsage);
IProgramElement pts = AsmManager.getDefault().getHierarchy().findElementForType(null, "Pointcuts");