public class DelegatingTestResult
extends junit.framework.TestResult
| Constructor and Description |
|---|
DelegatingTestResult(junit.framework.TestResult delegate,
junit.framework.Test wrapper) |
| Modifier and Type | Method and Description |
|---|---|
void |
addError(junit.framework.Test test,
Throwable t) |
void |
addFailure(junit.framework.Test test,
junit.framework.AssertionFailedError t) |
void |
addListener(junit.framework.TestListener listener) |
void |
endTest(junit.framework.Test test) |
int |
errorCount() |
Enumeration<junit.framework.TestFailure> |
errors() |
int |
failureCount() |
Enumeration<junit.framework.TestFailure> |
failures() |
void |
removeListener(junit.framework.TestListener listener) |
int |
runCount() |
void |
runProtected(junit.framework.Test test,
junit.framework.Protectable p) |
boolean |
shouldStop() |
void |
startTest(junit.framework.Test test) |
void |
stop() |
boolean |
wasSuccessful() |
public DelegatingTestResult(junit.framework.TestResult delegate,
junit.framework.Test wrapper)
public void addError(junit.framework.Test test,
Throwable t)
addError in class junit.framework.TestResultpublic void addFailure(junit.framework.Test test,
junit.framework.AssertionFailedError t)
addFailure in class junit.framework.TestResultpublic void addListener(junit.framework.TestListener listener)
addListener in class junit.framework.TestResultpublic void removeListener(junit.framework.TestListener listener)
removeListener in class junit.framework.TestResultpublic void endTest(junit.framework.Test test)
endTest in class junit.framework.TestResultpublic int errorCount()
errorCount in class junit.framework.TestResultpublic Enumeration<junit.framework.TestFailure> errors()
errors in class junit.framework.TestResultpublic int failureCount()
failureCount in class junit.framework.TestResultpublic Enumeration<junit.framework.TestFailure> failures()
failures in class junit.framework.TestResultpublic int runCount()
runCount in class junit.framework.TestResultpublic void runProtected(junit.framework.Test test,
junit.framework.Protectable p)
runProtected in class junit.framework.TestResultpublic boolean shouldStop()
shouldStop in class junit.framework.TestResultpublic void startTest(junit.framework.Test test)
startTest in class junit.framework.TestResultpublic void stop()
stop in class junit.framework.TestResultpublic boolean wasSuccessful()
wasSuccessful in class junit.framework.TestResultCopyright © 2012-2014 BMW Car IT. All Rights Reserved.