Ignore:
Timestamp:
2020-10-28T20:41:00+01:00 (4 years ago)
Author:
Don-vip
Message:

see #16567 - upgrade almost all tests to JUnit 5, except those depending on WiremockRule

See https://github.com/tomakehurst/wiremock/issues/684

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/coor/conversion/ICoordinateFormatTest.java

    r16438 r17275  
    22package org.openstreetmap.josm.data.coor.conversion;
    33
    4 import static org.junit.Assert.assertEquals;
     4import static org.junit.jupiter.api.Assertions.assertEquals;
    55
    66import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
    77
    8 import org.junit.Rule;
    9 import org.junit.Test;
     8import org.junit.jupiter.api.extension.RegisterExtension;
     9import org.junit.jupiter.api.Test;
    1010import org.openstreetmap.josm.data.coor.ILatLon;
    1111import org.openstreetmap.josm.data.coor.LatLon;
     
    1515 * Test for {@link ICoordinateFormat} implementations.
    1616 */
    17 public class ICoordinateFormatTest {
     17class ICoordinateFormatTest {
    1818    /**
    1919     * Setup test.
    2020     */
    21     @Rule
     21    @RegisterExtension
    2222    @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
    2323    public JOSMTestRules test = new JOSMTestRules().projection();
     
    3030     */
    3131    @Test
    32     public void testFormatting() {
     32    void testFormatting() {
    3333        LatLon c = new LatLon(47.000000, 19.000000);
    3434        assertEquals("47.0", DecimalDegreesCoordinateFormat.INSTANCE.latToString(c));
Note: See TracChangeset for help on using the changeset viewer.