public class JUnitCoreRunListener extends 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(Failure failure) |
void |
testRunFinished(Result result) |
void |
testRunStarted(Description description)
Called right before any tests from a specific class are run.
|
createReportEntry, extractClassName, extractMethodName, getClassName, rethrowAnyTestMechanismFailures, testAssumptionFailure, 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(Description description) throws Exception
testRunStarted
in class RunListener
Exception
RunListener.testRunStarted(org.junit.runner.Description)
public void testRunFinished(Result result) throws Exception
testRunFinished
in class RunListener
Exception
protected StackTraceWriter createStackTraceWriter(Failure failure)
createStackTraceWriter
in class JUnit4RunListener
Copyright © 2004–2013 The Apache Software Foundation. All rights reserved.