public class TestModelRepository extends Object
It is assumed this class is run from a sub-folder of lsps-app-it e.g. lsps-app-it-selenium or lsps-app-it-integration. All paths are resolved relative to this level of directory nesting i.e. it is assumed that the test models are located at ../test-cases/*.
All selenium tests are divided into groups, the model name XXX_YY_Anything denotes the
Modifier and Type | Field and Description |
---|---|
static String |
RELEASE_VERSION
The LSPS release version.
|
static File |
TEST_DIRECTORY
The directory where default tests are
|
Modifier and Type | Method and Description |
---|---|
static ModelAssembly |
getModelAssembly(String baseModuleName,
String baseModuleVersion) |
static ModelAssembly |
getModelAssembly(String baseModuleName,
String baseModuleVersion,
File pathToProject) |
public static final File TEST_DIRECTORY
public static final String RELEASE_VERSION
public static ModelAssembly getModelAssembly(String baseModuleName, String baseModuleVersion, File pathToProject) throws IOException
baseModuleName
- The name of the base module from which we build the model.baseModuleVersion
- The base module version we start with.pathToProject
- the path to the folder containing the .project file and modules.IOException
public static ModelAssembly getModelAssembly(String baseModuleName, String baseModuleVersion)
baseModuleName
- The name of the base module from which we build the model.baseModuleVersion
- The base module version we start with.Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.