Package org.hl7.fhir.utilities.tests
Class BaseTestingUtilities
java.lang.Object
org.hl7.fhir.utilities.tests.BaseTestingUtilities
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcreateParentDirIfNotExists(Path target) static booleanfindTestResource(String... paths) static StringloadTestResource(String... paths) static byte[]loadTestResourceBytes(String... paths) static InputStreamloadTestResourceStream(String... paths) static voidstatic Stringstatic StringtempFolder(String name)
-
Field Details
-
silent
-
-
Constructor Details
-
BaseTestingUtilities
public BaseTestingUtilities()
-
-
Method Details
-
loadTestResource
- Throws:
IOException
-
loadTestResourceStream
- Throws:
IOException
-
loadTestResourceBytes
- Throws:
IOException
-
findTestResource
- Throws:
IOException
-
tempFile
- Throws:
IOException
-
tempFolder
- Throws:
IOException
-
setFhirTestCasesDirectory
-
createParentDirIfNotExists
- Throws:
IOException
-