From fe4fc06aa414d03e0b3124aa67f9546dc67b659a Mon Sep 17 00:00:00 2001 From: wisberg Date: Wed, 31 Mar 2004 00:34:37 +0000 Subject: [PATCH] enabled dir-changes, changed output messages --- .../org/aspectj/testing/harness/bridge/DirChanges.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/testing/src/org/aspectj/testing/harness/bridge/DirChanges.java b/testing/src/org/aspectj/testing/harness/bridge/DirChanges.java index 5e09e68be..6ec838526 100644 --- a/testing/src/org/aspectj/testing/harness/bridge/DirChanges.java +++ b/testing/src/org/aspectj/testing/harness/bridge/DirChanges.java @@ -96,10 +96,10 @@ public class DirChanges { startTime = 0l; final boolean doCompare = false; boolean result - = exists("at start, did not expect file to be added", !EXISTS, spec.added, doCompare); - result &= exists("at start, expected file to be unchanged", EXISTS, spec.unchanged, doCompare); - result &= exists("at start, expected file to be updated", EXISTS, spec.updated, doCompare); - result &= exists("at start, expected file to be removed", EXISTS, spec.removed, doCompare); + = exists("at start, did not expect added file to exist", !EXISTS, spec.added, doCompare); + result &= exists("at start, expected unchanged file to exist", EXISTS, spec.unchanged, doCompare); + result &= exists("at start, expected updated file to exist", EXISTS, spec.updated, doCompare); + result &= exists("at start, expected removed file to exist", EXISTS, spec.removed, doCompare); startTime = System.currentTimeMillis(); this.handler = oldHandler; return result; @@ -122,7 +122,7 @@ public class DirChanges { try { // variant 1: check specified files // deferring comparison to end... - final boolean doCompare = false && (null != fileChecker); + final boolean doCompare = (null != fileChecker); final boolean fastFail = spec.fastFail; boolean result = exists("at end, expected file was not added", EXISTS, spec.added, doCompare); -- 2.39.5