Ignore:
Timestamp:
2021-02-22T16:58:49+01:00 (4 years ago)
Author:
Don-vip
Message:

see #19724 - weird NPE on Jenkins with Java 16 - skip unit test

File:
1 edited

Legend:

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

    r17275 r17527  
    22package org.openstreetmap.josm.tools;
    33
     4import static org.junit.Assume.assumeNotNull;
    45import static org.junit.jupiter.api.Assertions.assertEquals;
    56import static org.junit.jupiter.api.Assertions.assertFalse;
     
    1213import java.io.File;
    1314import java.io.IOException;
     15import java.nio.file.FileSystems;
    1416import java.security.KeyStoreException;
    1517import java.util.Collection;
    1618
     19import org.junit.jupiter.api.BeforeAll;
    1720import org.junit.jupiter.api.Test;
    18 import org.junit.jupiter.api.BeforeAll;
    1921import org.junit.jupiter.api.extension.RegisterExtension;
    2022import org.openstreetmap.josm.TestUtils;
     
    2325
    2426import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
    25 
    2627import mockit.Expectations;
    2728import mockit.Mocked;
     
    171172    @Test
    172173    void testGetInstalledFonts() {
     174        assumeNotNull(FileSystems.getDefault()); // weird NPE on Jenkins
    173175        Collection<String> fonts = hook.getInstalledFonts();
    174176        if (PlatformManager.isPlatformWindows()) {
Note: See TracChangeset for help on using the changeset viewer.