aboutsummaryrefslogtreecommitdiffstats
path: root/ajde/testsrc
diff options
context:
space:
mode:
authorwisberg <wisberg>2003-08-28 18:27:50 +0000
committerwisberg <wisberg>2003-08-28 18:27:50 +0000
commit31c52df57dbc34ebea91712d236a096f67153201 (patch)
tree3522ff429f01e608cbef8c3583a18c0e4cfa7e74 /ajde/testsrc
parentcf042abb2d0c76e2d382e91b536f3e9be7bc1317 (diff)
downloadaspectj-31c52df57dbc34ebea91712d236a096f67153201.tar.gz
aspectj-31c52df57dbc34ebea91712d236a096f67153201.zip
serializing tests. Some depended on others for builds, but test run order is not guaranteed.
Diffstat (limited to 'ajde/testsrc')
-rw-r--r--ajde/testsrc/org/aspectj/ajde/internal/AspectJBuildManagerTest.java30
1 files changed, 8 insertions, 22 deletions
diff --git a/ajde/testsrc/org/aspectj/ajde/internal/AspectJBuildManagerTest.java b/ajde/testsrc/org/aspectj/ajde/internal/AspectJBuildManagerTest.java
index 144a2fb56..f94ff660f 100644
--- a/ajde/testsrc/org/aspectj/ajde/internal/AspectJBuildManagerTest.java
+++ b/ajde/testsrc/org/aspectj/ajde/internal/AspectJBuildManagerTest.java
@@ -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 {