Changeset 18870 in josm for trunk/test/unit/org/openstreetmap/josm/tools/date/DateUtilsTest.java
- Timestamp:
- 2023-10-16T15:19:07+02:00 (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/tools/date/DateUtilsTest.java
r18735 r18870 17 17 import java.util.concurrent.ForkJoinPool; 18 18 19 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;20 import net.trajano.commons.testing.UtilityClassTestUtil;21 19 import org.junit.jupiter.api.Disabled; 22 20 import org.junit.jupiter.api.Test; 23 import org.junit.jupiter.api.extension.RegisterExtension;24 21 import org.junit.jupiter.params.ParameterizedTest; 25 22 import org.junit.jupiter.params.provider.ValueSource; 26 import org.openstreetmap.josm.testutils.JOSMTestRules; 23 import org.openstreetmap.josm.testutils.annotations.BasicPreferences; 24 import org.openstreetmap.josm.testutils.annotations.I18n; 27 25 import org.openstreetmap.josm.tools.UncheckedParseException; 26 27 import net.trajano.commons.testing.UtilityClassTestUtil; 28 28 29 29 /** 30 30 * Unit tests of {@link DateUtils} class. 31 31 */ 32 @BasicPreferences 33 @I18n 32 34 public class DateUtilsTest { 33 34 /**35 * Set the timezone and timeout.36 * <p>37 * Timeouts need to be disabled because we change the time zone.38 */39 @RegisterExtension40 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")41 public JOSMTestRules test = new JOSMTestRules().i18n().preferences();42 43 35 /** 44 36 * Tests that {@code DateUtils} satisfies utility class criteria.
Note:
See TracChangeset
for help on using the changeset viewer.