Skip to content
Snippets Groups Projects
Commit dd91b2fd authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

add check

parent 9138ef3d
No related branches found
No related tags found
1 merge request!793Test Web Service
...@@ -195,8 +195,9 @@ class NshmTestUtils { ...@@ -195,8 +195,9 @@ class NshmTestUtils {
Nshm nshm, Nshm nshm,
NamedLocation location, NamedLocation location,
Optional<Path> dataPath) throws InterruptedException, ExecutionException { Optional<Path> dataPath) throws InterruptedException, ExecutionException {
Map<String, XySequence> actual = Map<String, XySequence> actual = dataPath.isPresent()
HazardServiceUtils.generateActual(location, nshm.imts()); ? readExpected(nshm, location, dataPath)
: HazardServiceUtils.generateActual(location, nshm.imts());
Map<String, XySequence> expected = readExpected(nshm, location, Optional.empty()); Map<String, XySequence> expected = readExpected(nshm, location, Optional.empty());
for (String key : actual.keySet()) { for (String key : actual.keySet()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment