public class EvlAcceptanceTestUtil extends EolAcceptanceTestUtil
Modifier and Type | Field and Description |
---|---|
static List<String[]> |
allInputs
Nx3 array where N is number of test inputs;
0 is the script path, 1 is the model path, 2 is the metamodel path. |
static List<String[]> |
cookbookInputs
Nx3 array where N is number of test inputs;
0 is the script path, 1 is the model path, 2 is the metamodel path. |
static String |
cookbookMetamodel |
static String[] |
cookbookModels |
static String[] |
cookbookScripts |
static List<String[]> |
imdbInputs
Nx3 array where N is number of test inputs;
0 is the script path, 1 is the model path, 2 is the metamodel path. |
static String |
imdbMetamodel |
static String[] |
imdbModels |
static String[] |
imdbScripts |
static List<String[]> |
javaInputs
Nx3 array where N is number of test inputs;
0 is the script path, 1 is the model path, 2 is the metamodel path. |
static String |
javaMetamodel |
static String[] |
javaModels |
static String[] |
javaScripts |
static String |
metamodelsRoot |
static String |
modelsRoot |
static String |
scriptsRoot |
static String |
testsBase |
static List<String[]> |
thriftInputs
Nx3 array where N is number of test inputs;
0 is the script path, 1 is the model path, 2 is the metamodel path. |
static String |
thriftMetamodel |
static String[] |
thriftModels |
static String[] |
thriftScripts |
THREADS
Modifier | Constructor and Description |
---|---|
protected |
EvlAcceptanceTestUtil() |
Modifier and Type | Method and Description |
---|---|
static List<String[]> |
addAllInputs(String[] scripts,
String[] models,
String metamodel) |
static Collection<EvlRunConfiguration> |
getScenarios(List<String[]> testInputs,
boolean includeTest,
Collection<Supplier<? extends IEvlModule>> moduleGetters) |
static Collection<EvlRunConfiguration> |
getScenarios(List<String[]> testInputs,
boolean includeTest,
Collection<Supplier<? extends IEvlModule>> moduleGetters,
Function<String[],Integer> idCalculator)
A list of pre-configured Runnables which will call the execute() method on the provided module.
|
static Collection<EvlRunConfiguration> |
getScenarios(Supplier<? extends IEvlModule>... moduleGetters) |
static Collection<Supplier<? extends IEvlModule>> |
modules() |
static Collection<Supplier<? extends IEvlModule>> |
modules(boolean includeStandard) |
addAllInputs, createModelProperties, executeReturnException, getScenarioID, getScenarios, parallelModules, testExceptionEquivalence, testExceptionEquivalenceBetweenModules, unwrapModules
getTestBaseDir, printIfDifferent, testCollectionsHaveSameElements
public static final String testsBase
public static final String metamodelsRoot
public static final String scriptsRoot
public static final String modelsRoot
public static final String javaMetamodel
public static final String[] javaModels
public static final String[] javaScripts
public static final String thriftMetamodel
public static final String[] thriftScripts
public static final String[] thriftModels
public static final String cookbookMetamodel
public static final String[] cookbookScripts
public static final String[] cookbookModels
public static final String imdbMetamodel
public static final String[] imdbScripts
public static final String[] imdbModels
public static final List<String[]> allInputs
public static final List<String[]> javaInputs
public static final List<String[]> thriftInputs
public static final List<String[]> cookbookInputs
public static Collection<EvlRunConfiguration> getScenarios(List<String[]> testInputs, boolean includeTest, Collection<Supplier<? extends IEvlModule>> moduleGetters, Function<String[],Integer> idCalculator) throws Exception
modules
- A collection of IEvlModules to use in combination with each set of test data.Exception
public static Collection<Supplier<? extends IEvlModule>> modules(boolean includeStandard)
public static List<String[]> addAllInputs(String[] scripts, String[] models, String metamodel)
@SafeVarargs public static Collection<EvlRunConfiguration> getScenarios(Supplier<? extends IEvlModule>... moduleGetters) throws Exception
Exception
public static Collection<EvlRunConfiguration> getScenarios(List<String[]> testInputs, boolean includeTest, Collection<Supplier<? extends IEvlModule>> moduleGetters) throws Exception
Exception
public static Collection<Supplier<? extends IEvlModule>> modules()
Copyright © 2020. All rights reserved.