public class SRRunnerConcurrentScenario extends ConcurrentRunner implements IRunnerScenario
| Modifier and Type | Field and Description |
|---|---|
protected Object |
instance
The fixture object, if it exists, null, otherwise.
|
protected List<INodeListener> |
listeners
Scenario listeners.
|
protected org.junit.runner.notification.RunNotifier |
notifier
The notifier.
|
protected SpecRunnerStatement |
statement
Statement performed.
|
fakeMethod| Constructor and Description |
|---|
SRRunnerConcurrentScenario(Class<?> clazz)
Basic constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<org.junit.runners.model.FrameworkMethod> |
computeTestMethods() |
org.junit.runner.Description |
describeChild(org.junit.runners.model.FrameworkMethod method)
Get description.
|
protected void |
free()
Clean resource references to avoid JUnit overload.
|
org.junit.runners.model.FrameworkMethod |
getFakeMethod()
The fake method.
|
Object |
getInstance()
The fixture object, if it exists, null, otherwise.
|
List<INodeListener> |
getListeners()
Scenario listeners.
|
org.junit.runner.notification.RunNotifier |
getNotifier()
The notifier.
|
SpecRunnerStatement |
getStatement()
Statement performed.
|
protected org.junit.runners.model.Statement |
methodInvoker(org.junit.runners.model.FrameworkMethod method,
Object test) |
void |
run(org.junit.runner.notification.RunNotifier notifier) |
protected void |
runChild(org.junit.runners.model.FrameworkMethod method,
org.junit.runner.notification.RunNotifier notifier) |
void |
setFakeMethod(org.junit.runners.model.FrameworkMethod fakeMethod)
Set fake method.
|
void |
setListeners(List<INodeListener> listeners)
Get listeners.
|
classBlock, skipcollectInitializationErrors, createTest, getChildren, getTestRules, isIgnored, methodBlock, possiblyExpectingExceptions, rules, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeoutchildrenInvoker, classRules, createTestClass, filter, getDescription, getName, getRunnerAnnotations, getTestClass, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClassesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTestClassprotected org.junit.runner.notification.RunNotifier notifier
protected List<INodeListener> listeners
protected Object instance
protected SpecRunnerStatement statement
public SRRunnerConcurrentScenario(Class<?> clazz) throws org.junit.runners.model.InitializationError
clazz - The test class.org.junit.runners.model.InitializationError - On initialization errors.public org.junit.runner.notification.RunNotifier getNotifier()
IRunnerScenariogetNotifier in interface IRunnerScenariopublic org.junit.runners.model.FrameworkMethod getFakeMethod()
IRunnerScenariogetFakeMethod in interface IRunnerScenariopublic void setFakeMethod(org.junit.runners.model.FrameworkMethod fakeMethod)
IRunnerScenariosetFakeMethod in interface IRunnerScenariofakeMethod - A method.public List<INodeListener> getListeners()
IRunnerScenariogetListeners in interface IRunnerScenariopublic void setListeners(List<INodeListener> listeners)
IRunnerScenariosetListeners in interface IRunnerScenariolisteners - A set of listeners.public Object getInstance()
IRunnerScenariogetInstance in interface IRunnerScenariopublic SpecRunnerStatement getStatement()
IRunnerScenariogetStatement in interface IRunnerScenariopublic void run(org.junit.runner.notification.RunNotifier notifier)
run in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>protected List<org.junit.runners.model.FrameworkMethod> computeTestMethods()
computeTestMethods in class org.junit.runners.BlockJUnit4ClassRunnerpublic org.junit.runner.Description describeChild(org.junit.runners.model.FrameworkMethod method)
IRunnerScenariodescribeChild in interface IRunnerScenariodescribeChild in class org.junit.runners.BlockJUnit4ClassRunnermethod - A method.protected void runChild(org.junit.runners.model.FrameworkMethod method,
org.junit.runner.notification.RunNotifier notifier)
runChild in class org.junit.runners.BlockJUnit4ClassRunnerprotected void free()
protected org.junit.runners.model.Statement methodInvoker(org.junit.runners.model.FrameworkMethod method,
Object test)
methodInvoker in class org.junit.runners.BlockJUnit4ClassRunnerCopyright © 2016. All rights reserved.