public class JUnitCoreRunListener extends JUnit4RunListener
for details about parallel running| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<java.lang.String,TestSet> |
classMethodCounts |
reporter| Constructor and Description |
|---|
JUnitCoreRunListener(RunListener reporter,
java.util.Map<java.lang.String,TestSet> classMethodCounts) |
| Modifier and Type | Method and Description |
|---|---|
private boolean |
asTestLeaf(org.junit.runner.Description description) |
protected StackTraceWriter |
createStackTraceWriter(org.junit.runner.notification.Failure failure) |
protected java.lang.String |
extractDescriptionClassName(org.junit.runner.Description description) |
protected java.lang.String |
extractDescriptionMethodName(org.junit.runner.Description description) |
private void |
fillTestCountMap(org.junit.runner.Description testDesc) |
void |
testRunFinished(org.junit.runner.Result result) |
void |
testRunStarted(org.junit.runner.Description description)
Called right before any tests from a specific class are run.
|
createReportEntry, rethrowAnyTestMechanismFailures, testAssumptionFailure, testExecutionSkippedByUser, testFailure, testFinished, testIgnored, testStartedprivate final java.util.Map<java.lang.String,TestSet> classMethodCounts
public JUnitCoreRunListener(RunListener reporter, java.util.Map<java.lang.String,TestSet> classMethodCounts)
reporter - the report manager to log testing events toclassMethodCounts - A map of methodspublic void testRunStarted(org.junit.runner.Description description)
throws java.lang.Exception
testRunStarted in class org.junit.runner.notification.RunListenerjava.lang.ExceptionRunListener.testRunStarted(org.junit.runner.Description)public void testRunFinished(org.junit.runner.Result result)
throws java.lang.Exception
testRunFinished in class org.junit.runner.notification.RunListenerjava.lang.Exceptionprivate void fillTestCountMap(org.junit.runner.Description testDesc)
private boolean asTestLeaf(org.junit.runner.Description description)
protected StackTraceWriter createStackTraceWriter(org.junit.runner.notification.Failure failure)
createStackTraceWriter in class JUnit4RunListenerprotected java.lang.String extractDescriptionClassName(org.junit.runner.Description description)
extractDescriptionClassName in class JUnit4RunListenerprotected java.lang.String extractDescriptionMethodName(org.junit.runner.Description description)
extractDescriptionMethodName in class JUnit4RunListener