public class DefaultDataSetResolver extends Object implements DataSetResolver
PROPKEY_PREFIX_WITH_PACKAGE_NAME property.PROPKEY_DATA_SET_PATH_PREFIX property it is added to the file name.| Modifier and Type | Field and Description |
|---|---|
protected FileResolver |
fileResolver |
static String |
PROPKEY_DATA_SET_PATH_PREFIX |
static String |
PROPKEY_PREFIX_WITH_PACKAGE_NAME |
| Constructor and Description |
|---|
DefaultDataSetResolver() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(Properties configuration)
Initializes the resolver with the given configuration.
|
File |
resolve(Class<?> testClass,
String dataSetName)
Resolves the location for a data set with a certain name.
|
public static final String PROPKEY_PREFIX_WITH_PACKAGE_NAME
public static final String PROPKEY_DATA_SET_PATH_PREFIX
protected FileResolver fileResolver
public void init(Properties configuration)
init in interface Configurableconfiguration - The configuration, not nullpublic File resolve(Class<?> testClass, String dataSetName)
resolve in interface DataSetResolvertestClass - The test class, not nulldataSetName - The name of the data set, not nullCopyright © 2017. All rights reserved.