org.apache.maven.surefire.junit4
Class JUnit4TestSet
java.lang.Object
org.apache.maven.surefire.testset.AbstractTestSet
org.apache.maven.surefire.junit4.JUnit4TestSet
- All Implemented Interfaces:
- SurefireTestSet
public class JUnit4TestSet
- extends AbstractTestSet
|
Constructor Summary |
protected |
JUnit4TestSet(java.lang.Class testClass)
|
protected |
JUnit4TestSet(java.lang.Class testClass,
java.util.List<org.junit.runner.notification.RunListener> customRunListeners)
Constructor. |
|
Method Summary |
static void |
execute(java.lang.Class testClass,
java.util.List<org.junit.runner.notification.RunListener> runListeners)
Actually runs the test and adds the tests results to the reportManager. |
static void |
execute(java.lang.Class testClass,
org.junit.runner.notification.RunNotifier fNotifier)
|
void |
execute(ReporterManager reportManager,
java.lang.ClassLoader loader)
Actually runs the test and adds the tests results to the reportManager. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JUnit4TestSet
protected JUnit4TestSet(java.lang.Class testClass,
java.util.List<org.junit.runner.notification.RunListener> customRunListeners)
- Constructor.
- Parameters:
testClass - the class to be run as a testcustomRunListeners - the custom run listeners to add
JUnit4TestSet
protected JUnit4TestSet(java.lang.Class testClass)
execute
public void execute(ReporterManager reportManager,
java.lang.ClassLoader loader)
throws TestSetFailedException
- Actually runs the test and adds the tests results to the
reportManager.
- Throws:
TestSetFailedException- See Also:
SurefireTestSet.execute(org.apache.maven.surefire.report.ReporterManager, java.lang.ClassLoader)
execute
public static void execute(java.lang.Class testClass,
java.util.List<org.junit.runner.notification.RunListener> runListeners)
throws TestSetFailedException
- Actually runs the test and adds the tests results to the
reportManager.
- Parameters:
testClass - The test class to runrunListeners - The run listeners to attach
- Throws:
TestSetFailedException- See Also:
SurefireTestSet.execute(org.apache.maven.surefire.report.ReporterManager, java.lang.ClassLoader)
execute
public static void execute(java.lang.Class testClass,
org.junit.runner.notification.RunNotifier fNotifier)
throws TestSetFailedException
- Throws:
TestSetFailedException
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.