diff options
author | acolyer <acolyer> | 2004-01-23 12:18:10 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2004-01-23 12:18:10 +0000 |
commit | 42787f91e7e3f2fc09246dbcda7031abde9e428d (patch) | |
tree | 09eac65f3de8e46da5ff479451589dd41beb7b3a /testing-drivers | |
parent | 14908174fcb2a52819e8c022424938ff9f2c9876 (diff) | |
download | aspectj-42787f91e7e3f2fc09246dbcda7031abde9e428d.tar.gz aspectj-42787f91e7e3f2fc09246dbcda7031abde9e428d.zip |
spring cleaning in advance of 1.2 enhancements:
removed unused imports, local variables, and private methods
(still there, just commented out).
Diffstat (limited to 'testing-drivers')
3 files changed, 10 insertions, 10 deletions
diff --git a/testing-drivers/src/org/aspectj/testing/drivers/Harness.java b/testing-drivers/src/org/aspectj/testing/drivers/Harness.java index 94921da32..20421fe80 100644 --- a/testing-drivers/src/org/aspectj/testing/drivers/Harness.java +++ b/testing-drivers/src/org/aspectj/testing/drivers/Harness.java @@ -144,7 +144,7 @@ public class Harness { */ private static String[] readArgs(File argFile) { ArrayList args = new ArrayList(); - int lineNum = 0; +// int lineNum = 0; try { BufferedReader stream = @@ -447,7 +447,7 @@ public class Harness { * Subclasses override this to implement new options. */ protected boolean acceptOption(String option) { - boolean result = false; +// boolean result = false; if (LangUtil.isEmpty(option)) { return true; // skip bad input } else if ("-verboseHarness".equals(option)) { @@ -712,11 +712,11 @@ class FeatureHarness extends Harness { = RunUtils.VERBOSE_PRINTER; final RunUtils.IRunStatusPrinter terse = RunUtils.TERSE_PRINTER; - final boolean LOGPASS = true; - final boolean LOGFAIL = true; - final boolean SKIPPASS = false; - final boolean SKIPFAIL = false; - final boolean LOGSTREAMS = true; +// final boolean LOGPASS = true; +// final boolean LOGFAIL = true; +// final boolean SKIPPASS = false; +// final boolean SKIPFAIL = false; +// final boolean LOGSTREAMS = true; final boolean SKIPSTREAMS = false; Feature feature = null; diff --git a/testing-drivers/testsrc/org/aspectj/testing/drivers/AjctestsAdapter.java b/testing-drivers/testsrc/org/aspectj/testing/drivers/AjctestsAdapter.java index da0c42fb8..fb221a246 100644 --- a/testing-drivers/testsrc/org/aspectj/testing/drivers/AjctestsAdapter.java +++ b/testing-drivers/testsrc/org/aspectj/testing/drivers/AjctestsAdapter.java @@ -20,8 +20,8 @@ import junit.framework.*; import org.aspectj.bridge.*; import org.aspectj.testing.harness.bridge.*; import org.aspectj.testing.run.*; -import org.aspectj.testing.util.RunUtils; -import org.aspectj.testing.xml.AjcSpecXmlReader; +//import org.aspectj.testing.util.RunUtils; +//import org.aspectj.testing.xml.AjcSpecXmlReader; /* * Adapt Harness tests to JUnit driver. diff --git a/testing-drivers/testsrc/org/aspectj/testing/drivers/HarnessJUnitUtil.java b/testing-drivers/testsrc/org/aspectj/testing/drivers/HarnessJUnitUtil.java index 77c38c35d..287ea53d9 100644 --- a/testing-drivers/testsrc/org/aspectj/testing/drivers/HarnessJUnitUtil.java +++ b/testing-drivers/testsrc/org/aspectj/testing/drivers/HarnessJUnitUtil.java @@ -18,7 +18,7 @@ import java.util.*; import junit.framework.*; import org.aspectj.bridge.*; -import org.aspectj.bridge.MessageHandler; +//import org.aspectj.bridge.MessageHandler; import org.aspectj.testing.harness.bridge.*; import org.aspectj.testing.run.IRunStatus; import org.aspectj.testing.util.RunUtils; |