Changeset 17527 in josm for trunk/test/unit/org/openstreetmap
- Timestamp:
- 2021-02-22T16:58:49+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/tools/PlatformHookWindowsTest.java
r17275 r17527 2 2 package org.openstreetmap.josm.tools; 3 3 4 import static org.junit.Assume.assumeNotNull; 4 5 import static org.junit.jupiter.api.Assertions.assertEquals; 5 6 import static org.junit.jupiter.api.Assertions.assertFalse; … … 12 13 import java.io.File; 13 14 import java.io.IOException; 15 import java.nio.file.FileSystems; 14 16 import java.security.KeyStoreException; 15 17 import java.util.Collection; 16 18 19 import org.junit.jupiter.api.BeforeAll; 17 20 import org.junit.jupiter.api.Test; 18 import org.junit.jupiter.api.BeforeAll;19 21 import org.junit.jupiter.api.extension.RegisterExtension; 20 22 import org.openstreetmap.josm.TestUtils; … … 23 25 24 26 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 25 26 27 import mockit.Expectations; 27 28 import mockit.Mocked; … … 171 172 @Test 172 173 void testGetInstalledFonts() { 174 assumeNotNull(FileSystems.getDefault()); // weird NPE on Jenkins 173 175 Collection<String> fonts = hook.getInstalledFonts(); 174 176 if (PlatformManager.isPlatformWindows()) {
Note:
See TracChangeset
for help on using the changeset viewer.