register additional tests
This commit is contained in:
parent
49a66fe760
commit
44d41ee523
|
@ -23,6 +23,7 @@ import org.junit.runners.Suite.SuiteClasses;
|
|||
BaseDateTimeTypeTest.class,
|
||||
OpenApiGeneratorTest.class,
|
||||
MetadataResourceManagerTester.class,
|
||||
MetaTest.class,
|
||||
UtilitiesTests.class,
|
||||
SnapShotGenerationTests.class})
|
||||
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue