org.placelab.test
Class ConsoleTestResult
java.lang.Object
org.placelab.test.WeakTestResult
org.placelab.test.TestResult
org.placelab.test.ConsoleTestResult
- public class ConsoleTestResult
- extends TestResult
All tests produce a TestResult.
|
Constructor Summary |
ConsoleTestResult(java.io.PrintWriter pw,
boolean printHTML)
The test results are written to pw and the results are either simple HTML if printHTML is true, or plain text. |
ConsoleTestResult(java.io.PrintWriter pw,
boolean printHTML,
boolean haveNetwork_NOTUSED)
|
| Methods inherited from class org.placelab.test.WeakTestResult |
assertTrue, assertTrue, assertTrue, assertTrue, differentObjects, equalObjects, errorCaught, fail, isNull, notEqual, sameObject, summary |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SHOW_ERROR_TRACE
public static final java.lang.String SHOW_ERROR_TRACE
- See Also:
- Constant Field Values
ConsoleTestResult
public ConsoleTestResult(java.io.PrintWriter pw,
boolean printHTML)
- The test results are written to pw and the results are either simple HTML if printHTML is true, or plain text.
ConsoleTestResult
public ConsoleTestResult(java.io.PrintWriter pw,
boolean printHTML,
boolean haveNetwork_NOTUSED)
print
public void print(java.lang.String msg)
- Specified by:
print in class WeakTestResult
exceptionExtra
public void exceptionExtra(java.lang.Throwable t)
- Specified by:
exceptionExtra in class WeakTestResult