diff --git a/org.hl7.fhir.validation/src/test/java/org/hl7/fhir/conversion/tests/SnapShotGenerationXTests.java b/org.hl7.fhir.validation/src/test/java/org/hl7/fhir/conversion/tests/SnapShotGenerationXTests.java index cd6342a49..b98ab090f 100644 --- a/org.hl7.fhir.validation/src/test/java/org/hl7/fhir/conversion/tests/SnapShotGenerationXTests.java +++ b/org.hl7.fhir.validation/src/test/java/org/hl7/fhir/conversion/tests/SnapShotGenerationXTests.java @@ -108,7 +108,7 @@ public class SnapShotGenerationXTests { sort = "true".equals(test.getAttribute("sort")); fail = "true".equals(test.getAttribute("fail")); newSliceProcessing = !"false".equals(test.getAttribute("new-slice-processing")); - debug = "true".equals(test.getAttribute("debug")); + debug = false; // "true".equals(test.getAttribute("debug")); id = test.getAttribute("id"); include = test.getAttribute("include"); @@ -327,7 +327,7 @@ public class SnapShotGenerationXTests { @Override public boolean log(String argument, List focus) { - System.out.println(argument + ": " + fp.convertToString(focus)); +// System.out.println(argument + ": " + fp.convertToString(focus)); return true; } diff --git a/org.hl7.fhir.validation/src/test/java/org/hl7/fhir/validation/tests/ValidationTests.java b/org.hl7.fhir.validation/src/test/java/org/hl7/fhir/validation/tests/ValidationTests.java index 8a970b599..7a63e9152 100644 --- a/org.hl7.fhir.validation/src/test/java/org/hl7/fhir/validation/tests/ValidationTests.java +++ b/org.hl7.fhir.validation/src/test/java/org/hl7/fhir/validation/tests/ValidationTests.java @@ -78,6 +78,7 @@ import org.hl7.fhir.validation.instance.InstanceValidator; import org.junit.AfterClass; import org.junit.Assert; import org.junit.Test; +import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.Assertions; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; @@ -134,6 +135,11 @@ public class ValidationTests implements IEvaluationContext, IValidatorResourceFe this.content = content; } + @AfterAll + public void cleanup() { + ve = null; + } + @SuppressWarnings("deprecation") @Test public void test() throws Exception {