register additional tests

This commit is contained in:
Grahame Grieve 2020-02-13 21:22:54 +11:00
parent 49a66fe760
commit 44d41ee523
3 changed files with 3 additions and 3 deletions

View File

@ -23,6 +23,7 @@ import org.junit.runners.Suite.SuiteClasses;
BaseDateTimeTypeTest.class, BaseDateTimeTypeTest.class,
OpenApiGeneratorTest.class, OpenApiGeneratorTest.class,
MetadataResourceManagerTester.class, MetadataResourceManagerTester.class,
MetaTest.class,
UtilitiesTests.class, UtilitiesTests.class,
SnapShotGenerationTests.class}) SnapShotGenerationTests.class})

View File

@ -1,6 +1,7 @@
package org.hl7.fhir.r5.test; package org.hl7.fhir.r5.test;
import java.io.IOException; import java.io.IOException;
import org.apache.commons.lang3.SystemUtils;
import org.hl7.fhir.utilities.Utilities; import org.hl7.fhir.utilities.Utilities;
import org.junit.Test; import org.junit.Test;
@ -11,7 +12,7 @@ public class UtilitiesTests {
@Test @Test
public void testPath() throws IOException { 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("[user]", "test.txt"), System.getProperty("user.home")+"\\test.txt");
Assert.assertEquals(Utilities.path("[JAVA_HOME]", "test.txt"), System.getenv("JAVA_HOME")+"\\test.txt"); Assert.assertEquals(Utilities.path("[JAVA_HOME]", "test.txt"), System.getenv("JAVA_HOME")+"\\test.txt");
} }

View File

@ -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 del C:\temp\current-release-notes-validator.md
pause
:DONE :DONE
echo =============================================================== echo ===============================================================
echo all done echo all done