Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eric Duminil
RegionChooser
Commits
8a8a9a8f
Commit
8a8a9a8f
authored
5 years ago
by
Matthias Betz
Browse files
Options
Download
Email Patches
Plain Diff
change unit test paths
parent
30abf9d2
Pipeline
#288
passed with stage
in 19 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/test/java/eu/simstadt/geo/fast_xml_parser/CitygmlParserTests.java
+1
-1
...a/eu/simstadt/geo/fast_xml_parser/CitygmlParserTests.java
src/test/java/eu/simstadt/geo/fast_xml_parser/ConvexHullCalculatorTests.java
+1
-1
...mstadt/geo/fast_xml_parser/ConvexHullCalculatorTests.java
src/test/java/eu/simstadt/regionchooser/RegionExtractorTests.java
+1
-1
.../java/eu/simstadt/regionchooser/RegionExtractorTests.java
src/test/java/eu/simstadt/regionchooser/RegionExtractorWithDifferentInputTests.java
+1
-1
...regionchooser/RegionExtractorWithDifferentInputTests.java
with
4 additions
and
4 deletions
+4
-4
src/test/java/eu/simstadt/geo/fast_xml_parser/CitygmlParserTests.java
+
1
-
1
View file @
8a8a9a8f
...
...
@@ -11,7 +11,7 @@
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
COORDINATE_SHOULD_BE_A_DOUBLE
=
"Coordinate should be a double"
;
...
...
This diff is collapsed.
Click to expand it.
src/test/java/eu/simstadt/geo/fast_xml_parser/ConvexHullCalculatorTests.java
+
1
-
1
View file @
8a8a9a8f
...
...
@@ -21,7 +21,7 @@
public
class
ConvexHullCalculatorTests
{
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
public
void
testExtractConvexHullFromOneBuilding
()
throws
IOException
,
XPathParseException
{
...
...
This diff is collapsed.
Click to expand it.
src/test/java/eu/simstadt/regionchooser/RegionExtractorTests.java
+
1
-
1
View file @
8a8a9a8f
...
...
@@ -18,7 +18,7 @@
private
static
final
String
CORE_CITY_MODEL_HEADER
=
"<core:CityModel"
;
private
static
final
String
CITY_MODEL_FOOTER
=
"</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
)
{
Pattern
pattern
=
Pattern
.
compile
(
subStr
);
...
...
This diff is collapsed.
Click to expand it.
src/test/java/eu/simstadt/regionchooser/RegionExtractorWithDifferentInputTests.java
+
1
-
1
View file @
8a8a9a8f
...
...
@@ -22,7 +22,7 @@
{
private
static
final
WKTReader
WKT_READER
=
new
WKTReader
();
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
@Test
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets