Updated accessors in main convertor files.

This commit is contained in:
markiantorno 2020-02-12 17:00:43 -05:00
parent dc0559c3e7
commit dacaf3f6d7
11 changed files with 7335 additions and 6351 deletions

View File

@ -36,7 +36,9 @@ public class BaseDateTimeTypeTest {
@Test
public void equalsUsingFhirPathRulesOther() {
// Setting timezone for this test. Grahame is in UTC+11, Travis is in GMT, and I'm here in Toronto, Canada with
// all my time based tests failing locally...
TimeZone.setDefault(TimeZone.getTimeZone("UTC+1100")); // "Grahame Time"
// Exact same - Same timezone
assertTrue( compareDateTimes("2001-01-02T11:22:33.444Z", "2001-01-02T11:22:33.444Z"));

View File

@ -147,6 +147,9 @@ public class FHIRPathTests {
@SuppressWarnings("deprecation")
@Test
public void test() throws FileNotFoundException, IOException, FHIRException, org.hl7.fhir.exceptions.FHIRException, UcumException {
// Setting timezone for this test. Grahame is in UTC+11, Travis is in GMT, and I'm here in Toronto, Canada with
// all my time based tests failing locally...
TimeZone.setDefault(TimeZone.getTimeZone("UTC+1100"));
if (fp == null)
fp = new FHIRPathEngine(TestingUtilities.context());