mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-02-09 22:34:42 +00:00
Disable system mode test for Windows
This commit is contained in:
parent
cf398fbbcd
commit
d0ec1544da
@ -9,6 +9,8 @@ import java.util.List;
|
|||||||
import javax.annotation.Nonnull;
|
import javax.annotation.Nonnull;
|
||||||
|
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
import org.junit.jupiter.api.condition.DisabledOnOs;
|
||||||
|
import org.junit.jupiter.api.condition.OS;
|
||||||
|
|
||||||
public class FilesystemPackageManagerTests {
|
public class FilesystemPackageManagerTests {
|
||||||
|
|
||||||
@ -75,7 +77,11 @@ public class FilesystemPackageManagerTests {
|
|||||||
assertEquals(System.getProperty("user.home") + File.separator + ".fhir/packages", filesystemPackageCacheManager.getFolder());
|
assertEquals(System.getProperty("user.home") + File.separator + ".fhir/packages", filesystemPackageCacheManager.getFolder());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Targeted folder will only be valid on -nix style systems.
|
||||||
|
*/
|
||||||
@Test
|
@Test
|
||||||
|
@DisabledOnOs(OS.WINDOWS)
|
||||||
public void testSystemCacheDirectory() throws IOException {
|
public void testSystemCacheDirectory() throws IOException {
|
||||||
FilesystemPackageCacheManager filesystemPackageCacheManager = new FilesystemPackageCacheManager(false) {
|
FilesystemPackageCacheManager filesystemPackageCacheManager = new FilesystemPackageCacheManager(false) {
|
||||||
protected void initCacheFolder() throws IOException {
|
protected void initCacheFolder() throws IOException {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user