aboutsummaryrefslogtreecommitdiffstats
path: root/testing/testsrc
diff options
context:
space:
mode:
authorwisberg <wisberg>2005-06-09 00:02:23 +0000
committerwisberg <wisberg>2005-06-09 00:02:23 +0000
commita7233c33dead03280d54d3e4963edb8b37df3db0 (patch)
tree502bb32f3ffe841d75e1aee8268aff2a9d0a375e /testing/testsrc
parent857d23c5bc0193156af04731262a800912240270 (diff)
downloadaspectj-a7233c33dead03280d54d3e4963edb8b37df3db0.tar.gz
aspectj-a7233c33dead03280d54d3e4963edb8b37df3db0.zip
(disabled) convenience flag to defer long tests
Diffstat (limited to 'testing/testsrc')
-rw-r--r--testing/testsrc/org/aspectj/testing/taskdefs/AjcTaskCompileCommandTest.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/testing/testsrc/org/aspectj/testing/taskdefs/AjcTaskCompileCommandTest.java b/testing/testsrc/org/aspectj/testing/taskdefs/AjcTaskCompileCommandTest.java
index c8ec8e1b4..9d11b1fd1 100644
--- a/testing/testsrc/org/aspectj/testing/taskdefs/AjcTaskCompileCommandTest.java
+++ b/testing/testsrc/org/aspectj/testing/taskdefs/AjcTaskCompileCommandTest.java
@@ -31,6 +31,7 @@ import junit.framework.TestCase;
*/
public class AjcTaskCompileCommandTest extends TestCase {
static boolean loggedWarning = false;
+ static boolean runAllTests = true;
static ArrayList tempFiles = new ArrayList();
private static File getClassesDir() {
@@ -84,11 +85,11 @@ public class AjcTaskCompileCommandTest extends TestCase {
public void testWaitUntilMessagesQuiet_1_2() {
- checkWait(1, 2, 0, 0);
+ if (runAllTests) checkWait(1, 2, 0, 0);
}
public void testWaitUntilMessagesQuiet_1_10() {
- checkWait(1, 10, 0, 0);
+ if (runAllTests) checkWait(1, 10, 0, 0);
}
public void testWaitUntilMessagesQuiet_8_10() {
@@ -98,11 +99,11 @@ public class AjcTaskCompileCommandTest extends TestCase {
// XXX two async tests might fail if adder thread starved
public void testWaitUntilMessagesQuiet_1_10_4_1() {
- checkWait(1, 10, 4, 1);
+ if (runAllTests) checkWait(1, 10, 4, 1);
}
public void testWaitUntilMessagesQuiet_8_10_2_1() {
- checkWait(8, 20, 2, 1);
+ if (runAllTests) checkWait(8, 20, 2, 1);
}
void runSimpleTest(String path, int expectedErrors) {