Ignore:
Timestamp:
2021-07-16T09:16:33+02:00 (3 years ago)
Author:
Don-vip
Message:

fix #21064 - Add JUnit 5 extension for preferences (patch by taylor.smock)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/download/PlaceSelectionTest.java

    r17275 r18037  
    22package org.openstreetmap.josm.gui.download;
    33
    4 import org.junit.jupiter.api.extension.RegisterExtension;
     4import org.openstreetmap.josm.data.Bounds;
     5import org.openstreetmap.josm.testutils.annotations.BasicPreferences;
     6
    57import org.junit.jupiter.api.Test;
    6 import org.openstreetmap.josm.data.Bounds;
    7 import org.openstreetmap.josm.testutils.JOSMTestRules;
    8 
    9 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
    108
    119/**
    1210 * Unit tests of {@link PlaceSelection} class.
    1311 */
     12@BasicPreferences
    1413class PlaceSelectionTest {
    15 
    16     /**
    17      * Setup tests
    18      */
    19     @RegisterExtension
    20     @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
    21     public JOSMTestRules test = new JOSMTestRules().preferences();
    22 
    2314    /**
    2415     * Test for {@link PlaceSelection#PlaceSelection}.
Note: See TracChangeset for help on using the changeset viewer.