}
public void gatherDataSetInfos(Method m, Description desc) {
logger.debug("Gathering DataSetInfos for method " + m);
DbTestAnnotationInfo annoInfo = DbTestAnnotationHandler.getDbTestAnnotationInfo(m);
DataSetConfigInfo configInfo = DbTestAnnotationHandler.getDataSetConfigInfo(annoInfo);
// Imports
for (ReflectUtils.AnnotationInfo<DataSet> dsImport : annoInfo.getDataSetAnnos()) {
// Clean insert
this.dataSetImports.add(this.getResourceString("", dsImport.getAnnotation().value()));
// Inserts
for (String insert : dsImport.getAnnotation().inserts()) {
this.dataSetImports.add(this.getResourceString(configInfo.getResourcePrefix(), insert));
}
}
// Export
for (ReflectUtils.AnnotationInfo<DataSetExport> dsExport : annoInfo.getDataSetExportAnnos()) {
// Export
this.dataSetExports.add(this.getResourceString(configInfo.getResourcePrefix()
, new DbTestAnnotationHandler(m, desc).getExportFileName(dsExport.getAnnotation())));
}
}