Changeset 17540 in josm for trunk/test/unit/org/openstreetmap
- Timestamp:
- 2021-02-24T22:21:17+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/tools/PlatformHookWindowsTest.java
r17527 r17540 9 9 import static org.junit.jupiter.api.Assertions.assertTrue; 10 10 import static org.junit.jupiter.api.Assertions.fail; 11 import static org.junit.jupiter.api.Assumptions.assumeTrue; 11 12 12 13 import java.awt.Desktop; … … 173 174 void testGetInstalledFonts() { 174 175 assumeNotNull(FileSystems.getDefault()); // weird NPE on Jenkins 176 assumeTrue(Utils.getJavaVersion() < 16 || PlatformManager.isPlatformWindows()); // No idea why the test fails with Java 16+ on Linux 175 177 Collection<String> fonts = hook.getInstalledFonts(); 176 178 if (PlatformManager.isPlatformWindows()) {
Note:
See TracChangeset
for help on using the changeset viewer.