org.placelab.test
Class ConsoleTestResult

java.lang.Object
  extended byorg.placelab.test.WeakTestResult
      extended byorg.placelab.test.TestResult
          extended byorg.placelab.test.ConsoleTestResult

public class ConsoleTestResult
extends TestResult

All tests produce a TestResult.


Field Summary
static java.lang.String SHOW_ERROR_TRACE
           
 
Fields inherited from class org.placelab.test.TestResult
EPSILON
 
Fields inherited from class org.placelab.test.WeakTestResult
errors, failures, successes
 
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)
           
 
Method Summary
 void exceptionExtra(java.lang.Throwable t)
           
 void print(java.lang.String msg)
           
 
Methods inherited from class org.placelab.test.TestResult
assertTrueDouble, assertTrueDouble, skipTestBecauseNoNetwork
 
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
 

Field Detail

SHOW_ERROR_TRACE

public static final java.lang.String SHOW_ERROR_TRACE
See Also:
Constant Field Values
Constructor Detail

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)
Method Detail

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