From 25030e58eb29e7f0ac1cf029f2332581e1a2f21b Mon Sep 17 00:00:00 2001 From: wisberg Date: Mon, 28 Apr 2003 23:56:48 +0000 Subject: test failing - node is java file, should be method execution main, so no parent --- ajde/testsrc/org/aspectj/ajde/StructureModelTest.java | 1 + 1 file changed, 1 insertion(+) (limited to 'ajde/testsrc/org/aspectj') diff --git a/ajde/testsrc/org/aspectj/ajde/StructureModelTest.java b/ajde/testsrc/org/aspectj/ajde/StructureModelTest.java index 5e7fc0596..1c5fb1e61 100644 --- a/ajde/testsrc/org/aspectj/ajde/StructureModelTest.java +++ b/ajde/testsrc/org/aspectj/ajde/StructureModelTest.java @@ -120,6 +120,7 @@ public class StructureModelTest extends AjdeTestCase { assertTrue("find result", node != null); ProgramElementNode pNode = (ProgramElementNode)((ProgramElementNode)node).getParent(); + assertTrue("null parent", pNode != null); assertTrue("found node: " + pNode.getName(), pNode.isRunnable()); } -- cgit v1.2.3