@Beta public abstract class ScenarioProcessor extends Object
processFile(String) and optionally
preProcess(String). The processor instance is created by
the guice injector that is returned by the IInjectorProvider
of the test class.| Constructor and Description |
|---|
ScenarioProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected <T> T |
get(Class<T> service)
Obtain an instance of the given class from the injector.
|
String |
preProcess(String data)
Optional pre processing of the input data to reduce the number of permutations.
|
abstract void |
processFile(String data)
Implements the smoke test for the given input data.
|
protected <T> T get(Class<T> service)
scenarios to obtain
a resource or a lexer.public String preProcess(String data)
null if the data should be skipped. The test will be marked as ignored.Copyright © 2016. All Rights Reserved.