diff options
author | wisberg <wisberg> | 2004-03-31 00:34:37 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2004-03-31 00:34:37 +0000 |
commit | fe4fc06aa414d03e0b3124aa67f9546dc67b659a (patch) | |
tree | 2f40f7444c4a09e091d84ea14912b48b8a680e1f /testing | |
parent | f716a6fbdd5c9977dc6faae8f40d94f4717c269e (diff) | |
download | aspectj-fe4fc06aa414d03e0b3124aa67f9546dc67b659a.tar.gz aspectj-fe4fc06aa414d03e0b3124aa67f9546dc67b659a.zip |
enabled dir-changes, changed output messages
Diffstat (limited to 'testing')
-rw-r--r-- | testing/src/org/aspectj/testing/harness/bridge/DirChanges.java | 10 |
1 files 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); |