Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eric Duminil
RegionChooser
Commits
8f28b8f6
Commit
8f28b8f6
authored
Dec 02, 2019
by
Matthias Betz
Browse files
changed test paths
parent
0f887d1f
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/test/java/eu/simstadt/geo/fast_xml_parser/CitygmlParserTests.java
View file @
8f28b8f6
...
...
@@ -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"
;
...
...
src/test/java/eu/simstadt/geo/fast_xml_parser/ConvexHullCalculatorTests.java
View file @
8f28b8f6
...
...
@@ -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
{
...
...
src/test/java/eu/simstadt/regionchooser/RegionExtractorTests.java
View file @
8f28b8f6
...
...
@@ -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
);
...
...
src/test/java/eu/simstadt/regionchooser/RegionExtractorWithDifferentInputTests.java
View file @
8f28b8f6
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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