org.unitils.dbunit.datasetfactory
Interface DataSetResolver
- All Superinterfaces:
- Configurable
- All Known Implementing Classes:
- DefaultDataSetResolver
public interface DataSetResolver
- extends Configurable
Resolves the location for a data set with a certain name.
- Author:
- Tim Ducheyne, Filip Neven, Tuomas Jormola
Method Summary |
File |
resolve(Class<?> testClass,
String dataSetName)
Resolves the location for a data set with a certain name. |
resolve
File resolve(Class<?> testClass,
String dataSetName)
- Resolves the location for a data set with a certain name.
An exception is raised if the file could not be found.
- Parameters:
testClass
- The test class, not nulldataSetName
- The name of the data set, not null
- Returns:
- The data set file, not null
Copyright © 2011. All Rights Reserved.