Commit 8a8a9a8f authored by Matthias Betz's avatar Matthias Betz
Browse files

change unit test paths

parent 30abf9d2
Pipeline #288 passed with stage
in 19 seconds
Showing with 4 additions and 4 deletions
+4 -4
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
public class CitygmlParserTests public class CitygmlParserTests
{ {
private static final String REGION_CHOOSER_TESTDATA = "../RegionChooser/src/test/resources/testdata"; private static final String REGION_CHOOSER_TESTDATA = "src/test/resources/testdata";
private static final String COORDINATES_SHOULD_BE_PLAUSIBLE = "Min/Max Coordinates should be plausible"; private static final String COORDINATES_SHOULD_BE_PLAUSIBLE = "Min/Max Coordinates should be plausible";
private static final String COORDINATE_SHOULD_BE_A_DOUBLE = "Coordinate should be a double"; private static final String COORDINATE_SHOULD_BE_A_DOUBLE = "Coordinate should be a double";
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
public class ConvexHullCalculatorTests public class ConvexHullCalculatorTests
{ {
private static final GeometryFactory gf = new GeometryFactory(); private static final GeometryFactory gf = new GeometryFactory();
private static final Path repository = Paths.get("../RegionChooser/src/test/resources/testdata"); private static final Path repository = Paths.get("src/test/resources/testdata");
@Test @Test
public void testExtractConvexHullFromOneBuilding() throws IOException, XPathParseException { public void testExtractConvexHullFromOneBuilding() throws IOException, XPathParseException {
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
private static final String CORE_CITY_MODEL_HEADER = "<core:CityModel"; private static final String CORE_CITY_MODEL_HEADER = "<core:CityModel";
private static final String CITY_MODEL_FOOTER = "</CityModel"; private static final String CITY_MODEL_FOOTER = "</CityModel";
private static final String CORE_CITY_MODEL_FOOTER = "</core:CityModel"; private static final String CORE_CITY_MODEL_FOOTER = "</core:CityModel";
private static final Path TEST_REPOSITORY = Paths.get("../RegionChooser/src/test/resources/testdata/"); private static final Path TEST_REPOSITORY = Paths.get("src/test/resources/testdata/");
public static int countRegexMatches(String str, String subStr) { public static int countRegexMatches(String str, String subStr) {
Pattern pattern = Pattern.compile(subStr); Pattern pattern = Pattern.compile(subStr);
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
{ {
private static final WKTReader WKT_READER = new WKTReader(); private static final WKTReader WKT_READER = new WKTReader();
private static final WKTWriter WKT_WRITER = new WKTWriter(); private static final WKTWriter WKT_WRITER = new WKTWriter();
private static final Path TEST_REPOSITORY = Paths.get("../RegionChooser/src/test/resources/testdata/"); private static final Path TEST_REPOSITORY = Paths.get("src/test/resources/testdata/");
//NOTE: This test can be adapted to download a region which is too large for the server. Here with local coordinates //NOTE: This test can be adapted to download a region which is too large for the server. Here with local coordinates
@Test @Test
......
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