Revision de8249cf
Added by Andreas Müller about 3 years ago
cdmlib-io/src/test/java/eu/etaxonomy/cdm/io/jaxb/CdmImporterTest.java | ||
---|---|---|
33 | 33 |
import org.unitils.dbunit.annotation.ExpectedDataSet; |
34 | 34 |
import org.unitils.spring.annotation.SpringBeanByType; |
35 | 35 |
|
36 |
import eu.etaxonomy.cdm.common.URI; |
|
36 | 37 |
import eu.etaxonomy.cdm.test.integration.CdmTransactionalIntegrationTest; |
37 | 38 |
|
38 | 39 |
public class CdmImporterTest extends CdmTransactionalIntegrationTest{ |
... | ... | |
45 | 46 |
@Before |
46 | 47 |
public void setUp() throws URISyntaxException { |
47 | 48 |
URL url = this.getClass().getResource("/eu/etaxonomy/cdm/io/jaxb/CdmImporterTest-input.xml"); |
48 |
configurator = JaxbImportConfigurator.NewInstance(url.toURI(),null);
|
|
49 |
configurator = JaxbImportConfigurator.NewInstance(URI.fromUrl(url),null);
|
|
49 | 50 |
} |
50 | 51 |
|
51 | 52 |
@Test |
Also available in: Unified diff
ref #9114 add URI Wrapper and replace all java.net.URI occurrences by the wrapper in cdmlib