Ignore:
Timestamp:
2020-10-28T20:41:00+01:00 (6 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/gui/dialogs/ChangesetDialogTest.java

    r16182 r17275  
    22package org.openstreetmap.josm.gui.dialogs;
    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.gui.dialogs.ChangesetDialog.LaunchChangesetManager;
    77import org.openstreetmap.josm.testutils.JOSMTestRules;
     
    1313 * Unit tests of {@link ChangesetDialog} class.
    1414 */
    15 public class ChangesetDialogTest {
     15class ChangesetDialogTest {
    1616
    1717    /**
    1818     * Setup tests
    1919     */
    20     @Rule
     20    @RegisterExtension
    2121    @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
    2222    public JOSMTestRules test = new JOSMTestRules();
     
    2727     */
    2828    @Test
    29     public void testUtilityClass() throws ReflectiveOperationException {
     29    void testUtilityClass() throws ReflectiveOperationException {
    3030        UtilityClassTestUtil.assertUtilityClassWellDefined(LaunchChangesetManager.class);
    3131    }
Note: See TracChangeset for help on using the changeset viewer.