Package org.hl7.fhir.r5.test.utils
Class ToolsHelper
java.lang.Object
org.hl7.fhir.r5.test.utils.ToolsHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteCanonicalXml(String[] args) voidexecuteFragments(String[] args) executeJson(String[] args) voidexecuteRoundTrip(String[] args) protected org.xmlpull.v1.XmlPullParserloadXml(InputStream stream) static voidprotected intnextNoWhitespace(org.xmlpull.v1.XmlPullParser xpp) voidprocessExamples(String rootDir, Collection<String> list) voidtestRoundTrip(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.XmlPullParserExceptionIOException
-
nextNoWhitespace
protected int nextNoWhitespace(org.xmlpull.v1.XmlPullParser xpp) throws org.xmlpull.v1.XmlPullParserException, IOException - Throws:
org.xmlpull.v1.XmlPullParserExceptionIOException
-
executeFragments
- Throws:
IOException
-
executeRoundTrip
public void executeRoundTrip(String[] args) throws IOException, org.hl7.fhir.exceptions.FHIRException - Throws:
IOExceptionorg.hl7.fhir.exceptions.FHIRException
-
executeJson
- Throws:
IOExceptionorg.hl7.fhir.exceptions.FHIRException
-
executeCanonicalXml
public void executeCanonicalXml(String[] args) throws org.hl7.fhir.exceptions.FHIRException, IOException - Throws:
org.hl7.fhir.exceptions.FHIRExceptionIOException
-
processExamples
public void processExamples(String rootDir, Collection<String> list) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
testRoundTrip
- Throws:
Throwable
-