Ignore:
Timestamp:
2020-10-28T20:41:00+01:00 (3 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/download/BoundingBoxSelectionTest.java

    r10962 r17275  
    22package org.openstreetmap.josm.gui.download;
    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.data.Bounds;
    77import org.openstreetmap.josm.testutils.JOSMTestRules;
     
    1212 * Unit tests of {@link BoundingBoxSelection} class.
    1313 */
    14 public class BoundingBoxSelectionTest {
     14class BoundingBoxSelectionTest {
    1515
    1616    /**
    1717     * Setup tests
    1818     */
    19     @Rule
     19    @RegisterExtension
    2020    @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
    2121    public JOSMTestRules test = new JOSMTestRules().preferences();
     
    2525     */
    2626    @Test
    27     public void testBoundingBoxSelection() {
     27    void testBoundingBoxSelection() {
    2828        BoundingBoxSelection sel = new BoundingBoxSelection();
    2929        sel.addGui(null);
Note: See TracChangeset for help on using the changeset viewer.