From 44d41ee523a966e91434255d9a92d137fda7b867 Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Thu, 13 Feb 2020 21:22:54 +1100 Subject: [PATCH] register additional tests --- .../src/test/java/org/hl7/fhir/r5/test/AllR5Tests.java | 1 + .../src/test/java/org/hl7/fhir/r5/test/UtilitiesTests.java | 3 ++- release.bat | 2 -- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/test/AllR5Tests.java b/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/test/AllR5Tests.java index f6191b0f2..5bf6c714c 100644 --- a/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/test/AllR5Tests.java +++ b/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/test/AllR5Tests.java @@ -23,6 +23,7 @@ import org.junit.runners.Suite.SuiteClasses; BaseDateTimeTypeTest.class, OpenApiGeneratorTest.class, MetadataResourceManagerTester.class, + MetaTest.class, UtilitiesTests.class, SnapShotGenerationTests.class}) diff --git a/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/test/UtilitiesTests.java b/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/test/UtilitiesTests.java index 66c4416a9..b245d4afc 100644 --- a/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/test/UtilitiesTests.java +++ b/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/test/UtilitiesTests.java @@ -1,6 +1,7 @@ package org.hl7.fhir.r5.test; import java.io.IOException; +import org.apache.commons.lang3.SystemUtils; import org.hl7.fhir.utilities.Utilities; import org.junit.Test; @@ -11,7 +12,7 @@ public class UtilitiesTests { @Test public void testPath() throws IOException { - Assert.assertEquals(Utilities.path("[tmp]", "test.txt"), "c:\\temp\\test.txt"); + Assert.assertEquals(Utilities.path("[tmp]", "test.txt"), SystemUtils.IS_OS_WINDOWS ? "c:\\temp\\test.txt" : "/temp/test.txt"); Assert.assertEquals(Utilities.path("[user]", "test.txt"), System.getProperty("user.home")+"\\test.txt"); Assert.assertEquals(Utilities.path("[JAVA_HOME]", "test.txt"), System.getenv("JAVA_HOME")+"\\test.txt"); } diff --git a/release.bat b/release.bat index 8edc066df..705099797 100644 --- a/release.bat +++ b/release.bat @@ -37,8 +37,6 @@ call python c:\tools\zulip-api\zulip\zulip\send.py --stream tooling/releases --s del C:\temp\current-release-notes-validator.md -pause - :DONE echo =============================================================== echo all done