public class JUnitCoreRunListener extends org.apache.maven.surefire.common.junit4.JUnit4RunListener
for details about parallel runningreporter| 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) |
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, extractClassName, extractMethodName, rethrowAnyTestMechanismFailures, testAssumptionFailure, testExecutionSkippedByUser, testFailure, testFinished, testIgnored, testStartedpublic 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.RunListenerExceptionRunListener.testRunStarted(org.junit.runner.Description)public void testRunFinished(org.junit.runner.Result result)
throws Exception
testRunFinished in class org.junit.runner.notification.RunListenerExceptionprotected StackTraceWriter createStackTraceWriter(org.junit.runner.notification.Failure failure)
createStackTraceWriter in class org.apache.maven.surefire.common.junit4.JUnit4RunListenerCopyright © 2004–2015 The Apache Software Foundation. All rights reserved.