org.apache.maven.surefire.junitcore
Class JUnitCoreRunListener
java.lang.Object
org.junit.runner.notification.RunListener
org.apache.maven.surefire.common.junit4.JUnit4RunListener
org.apache.maven.surefire.junitcore.JUnitCoreRunListener
public class JUnitCoreRunListener
- extends JUnit4RunListener
Method Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JUnitCoreRunListener
public JUnitCoreRunListener(RunListener reporter,
Map<String,TestSet> classMethodCounts)
- Parameters:
reporter
- the report manager to log testing events toclassMethodCounts
- A map of methods
testRunStarted
public void testRunStarted(org.junit.runner.Description description)
throws Exception
- Called right before any tests from a specific class are run.
- Overrides:
testRunStarted
in class org.junit.runner.notification.RunListener
- Throws:
Exception
- See Also:
RunListener.testRunStarted(org.junit.runner.Description)
testRunFinished
public void testRunFinished(org.junit.runner.Result result)
throws Exception
- Overrides:
testRunFinished
in class org.junit.runner.notification.RunListener
- Throws:
Exception
Copyright © 2004-2012 Apache Software Foundation. All Rights Reserved.