Changeset 17540 in josm


Ignore:
Timestamp:
2021-02-24T22:21:17+01:00 (3 months ago)
Author:
Don-vip
Message:

see #19724 - No idea why the test fails with Java 16+ on Linux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/tools/PlatformHookWindowsTest.java

    r17527 r17540  
    99import static org.junit.jupiter.api.Assertions.assertTrue;
    1010import static org.junit.jupiter.api.Assertions.fail;
     11import static org.junit.jupiter.api.Assumptions.assumeTrue;
    1112
    1213import java.awt.Desktop;
     
    173174    void testGetInstalledFonts() {
    174175        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
    175177        Collection<String> fonts = hook.getInstalledFonts();
    176178        if (PlatformManager.isPlatformWindows()) {
Note: See TracChangeset for help on using the changeset viewer.