mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-02 01:19:14 +00:00
Release new version
This commit is contained in:
parent
9da16f9b2a
commit
ea5b5d65c3
@ -443,7 +443,6 @@ public class TestingUtilities {
|
||||
}
|
||||
|
||||
public static boolean findTestResource(String... paths) throws IOException {
|
||||
System.out.println(System.getProperty("user.dir"));
|
||||
if (new File("../../fhir-test-cases").exists()) {
|
||||
String n = Utilities.path(System.getProperty("user.dir"), "..", "..", "fhir-test-cases", Utilities.path(paths));
|
||||
return new File(n).exists();
|
||||
@ -459,7 +458,6 @@ public class TestingUtilities {
|
||||
}
|
||||
|
||||
public static String loadTestResource(String... paths) throws IOException {
|
||||
System.out.println(System.getProperty("user.dir"));
|
||||
if (new File("../../fhir-test-cases").exists()) {
|
||||
String n = Utilities.path(System.getProperty("user.dir"), "..", "..", "fhir-test-cases", Utilities.path(paths));
|
||||
// ok, we'll resolve this locally
|
||||
@ -479,7 +477,6 @@ public class TestingUtilities {
|
||||
}
|
||||
|
||||
public static InputStream loadTestResourceStream(String... paths) throws IOException {
|
||||
System.out.println(System.getProperty("user.dir"));
|
||||
if (new File("../../fhir-test-cases").exists()) {
|
||||
String n = Utilities.path(System.getProperty("user.dir"), "..", "..", "fhir-test-cases", Utilities.path(paths));
|
||||
return new FileInputStream(n);
|
||||
@ -490,7 +487,6 @@ public class TestingUtilities {
|
||||
}
|
||||
|
||||
public static byte[] loadTestResourceBytes(String... paths) throws IOException {
|
||||
System.out.println(System.getProperty("user.dir"));
|
||||
if (new File("../../fhir-test-cases").exists()) {
|
||||
String n = Utilities.path(System.getProperty("user.dir"), "..", "..", "fhir-test-cases", Utilities.path(paths));
|
||||
return TextFile.fileToBytes(n);
|
||||
|
Loading…
x
Reference in New Issue
Block a user