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 {
|
public static boolean findTestResource(String... paths) throws IOException {
|
||||||
System.out.println(System.getProperty("user.dir"));
|
|
||||||
if (new File("../../fhir-test-cases").exists()) {
|
if (new File("../../fhir-test-cases").exists()) {
|
||||||
String n = Utilities.path(System.getProperty("user.dir"), "..", "..", "fhir-test-cases", Utilities.path(paths));
|
String n = Utilities.path(System.getProperty("user.dir"), "..", "..", "fhir-test-cases", Utilities.path(paths));
|
||||||
return new File(n).exists();
|
return new File(n).exists();
|
||||||
|
@ -459,7 +458,6 @@ public class TestingUtilities {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String loadTestResource(String... paths) throws IOException {
|
public static String loadTestResource(String... paths) throws IOException {
|
||||||
System.out.println(System.getProperty("user.dir"));
|
|
||||||
if (new File("../../fhir-test-cases").exists()) {
|
if (new File("../../fhir-test-cases").exists()) {
|
||||||
String n = Utilities.path(System.getProperty("user.dir"), "..", "..", "fhir-test-cases", Utilities.path(paths));
|
String n = Utilities.path(System.getProperty("user.dir"), "..", "..", "fhir-test-cases", Utilities.path(paths));
|
||||||
// ok, we'll resolve this locally
|
// ok, we'll resolve this locally
|
||||||
|
@ -479,7 +477,6 @@ public class TestingUtilities {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static InputStream loadTestResourceStream(String... paths) throws IOException {
|
public static InputStream loadTestResourceStream(String... paths) throws IOException {
|
||||||
System.out.println(System.getProperty("user.dir"));
|
|
||||||
if (new File("../../fhir-test-cases").exists()) {
|
if (new File("../../fhir-test-cases").exists()) {
|
||||||
String n = Utilities.path(System.getProperty("user.dir"), "..", "..", "fhir-test-cases", Utilities.path(paths));
|
String n = Utilities.path(System.getProperty("user.dir"), "..", "..", "fhir-test-cases", Utilities.path(paths));
|
||||||
return new FileInputStream(n);
|
return new FileInputStream(n);
|
||||||
|
@ -490,7 +487,6 @@ public class TestingUtilities {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static byte[] loadTestResourceBytes(String... paths) throws IOException {
|
public static byte[] loadTestResourceBytes(String... paths) throws IOException {
|
||||||
System.out.println(System.getProperty("user.dir"));
|
|
||||||
if (new File("../../fhir-test-cases").exists()) {
|
if (new File("../../fhir-test-cases").exists()) {
|
||||||
String n = Utilities.path(System.getProperty("user.dir"), "..", "..", "fhir-test-cases", Utilities.path(paths));
|
String n = Utilities.path(System.getProperty("user.dir"), "..", "..", "fhir-test-cases", Utilities.path(paths));
|
||||||
return TextFile.fileToBytes(n);
|
return TextFile.fileToBytes(n);
|
||||||
|
|
Loading…
Reference in New Issue