public class JUnitCoreRunListener extends org.apache.maven.surefire.common.junit4.JUnit4RunListener
for details about parallel running
reporter
Constructor and Description |
---|
JUnitCoreRunListener(RunListener reporter,
Map<String,TestSet> classMethodCounts) |
Modifier and Type | Method and Description |
---|---|
protected StackTraceWriter |
createStackTraceWriter(org.junit.runner.notification.Failure failure) |
protected String |
extractDescriptionClassName(org.junit.runner.Description description) |
protected String |
extractDescriptionMethodName(org.junit.runner.Description description) |
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, testStarted
public JUnitCoreRunListener(RunListener reporter, Map<String,TestSet> classMethodCounts)
reporter
- the report manager to log testing events toclassMethodCounts
- A map of methodspublic void testRunStarted(org.junit.runner.Description description) throws Exception
testRunStarted
in class org.junit.runner.notification.RunListener
Exception
RunListener.testRunStarted(org.junit.runner.Description)
public void testRunFinished(org.junit.runner.Result result) throws Exception
testRunFinished
in class org.junit.runner.notification.RunListener
Exception
protected StackTraceWriter createStackTraceWriter(org.junit.runner.notification.Failure failure)
createStackTraceWriter
in class org.apache.maven.surefire.common.junit4.JUnit4RunListener
protected String extractDescriptionClassName(org.junit.runner.Description description)
extractDescriptionClassName
in class org.apache.maven.surefire.common.junit4.JUnit4RunListener
protected String extractDescriptionMethodName(org.junit.runner.Description description)
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.