Changeset 17677 in josm for trunk/test/unit/org/openstreetmap/josm/tools
- Timestamp:
- 2021-03-27T15:38:17+01:00 (5 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm/tools
- Files:
-
- 2 edited
-
JosmDecimalFormatSymbolsProviderTest.java (modified) (1 diff)
-
PlatformHookWindowsTest.java (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/tools/JosmDecimalFormatSymbolsProviderTest.java
r17280 r17677 2 2 package org.openstreetmap.josm.tools; 3 3 4 import static org.junit.Assume.assumeTrue;5 4 import static org.junit.jupiter.api.Assertions.assertEquals; 6 5 import static org.junit.jupiter.api.Assertions.assertTrue; 6 import static org.junit.jupiter.api.Assumptions.assumeTrue; 7 7 8 8 import java.text.DecimalFormat; -
trunk/test/unit/org/openstreetmap/josm/tools/PlatformHookWindowsTest.java
r17540 r17677 2 2 package org.openstreetmap.josm.tools; 3 3 4 import static org.junit.Assume.assumeNotNull;5 4 import static org.junit.jupiter.api.Assertions.assertEquals; 6 5 import static org.junit.jupiter.api.Assertions.assertFalse; … … 173 172 @Test 174 173 void testGetInstalledFonts() { 175 assume NotNull(FileSystems.getDefault()); // weird NPE on Jenkins174 assumeTrue(FileSystems.getDefault() != null); // weird NPE on Jenkins 176 175 assumeTrue(Utils.getJavaVersion() < 16 || PlatformManager.isPlatformWindows()); // No idea why the test fails with Java 16+ on Linux 177 176 Collection<String> fonts = hook.getInstalledFonts();
Note:
See TracChangeset
for help on using the changeset viewer.
