reduce memory use in tests?
This commit is contained in:
parent
bbdb3dea89
commit
4f8a8108a4
|
@ -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<Base> focus) {
|
||||
System.out.println(argument + ": " + fp.convertToString(focus));
|
||||
// System.out.println(argument + ": " + fp.convertToString(focus));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue