aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorwisberg <wisberg>2005-05-17 00:03:14 +0000
committerwisberg <wisberg>2005-05-17 00:03:14 +0000
commitbe5b8333d32e6efc02a73f4a83fbf10f1c5a9018 (patch)
tree60511ca7cf5795eef0451a5bf012a89a50dcc0bd /testing
parenta2a3654d02ff77485fb35613b25f0b138074c0ba (diff)
downloadaspectj-be5b8333d32e6efc02a73f4a83fbf10f1c5a9018.tar.gz
aspectj-be5b8333d32e6efc02a73f4a83fbf10f1c5a9018.zip
parseBoolean utility
Diffstat (limited to 'testing')
-rw-r--r--testing/src/org/aspectj/testing/harness/bridge/JavaRun.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/testing/src/org/aspectj/testing/harness/bridge/JavaRun.java b/testing/src/org/aspectj/testing/harness/bridge/JavaRun.java
index 7a16e25d5..223a0c8a6 100644
--- a/testing/src/org/aspectj/testing/harness/bridge/JavaRun.java
+++ b/testing/src/org/aspectj/testing/harness/bridge/JavaRun.java
@@ -20,6 +20,7 @@ import org.aspectj.testing.run.IRunIterator;
import org.aspectj.testing.run.IRunStatus;
import org.aspectj.testing.run.WrappedRunIterator;
import org.aspectj.testing.util.TestClassLoader;
+import org.aspectj.testing.util.TestUtil;
import org.aspectj.testing.xml.SoftMessage;
import org.aspectj.testing.xml.XMLWriter;
import org.aspectj.util.FileUtil;
@@ -669,7 +670,7 @@ public class JavaRun implements IAjcRun {
}
public void setLTW(String ltw) {
- useLTW = Boolean.parseBoolean(ltw);
+ useLTW = TestUtil.parseBoolean(ltw);
}
public void setAspectpath(String path) {
@@ -683,11 +684,11 @@ public class JavaRun implements IAjcRun {
this.classpath = XMLWriter.unflattenList(path);
}
public void setErrStreamIsError(String errStreamIsError) {
- this.errStreamIsError = Boolean.parseBoolean(errStreamIsError);
+ this.errStreamIsError = TestUtil.parseBoolean(errStreamIsError);
}
public void setOutStreamIsError(String outStreamIsError) {
- this.outStreamIsError = Boolean.parseBoolean(outStreamIsError);
+ this.outStreamIsError = TestUtil.parseBoolean(outStreamIsError);
}
/** @param skip if true, then do not set up Tester */