Commit 3da98b3e authored by Luna Riegel's avatar Luna Riegel
Browse files

Test: Adjust testcase to reflect current Implementation

parent 0a833640
......@@ -44,12 +44,6 @@ public class DataBaseHandlerTest {
}
}
@Test
public void testSetup() throws SQLException {
try (Connection con = H2GISDBFactory.openSpatialDataBase("cd_db")) {
assertNotNull(con);
}
}
@Test
public void testGetAllFeatures() {
......@@ -235,8 +229,6 @@ public class DataBaseHandlerTest {
@Test
public void testMarshallingRoundTripSimpleSolid() throws InvalidGmlFileException, CityGmlParseException {
try (Connection con = H2GISDBFactory.openSpatialDataBase("cd_db")) {
assertNotNull(con);
ParserConfiguration config = new ParserConfiguration(8, false);
CityDoctorModel model = CityGmlParser.parseCityGmlFile("src/test/resources/SimpleSolid_SrefBS.gml", config);
......@@ -251,16 +243,11 @@ public class DataBaseHandlerTest {
assertCityObjectEquality(b, b2);
} catch (SQLException e) {
throw new RuntimeException(e);
}
}
@Test
public void testMarshallingRoundTripFzk() throws InvalidGmlFileException, CityGmlParseException {
try (Connection con = H2GISDBFactory.openSpatialDataBase("cd_db")) {
assertNotNull(con);
ParserConfiguration config = new ParserConfiguration(8, false);
CityDoctorModel model = CityGmlParser.parseCityGmlFile("src/test/resources/FZK_haus.gml", config);
......@@ -276,9 +263,6 @@ public class DataBaseHandlerTest {
assertCityObjectEquality(b, b2);
} catch (SQLException e) {
throw new RuntimeException(e);
}
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment