Loading histream-import/src/test/java/de/sekmi/histream/etl/TestETLSupplier.java +1 −1 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ public class TestETLSupplier { @Before public void loadConfiguration() throws IOException, ParseException{ os = ETLObservationSupplier.load(getClass().getResource("/test-1-datasource.xml")); os = ETLObservationSupplier.load(getClass().getResource("/data/test-1-datasource.xml")); } @After Loading histream-import/src/test/java/de/sekmi/histream/etl/TestRowSupplier.java +1 −1 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ public class TestRowSupplier { @Test public void testLoadRows() throws IOException{ try( FileRowSupplier r = new FileRowSupplier(getClass().getResource("/test-1-patients.txt"), "\t") ){ try( FileRowSupplier r = new FileRowSupplier(getClass().getResource("/data/test-1-patients.txt"), "\t") ){ String[] h = r.getHeaders(); Assert.assertEquals("patid", h[0]); Assert.assertEquals("nachname", h[2]); Loading histream-import/src/test/java/de/sekmi/histream/etl/config/TestMarshall.java +1 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ public class TestMarshall { @Test public void testUnmarshall() throws IOException{ try( InputStream in = getClass().getResourceAsStream("/test-1-datasource.xml") ){ try( InputStream in = getClass().getResourceAsStream("/data/test-1-datasource.xml") ){ DataSource ds = JAXB.unmarshal(in, DataSource.class); Assert.assertNotNull(ds.meta); Assert.assertEquals("replace-source",ds.meta.etlStrategy); Loading histream-import/src/test/java/de/sekmi/histream/etl/config/TestReadTables.java +1 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ public class TestReadTables { @Before public void loadConfiguration() throws IOException{ URL url = getClass().getResource("/test-1-datasource.xml"); URL url = getClass().getResource("/data/test-1-datasource.xml"); ds = JAXB.unmarshal(url, DataSource.class); ds.getMeta().setLocation(url); of = new ObservationFactoryImpl(); Loading histream-import/src/test/resources/test-1-datasource.xml→histream-import/src/test/resources/data/test-1-datasource.xml +0 −0 File moved. View file Loading
histream-import/src/test/java/de/sekmi/histream/etl/TestETLSupplier.java +1 −1 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ public class TestETLSupplier { @Before public void loadConfiguration() throws IOException, ParseException{ os = ETLObservationSupplier.load(getClass().getResource("/test-1-datasource.xml")); os = ETLObservationSupplier.load(getClass().getResource("/data/test-1-datasource.xml")); } @After Loading
histream-import/src/test/java/de/sekmi/histream/etl/TestRowSupplier.java +1 −1 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ public class TestRowSupplier { @Test public void testLoadRows() throws IOException{ try( FileRowSupplier r = new FileRowSupplier(getClass().getResource("/test-1-patients.txt"), "\t") ){ try( FileRowSupplier r = new FileRowSupplier(getClass().getResource("/data/test-1-patients.txt"), "\t") ){ String[] h = r.getHeaders(); Assert.assertEquals("patid", h[0]); Assert.assertEquals("nachname", h[2]); Loading
histream-import/src/test/java/de/sekmi/histream/etl/config/TestMarshall.java +1 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ public class TestMarshall { @Test public void testUnmarshall() throws IOException{ try( InputStream in = getClass().getResourceAsStream("/test-1-datasource.xml") ){ try( InputStream in = getClass().getResourceAsStream("/data/test-1-datasource.xml") ){ DataSource ds = JAXB.unmarshal(in, DataSource.class); Assert.assertNotNull(ds.meta); Assert.assertEquals("replace-source",ds.meta.etlStrategy); Loading
histream-import/src/test/java/de/sekmi/histream/etl/config/TestReadTables.java +1 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ public class TestReadTables { @Before public void loadConfiguration() throws IOException{ URL url = getClass().getResource("/test-1-datasource.xml"); URL url = getClass().getResource("/data/test-1-datasource.xml"); ds = JAXB.unmarshal(url, DataSource.class); ds.getMeta().setLocation(url); of = new ObservationFactoryImpl(); Loading
histream-import/src/test/resources/test-1-datasource.xml→histream-import/src/test/resources/data/test-1-datasource.xml +0 −0 File moved. View file