From 4e414a16fb7d08021f5467a12dede76659f3a155 Mon Sep 17 00:00:00 2001 From: Diederik Muylwyk Date: Mon, 22 Oct 2018 18:37:34 -0400 Subject: [PATCH] More additional work on FhirTerser.getValues(...) enhancements. Ready for review. --- .../test/java/ca/uhn/fhir/util/FhirTerserDstu3Test.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/hapi-fhir-structures-dstu3/src/test/java/ca/uhn/fhir/util/FhirTerserDstu3Test.java b/hapi-fhir-structures-dstu3/src/test/java/ca/uhn/fhir/util/FhirTerserDstu3Test.java index 923762241f8..047256fff6d 100644 --- a/hapi-fhir-structures-dstu3/src/test/java/ca/uhn/fhir/util/FhirTerserDstu3Test.java +++ b/hapi-fhir-structures-dstu3/src/test/java/ca/uhn/fhir/util/FhirTerserDstu3Test.java @@ -535,8 +535,6 @@ public class FhirTerserDstu3Test { public void testGetValuesWithTheCreate() { Patient p = new Patient(); - System.out.println(ourCtx.newJsonParser().setPrettyPrint(true).encodeResourceToString(p)); - List values = ourCtx.newTerser().getValues(p, "Patient.active", true); assertEquals(1, values.size()); assertTrue(values.get(0) instanceof PrimitiveType); @@ -557,12 +555,7 @@ public class FhirTerserDstu3Test { assertEquals("http://acme.org/modifierExtension", ((Extension) values.get(0)).getUrl()); assertNull(((Extension) values.get(0)).getValue()); - System.out.println(ourCtx.newJsonParser().setPrettyPrint(true).encodeResourceToString(p)); - values = ourCtx.newTerser().getValues(p, "Patient.extension('http://acme.org/parentExtension').extension('http://acme.org/childExtension')", true); - - System.out.println(ourCtx.newJsonParser().setPrettyPrint(true).encodeResourceToString(p)); - assertEquals(1, values.size()); assertTrue(values.get(0) instanceof IBaseExtension); assertTrue(values.get(0) instanceof Extension);