|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.junit.runner.Runner
org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
patterntesting.runtime.junit.SmokeRunner
patterntesting.runtime.junit.ProxyRunner
public class ProxyRunner
This is a JUnit runner which delegates the call one (or perhaps several) other JUnit runners. Till 1.2.10-YEARS it was placed in the experimental package.
| Constructor Summary | |
|---|---|
ProxyRunner(Class<?> testClass)
Instantiates a new proxy runner. |
|
| Method Summary | |
|---|---|
protected List<org.junit.runners.model.FrameworkMethod> |
getChildren()
Gets the children. |
org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod> |
getDelegateRunner()
Gets the Runner defined by @DelegateTo. |
org.junit.runner.Description |
getDescription()
Gets the description. |
void |
run(org.junit.runner.notification.RunNotifier notifier)
Here we decide if the whole class is to be run. |
protected void |
runChild(org.junit.runners.model.FrameworkMethod method,
org.junit.runner.notification.RunNotifier notifier)
Run child. |
| Methods inherited from class patterntesting.runtime.junit.SmokeRunner |
|---|
addFailure, describeChild, fireTestAssumptionFailed, getFilter, getJUnit3TestMethods, logStatement, methodBlock, shouldBeIgnored, shouldBeRun, withAfterClasses, withBeforeClasses |
| Methods inherited from class org.junit.runners.ParentRunner |
|---|
childrenInvoker, classBlock, classRules, collectInitializationErrors, filter, getName, getRunnerAnnotations, getTestClass, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods |
| Methods inherited from class org.junit.runner.Runner |
|---|
testCount |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProxyRunner(Class<?> testClass)
throws org.junit.runners.model.InitializationError
testClass - the test class
org.junit.runners.model.InitializationError - the initialization error| Method Detail |
|---|
public final org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod> getDelegateRunner()
@DelegateTo.
public org.junit.runner.Description getDescription()
getDescription in interface org.junit.runner.DescribablegetDescription in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>Runner.getDescription()public void run(org.junit.runner.notification.RunNotifier notifier)
run in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>notifier - the notifierRunner.run(org.junit.runner.notification.RunNotifier)protected List<org.junit.runners.model.FrameworkMethod> getChildren()
getChildren in class SmokeRunnerParentRunner.getChildren()
protected void runChild(org.junit.runners.model.FrameworkMethod method,
org.junit.runner.notification.RunNotifier notifier)
runChild in class SmokeRunnermethod - the methodnotifier - the notifierParentRunner.runChild(java.lang.Object, org.junit.runner.notification.RunNotifier)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||