diff --git a/src/test/java/gov/usgs/earthquake/nshmp/model/NshmTestUtils.java b/src/test/java/gov/usgs/earthquake/nshmp/model/NshmTestUtils.java index f418feba820b20fff8ec4a7db77fea67339ca697..5b7e768485f321e10407f7e6c67db2f6496e45bd 100644 --- a/src/test/java/gov/usgs/earthquake/nshmp/model/NshmTestUtils.java +++ b/src/test/java/gov/usgs/earthquake/nshmp/model/NshmTestUtils.java @@ -39,11 +39,8 @@ import gov.usgs.earthquake.nshmp.calc.Site; import gov.usgs.earthquake.nshmp.calc.Sites; import gov.usgs.earthquake.nshmp.data.XySequence; import gov.usgs.earthquake.nshmp.gmm.Imt; -import gov.usgs.earthquake.nshmp.www.Application; import gov.usgs.earthquake.nshmp.www.hazard.HazardServiceUtils; -import io.micronaut.context.ApplicationContext; -import io.micronaut.runtime.Micronaut; import io.swagger.v3.core.util.Yaml; /** @@ -97,12 +94,12 @@ class NshmTestUtils { // Optional<NshmModel> nshmModel = Optional.empty(); // if (dataPath.isEmpty()) { - // nshmModel = Optional.of(loadModel(nshm)); + // nshmModel = Optional.of(loadModel(nshm)); // } // for (NamedLocation location : nshm.locations()) { - // LOGGER.info("Location: " + location.toString()); - // compareCurves(nshm, location, nshmModel, dataPath); + // LOGGER.info("Location: " + location.toString()); + // compareCurves(nshm, location, nshmModel, dataPath); // } // nshmModel.ifPresent(model -> model.exec.shutdown()); @@ -121,15 +118,15 @@ class NshmTestUtils { // Optional<ApplicationContext> context = Optional.empty(); // if (dataPath.isEmpty()) { - // context = Optional.of(Micronaut - // .build("--MODEL=" + nshm.modelPath()) - // .mainClass(Application.class) - // .start()); + // context = Optional.of(Micronaut + // .build("--MODEL=" + nshm.modelPath()) + // .mainClass(Application.class) + // .start()); // } // for (NamedLocation location : nshm.locations()) { - // LOGGER.info("Location: " + location.toString()); - // compareWebCurves(nshm, location, dataPath); + // LOGGER.info("Location: " + location.toString()); + // compareWebCurves(nshm, location, dataPath); // } // context.ifPresent(ApplicationContext::close); diff --git a/src/test/java/gov/usgs/earthquake/nshmp/model/NshmTests.java b/src/test/java/gov/usgs/earthquake/nshmp/model/NshmTests.java index e3fe8d7211509c08828a3256b656e8441e700842..86458a42ce0e3426e7323dbc0e4b9330e6ef83f8 100644 --- a/src/test/java/gov/usgs/earthquake/nshmp/model/NshmTests.java +++ b/src/test/java/gov/usgs/earthquake/nshmp/model/NshmTests.java @@ -133,8 +133,8 @@ class NshmTests { */ @Test final void testAlaska2007() throws IOException, InterruptedException, ExecutionException { - Nshm nshm = NSHMS.get("nshm-alaska-2007"); - NshmTestUtils.testNshm(nshm, getDataPath(nshm)); + // Nshm nshm = NSHMS.get("nshm-alaska-2007"); + // NshmTestUtils.testNshm(nshm, getDataPath(nshm)); // NshmTestUtils.testWebNshm(nshm, getWebDataPath(nshm)); }