]> source.dussan.org Git - aspectj.git/commitdiff
serializing tests. Some depended on others for builds, but test run order is not...
authorwisberg <wisberg>
Thu, 28 Aug 2003 18:27:50 +0000 (18:27 +0000)
committerwisberg <wisberg>
Thu, 28 Aug 2003 18:27:50 +0000 (18:27 +0000)
ajde/testsrc/org/aspectj/ajde/internal/AspectJBuildManagerTest.java

index 144a2fb560128ec860a92ce18871d0c77fbca411..f94ff660ff36a5003252c52b4c7c8d3206bbde0c 100644 (file)
@@ -32,36 +32,22 @@ public class AspectJBuildManagerTest extends AjdeTestCase {
                return result;
        }
 
-       public void testInit() {
+       public void testSequence() {
                assertTrue("initialization", ideManager != null);
-       }
-       
-       public void testCompileNonExistingConfig() {
-               assertTrue("compile of non-existing build config success", !testerBuildListener.getBuildSucceeded());   
-       }
-       
-       public void testCompileEmptyConfig() {
+        assertTrue("compile of non-existing build config success", !testerBuildListener.getBuildSucceeded());   
         // XXX should fail? empty configs fail b/c no sources specified
-               doSynchronousBuild("empty.lst");
-               assertTrue("compile of empty build config", testerBuildListener.getBuildSucceeded());   
-       }  
-       
-       public void testCompileSuccess() {
-               doSynchronousBuild("../examples/figures-coverage/all.lst");
-               assertTrue("compile success", testerBuildListener.getBuildSucceeded());
-       }
-
-       public void testCompileOutput() {
+        doSynchronousBuild("empty.lst");
+        assertTrue("compile of empty build config", testerBuildListener.getBuildSucceeded());   
+        doSynchronousBuild("../examples/figures-coverage/all.lst");
+        assertTrue("compile success", testerBuildListener.getBuildSucceeded());
                File file = new File(Ajde.getDefault().getProjectProperties().getOutputPath() + "/figures/Main.class");
         if (file.exists()) {
             file.delete();
         } else {
             assertTrue("expected class " + file, false);
                }                       
-       }
-
-       public void testSymbolFileGenerated() {
-               File file = openFile("../examples/figures-coverage/all.ajsym");
+        
+               file = openFile("../examples/figures-coverage/all.ajsym");
         if (file.exists()) {
             file.delete();
         } else {