@Beta public abstract class AbstractScenarioRunner extends XtextRunner
Constructor and Description |
---|
AbstractScenarioRunner(java.lang.Class<?> klass,
java.lang.Class<? extends ScenarioProcessor> processorClass) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
doProcess(java.lang.String data,
ScenarioProcessor processor) |
protected <T> T |
get(java.lang.Class<T> service) |
protected WrappingInjectorProvider |
getOrCreateInjectorProvider() |
protected java.lang.Class<? extends ScenarioProcessor> |
getProcessorClass() |
protected java.lang.String |
getProcessorName() |
protected java.lang.annotation.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(java.lang.String data) |
protected void |
runChild(org.junit.runners.model.FrameworkMethod method,
org.junit.runner.notification.RunNotifier notifier) |
createInjectorProvider, createTest, getInjectorProvider, superMethodBlock
collectInitializationErrors, computeTestMethods, describeChild, getChildren, getTestRules, methodInvoker, possiblyExpectingExceptions, rules, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
public AbstractScenarioRunner(java.lang.Class<?> klass, java.lang.Class<? extends ScenarioProcessor> processorClass) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationError
protected java.lang.annotation.Annotation[] getRunnerAnnotations()
getRunnerAnnotations
in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
protected java.lang.String getProcessorName()
protected java.lang.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.BlockJUnit4ClassRunner
protected boolean isIgnored(org.junit.runners.model.FrameworkMethod method)
protected org.junit.runners.model.Statement methodBlock(org.junit.runners.model.FrameworkMethod method)
methodBlock
in class XtextRunner
protected void process(java.lang.String data) throws java.lang.Exception
java.lang.Exception
protected abstract void doProcess(java.lang.String data, ScenarioProcessor processor) throws java.lang.Exception
java.lang.Exception
protected <T> T get(java.lang.Class<T> service)
protected WrappingInjectorProvider getOrCreateInjectorProvider()
getOrCreateInjectorProvider
in class XtextRunner