aboutsummaryrefslogtreecommitdiffstats
path: root/build/testsrc
diff options
context:
space:
mode:
authorwisberg <wisberg>2004-10-05 20:05:36 +0000
committerwisberg <wisberg>2004-10-05 20:05:36 +0000
commit948bf91ad857793df643b387ea183ef7035e3d61 (patch)
tree90b994036a934233d55831efca34c10f9d53adce /build/testsrc
parent699cad051e1f5c74e869897a3a300cdbc78198b1 (diff)
downloadaspectj-948bf91ad857793df643b387ea183ef7035e3d61.tar.gz
aspectj-948bf91ad857793df643b387ea183ef7035e3d61.zip
static ref to static variable
Diffstat (limited to 'build/testsrc')
-rw-r--r--build/testsrc/BuildModuleTests.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/testsrc/BuildModuleTests.java b/build/testsrc/BuildModuleTests.java
index 828478f64..8a03cc65e 100644
--- a/build/testsrc/BuildModuleTests.java
+++ b/build/testsrc/BuildModuleTests.java
@@ -27,7 +27,7 @@ public class BuildModuleTests extends TestCase {
/** if true, then replace old headers with new first */
private static final boolean replacing = false; // XXX never to enable again...
- /** if any replace failed, halt all */
+ /** replace commented out below - if any replace failed, halt all */
private static boolean replaceFailed = false;
private static final String BASE_DIR = "../";
@@ -132,9 +132,9 @@ public class BuildModuleTests extends TestCase {
int fails = Checklics.runDirect(moduleDir.getPath(), license);
if (0 != fails) {
if (replacing) {
- replaceFailed = true;
+ BuildModuleTests.replaceFailed = true;
}
- assertTrue(label + " fails", false);
+ assertTrue(label + " fails", !BuildModuleTests.replaceFailed);
}
}