]> source.dussan.org Git - aspectj.git/commitdiff
removed printlns
authorwisberg <wisberg>
Wed, 30 Apr 2003 02:42:57 +0000 (02:42 +0000)
committerwisberg <wisberg>
Wed, 30 Apr 2003 02:42:57 +0000 (02:42 +0000)
ajde/testsrc/org/aspectj/ajde/ui/StructureModelUtilTest.java

index 0a0ee544d8e81029f4111c2b8fa42128443bc4f7..8918527417689407bd044dac1298d45bcb861787 100644 (file)
@@ -44,25 +44,26 @@ public class StructureModelUtilTest extends AjdeTestCase {
        public void testPackageViewUtil() {
                List packages = StructureModelUtil.getPackagesInModel(); 
                assertTrue("packages list not null", packages != null);
-               System.err.println("> packages: " + packages);
-                       
+        assertTrue("packages list not empty", !packages.isEmpty());
+               // System.err.println("> packages: " + packages);
+       
                ProgramElementNode packageNode = (ProgramElementNode)((Object[])packages.get(0))[0];
                assertTrue("package node not null", packageNode != null);
-               System.err.println("> package node: " + packageNode);
+               // System.err.println("> package node: " + packageNode);
                
                List files = StructureModelUtil.getFilesInPackage(packageNode);
                assertTrue("fle list not null", files != null);
-               System.err.println("> file list: " + files);
+               // System.err.println("> file list: " + files);
                
                Map lineAdviceMap = StructureModelUtil.getLinesToAspectMap(
                        ((ProgramElementNode)files.get(0)).getSourceLocation().getSourceFile().getAbsolutePath()
                );
                assertTrue("line->advice map not null", lineAdviceMap != null);
-               System.err.println("> line->advice map: " + lineAdviceMap);                     
+               // System.err.println("> line->advice map: " + lineAdviceMap);                  
                
                Set aspects = StructureModelUtil.getAspectsAffectingPackage(packageNode);
                assertTrue("aspect list not null", aspects != null);
-               System.err.println("> aspects affecting package: " + aspects);                  
+               // System.err.println("> aspects affecting package: " + aspects);                       
        }