|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--junit.framework.TestResult
|
+--junit.log4j.LoggedTestResult
Test result that joins JUnit and Log4J.
Created: Sat Nov 03 19:03:14 2001
| Fields inherited from class junit.framework.TestResult |
fErrors, fFailures, fListeners, fRunTests |
| Constructor Summary | |
LoggedTestResult()
Creates a new LoggedTestResult instance. |
|
| Method Summary | |
void |
addError(junit.framework.Test test,
java.lang.Throwable throwable)
Calls TestResult.addError(test, throwable)
and additionally adds the error as
logging event
to the appender singleton. |
void |
addFailure(junit.framework.Test test,
junit.framework.AssertionFailedError failure)
Calls TestResult.addFailure(test, throwable)
and additionally adds the error as
logging event
to the appender singleton. |
| 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 |
| Constructor Detail |
public LoggedTestResult()
LoggedTestResult instance.| Method Detail |
public void addError(junit.framework.Test test,
java.lang.Throwable throwable)
TestResult.addError(test, throwable)
and additionally adds the error as
logging event
to the appender singleton.addError in class junit.framework.TestResulttest - the test receiving the errorthrowable - a value of type 'Throwable'
public void addFailure(junit.framework.Test test,
junit.framework.AssertionFailedError failure)
TestResult.addFailure(test, throwable)
and additionally adds the error as
logging event
to the appender singleton.addFailure in class junit.framework.TestResulttest - the test receiving the failurefailure - assertion failure
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||