Revision 4344fddf
Added by Andreas Müller almost 8 years ago
cdmlib-io/src/test/java/eu/etaxonomy/cdm/io/specimen/excel/in/ExcelSpecimenImportExampleTest.java | ||
---|---|---|
101 | 101 |
@Test |
102 | 102 |
// @Ignore //does not run together with testResultSet or others |
103 | 103 |
@DataSets({ |
104 |
@DataSet(loadStrategy=CleanSweepInsertLoadStrategy.class, value="../../../ClearDB_with_Terms_DataSet.xml"),
|
|
105 |
@DataSet("../../../TermsDataSet-with_auditing_info.xml")
|
|
104 |
@DataSet(loadStrategy=CleanSweepInsertLoadStrategy.class, value="/eu/etaxonomy/cdm/database/ClearDB_with_Terms_DataSet.xml"),
|
|
105 |
@DataSet("/eu/etaxonomy/cdm/database/TermsDataSet-with_auditing_info.xml")
|
|
106 | 106 |
}) |
107 | 107 |
public void testDoInvoke() { |
108 | 108 |
boolean result = defaultImport.invoke(configurator).isSuccess(); |
... | ... | |
118 | 118 |
@Test |
119 | 119 |
// @Ignore //does not run together with testResultSet or others |
120 | 120 |
@DataSets({ |
121 |
@DataSet(loadStrategy=CleanSweepInsertLoadStrategy.class, value="../../../ClearDB_with_Terms_DataSet.xml"),
|
|
122 |
@DataSet("../../../TermsDataSet-with_auditing_info.xml")
|
|
121 |
@DataSet(loadStrategy=CleanSweepInsertLoadStrategy.class, value="/eu/etaxonomy/cdm/database/ClearDB_with_Terms_DataSet.xml"),
|
|
122 |
@DataSet("/eu/etaxonomy/cdm/database/TermsDataSet-with_auditing_info.xml")
|
|
123 | 123 |
}) |
124 | 124 |
public void testDoInvokeXslx() { |
125 | 125 |
boolean result = defaultImport.invoke(configurator).isSuccess(); |
Also available in: Unified diff
Adapt test dataset loading to standard path