Package org.hl7.fhir.r5.test.utils
Class ToolsHelper
java.lang.Object
org.hl7.fhir.r5.test.utils.ToolsHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
executeCanonicalXml
(String[] args) void
executeFragments
(String[] args) executeJson
(String[] args) void
executeRoundTrip
(String[] args) protected org.xmlpull.v1.XmlPullParser
loadXml
(InputStream stream) static void
protected int
nextNoWhitespace
(org.xmlpull.v1.XmlPullParser xpp) void
processExamples
(String rootDir, Collection<String> list) void
testRoundTrip
(String rootDir, String tmpDir, Collection<String> names)
-
Constructor Details
-
ToolsHelper
public ToolsHelper()
-
-
Method Details
-
main
-
loadXml
protected org.xmlpull.v1.XmlPullParser loadXml(InputStream stream) throws org.xmlpull.v1.XmlPullParserException, IOException - Throws:
org.xmlpull.v1.XmlPullParserException
IOException
-
nextNoWhitespace
protected int nextNoWhitespace(org.xmlpull.v1.XmlPullParser xpp) throws org.xmlpull.v1.XmlPullParserException, IOException - Throws:
org.xmlpull.v1.XmlPullParserException
IOException
-
executeFragments
- Throws:
IOException
-
executeRoundTrip
public void executeRoundTrip(String[] args) throws IOException, org.hl7.fhir.exceptions.FHIRException - Throws:
IOException
org.hl7.fhir.exceptions.FHIRException
-
executeJson
- Throws:
IOException
org.hl7.fhir.exceptions.FHIRException
-
executeCanonicalXml
public void executeCanonicalXml(String[] args) throws org.hl7.fhir.exceptions.FHIRException, IOException - Throws:
org.hl7.fhir.exceptions.FHIRException
IOException
-
processExamples
public void processExamples(String rootDir, Collection<String> list) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
testRoundTrip
- Throws:
Throwable
-