summaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core/testsrc
diff options
context:
space:
mode:
authormkersten <mkersten>2004-07-27 04:26:54 +0000
committermkersten <mkersten>2004-07-27 04:26:54 +0000
commit66e2167bdae05b1e977836eeffdd87286677676b (patch)
tree7bbda90dbdcdbf8da818848b0cfd5e83870a8ef9 /org.aspectj.ajdt.core/testsrc
parent1e5567686b5b71a2233820e1b87e7498dfcd2653 (diff)
downloadaspectj-66e2167bdae05b1e977836eeffdd87286677676b.tar.gz
aspectj-66e2167bdae05b1e977836eeffdd87286677676b.zip
Made AsmHiearchyBuilder extensible in order to support tools that require more
static structure than is currently offered by the ASM, e.g. UML views. (changes are covered by existing test cases)
Diffstat (limited to 'org.aspectj.ajdt.core/testsrc')
-rw-r--r--org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AsmBuilderTest.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AsmBuilderTest.java b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AsmBuilderTest.java
index 61d2b481d..1cef4273a 100644
--- a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AsmBuilderTest.java
+++ b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AsmBuilderTest.java
@@ -25,6 +25,8 @@ import org.eclipse.jdt.internal.compiler.lookup.BlockScope;
public class AsmBuilderTest extends TestCase {
+ private AsmHierarchyBuilder builder = new AsmHierarchyBuilder();
+
public static Test suite() {
TestSuite suite = new TestSuite(AsmBuilderTest.class.getName());
//$JUnit-BEGIN$
@@ -60,7 +62,8 @@ public class AsmBuilderTest extends TestCase {
BlockScope scope = null;
try {
- new AsmHierarchyBuilder(new CompilationResult(cu, 0, 0, 0), null).visit(local, scope);
+// builder.internalBuild(new CompilationResult(cu, 0, 0, 0), null);
+ builder.visit(local, scope);
}
catch (Exception e) {
assertTrue(e instanceof NullPointerException);