er.testrunner
Class ERXTestResult
java.lang.Object
junit.framework.TestResult
er.testrunner.ERXTestResult
public class ERXTestResult
- extends junit.framework.TestResult
extensions to hold multiple errors and failures.
Field Summary |
protected com.webobjects.foundation.NSMutableArray |
_errors
|
protected com.webobjects.foundation.NSMutableArray |
_failures
|
static org.apache.log4j.Logger |
log
logging support |
Fields inherited from class junit.framework.TestResult |
fErrors, fFailures, fListeners, fRunTests |
Methods inherited from class junit.framework.TestResult |
addListener, endTest, errorCount, errors, failureCount, failures, removeListener, run, runCount, runProtected, shouldStop, startTest, stop, wasSuccessful |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
public static final org.apache.log4j.Logger log
- logging support
_errors
protected com.webobjects.foundation.NSMutableArray _errors
_failures
protected com.webobjects.foundation.NSMutableArray _failures
ERXTestResult
public ERXTestResult()
addError
public void addError(junit.framework.Test test,
java.lang.Throwable t)
- Overrides:
addError
in class junit.framework.TestResult
addFailure
public void addFailure(junit.framework.Test test,
junit.framework.AssertionFailedError t)
- Overrides:
addFailure
in class junit.framework.TestResult
errorsArray
public com.webobjects.foundation.NSArray errorsArray()
failuresArray
public com.webobjects.foundation.NSArray failuresArray()
hasErrors
public boolean hasErrors()
hasFailures
public boolean hasFailures()
Copyright © 2002 – 2007 Project Wonder.