]> source.dussan.org Git - aspectj.git/commitdiff
test failing - node is java file, should be method execution main, so no parent
authorwisberg <wisberg>
Mon, 28 Apr 2003 23:56:48 +0000 (23:56 +0000)
committerwisberg <wisberg>
Mon, 28 Apr 2003 23:56:48 +0000 (23:56 +0000)
ajde/testsrc/org/aspectj/ajde/StructureModelTest.java

index 5e7fc05963a2caff68a9ad699fe8e7a687c5cd52..1c5fb1e61bf3d658a7798561ca6fcffc2342703c 100644 (file)
@@ -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());
        }