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/correction/TagCorrectionTest.java

    r13079 r17275  
    22package org.openstreetmap.josm.data.correction;
    33
    4 import org.junit.Rule;
    5 import org.junit.Test;
     4import org.junit.jupiter.api.extension.RegisterExtension;
     5import org.junit.jupiter.api.Test;
    66import org.openstreetmap.josm.TestUtils;
    77import org.openstreetmap.josm.testutils.JOSMTestRules;
     
    1313 * Unit tests for class {@link TagCorrection}.
    1414 */
    15 public class TagCorrectionTest {
     15class TagCorrectionTest {
    1616
    1717    /**
    1818     * Setup test.
    1919     */
    20     @Rule
     20    @RegisterExtension
    2121    @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
    2222    public JOSMTestRules test = new JOSMTestRules();
     
    2626     */
    2727    @Test
    28     public void testEqualsContract() {
     28    void testEqualsContract() {
    2929        TestUtils.assumeWorkingEqualsVerifier();
    3030        EqualsVerifier.forClass(TagCorrection.class).usingGetClass().verify();
Note: See TracChangeset for help on using the changeset viewer.