get all tests passing.
This commit is contained in:
parent
f9bdd5c9f0
commit
d5fff86e8e
|
@ -582,6 +582,8 @@ public class Utilities {
|
|||
String ev = System.getenv(a.replace("[", "").replace("]", ""));
|
||||
if (ev != null) {
|
||||
a = ev;
|
||||
} else {
|
||||
a = "null";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -54,7 +54,7 @@ public class UtilitiesTests {
|
|||
return OSX_JAVA_HOME;
|
||||
} else if (os.contains(LINUX)) {
|
||||
return LINUX_JAVA_HOME;
|
||||
} else if (os.contains(WINDOWS)) {
|
||||
} else if (os.toUpperCase().contains(WINDOWS)) {
|
||||
return WIN_JAVA_HOME;
|
||||
} else {
|
||||
throw new IllegalStateException("OS not recognized...cannot verify created directories.");
|
||||
|
@ -67,7 +67,7 @@ public class UtilitiesTests {
|
|||
return OSX_USER_DIR;
|
||||
} else if (os.contains(LINUX)) {
|
||||
return LINUX_USER_DIR;
|
||||
} else if (os.contains(WINDOWS)) {
|
||||
} else if (os.toUpperCase().contains(WINDOWS)) {
|
||||
return WIN_USER_DIR;
|
||||
} else {
|
||||
throw new IllegalStateException("OS not recognized...cannot verify created directories.");
|
||||
|
@ -80,7 +80,7 @@ public class UtilitiesTests {
|
|||
return getOsxTempDir();
|
||||
} else if (os.contains(LINUX)) {
|
||||
return LINUX_TEMP_DIR;
|
||||
} else if (os.contains(WINDOWS)) {
|
||||
} else if (os.toUpperCase().contains(WINDOWS)) {
|
||||
return WIN_TEMP_DIR;
|
||||
} else {
|
||||
throw new IllegalStateException("OS not recognized...cannot verify created directories.");
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
package org.hl7.fhir.validation.tests;
|
||||
|
||||
import org.hl7.fhir.conversion.tests.SnapShotGenerationTestsX;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.Suite;
|
||||
import org.junit.runners.Suite.SuiteClasses;
|
||||
|
||||
@RunWith(Suite.class)
|
||||
@SuiteClasses({
|
||||
SnapShotGenerationTestsX.class,
|
||||
ValidationTestSuite.class,
|
||||
ValidationEngineTests.class,
|
||||
JsonSchemaTests.class,
|
||||
NativeHostServiceTester.class,
|
||||
// CDAValidationTestCase.class,
|
||||
ProfileComparisonTests.class})
|
||||
public class AllR5ValidationTests {
|
||||
|
||||
}
|
|
@ -302,16 +302,16 @@ public class ValidationTestSuite implements IEvaluationContext, IValidatorResour
|
|||
for (ValidationMessage vm : errors) {
|
||||
if (vm.getLevel() == IssueSeverity.FATAL || vm.getLevel() == IssueSeverity.ERROR) {
|
||||
ec++;
|
||||
System.out.println(vm.getDisplay());
|
||||
// System.out.println(vm.getDisplay());
|
||||
errLocs.add(vm.getLocation());
|
||||
}
|
||||
if (vm.getLevel() == IssueSeverity.WARNING) {
|
||||
wc++;
|
||||
System.out.println(vm.getDisplay());
|
||||
// System.out.println(vm.getDisplay());
|
||||
}
|
||||
if (vm.getLevel() == IssueSeverity.INFORMATION) {
|
||||
hc++;
|
||||
System.out.println(vm.getDisplay());
|
||||
// System.out.println(vm.getDisplay());
|
||||
}
|
||||
}
|
||||
if (!TestingUtilities.context(version).isNoTerminologyServer() || !focus.has("tx-dependent")) {
|
||||
|
|
Loading…
Reference in New Issue