@Beta public abstract class AbstractScenarioRunner extends XtextRunner
| Constructor and Description |
|---|
AbstractScenarioRunner(Class<?> klass,
Class<? extends ScenarioProcessor> processorClass) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
doProcess(String data,
ScenarioProcessor processor) |
protected <T> T |
get(Class<T> service) |
protected WrappingInjectorProvider |
getOrCreateInjectorProvider() |
protected Class<? extends ScenarioProcessor> |
getProcessorClass() |
protected String |
getProcessorName() |
protected Annotation[] |
getRunnerAnnotations() |
protected boolean |
isIgnored(org.junit.runners.model.FrameworkMethod method) |
protected org.junit.runners.model.Statement |
methodBlock(org.junit.runners.model.FrameworkMethod method) |
protected void |
process(String data) |
protected void |
runChild(org.junit.runners.model.FrameworkMethod method,
org.junit.runner.notification.RunNotifier notifier) |
createInjectorProvider, createTest, getInjectorProvider, superMethodBlockcollectInitializationErrors, computeTestMethods, describeChild, getChildren, methodInvoker, possiblyExpectingExceptions, rules, testName, validateConstructor, validateInstanceMethods, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeoutpublic AbstractScenarioRunner(Class<?> klass, Class<? extends ScenarioProcessor> processorClass) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationErrorprotected Annotation[] getRunnerAnnotations()
protected String getProcessorName()
protected Class<? extends ScenarioProcessor> getProcessorClass()
protected void runChild(org.junit.runners.model.FrameworkMethod method,
org.junit.runner.notification.RunNotifier notifier)
runChild in class org.junit.runners.BlockJUnit4ClassRunnerprotected boolean isIgnored(org.junit.runners.model.FrameworkMethod method)
protected org.junit.runners.model.Statement methodBlock(org.junit.runners.model.FrameworkMethod method)
methodBlock in class XtextRunnerprotected abstract void doProcess(String data, ScenarioProcessor processor) throws Exception
Exceptionprotected <T> T get(Class<T> service)
protected WrappingInjectorProvider getOrCreateInjectorProvider()
getOrCreateInjectorProvider in class XtextRunnerCopyright © 2016. All Rights Reserved.