Ignore:
Timestamp:
2017-09-06T10:17:46+02:00 (7 years ago)
Author:
Don-vip
Message:

see #15229 - see #15182 - see #13036 - update unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/plugins/PluginHandlerTest.java

    r11974 r12754  
    1111import java.util.List;
    1212
    13 import org.junit.BeforeClass;
     13import org.junit.Rule;
    1414import org.junit.Test;
    15 import org.openstreetmap.josm.JOSMFixture;
    1615import org.openstreetmap.josm.Main;
    1716import org.openstreetmap.josm.gui.preferences.plugin.PluginPreferenceTest;
    1817import org.openstreetmap.josm.plugins.PluginHandler.DeprecatedPlugin;
    1918import org.openstreetmap.josm.plugins.PluginHandler.PluginInformationAction;
     19import org.openstreetmap.josm.testutils.JOSMTestRules;
    2020import org.openstreetmap.josm.tools.Utils;
    2121
     22import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
    2223import nl.jqno.equalsverifier.EqualsVerifier;
    2324
     
    3031     * Setup test.
    3132     */
    32     @BeforeClass
    33     public static void setUp() {
    34         JOSMFixture.createUnitTestFixture().init();
    35     }
     33    @Rule
     34    @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
     35    public JOSMTestRules test = new JOSMTestRules().platform();
    3636
    3737    /**
Note: See TracChangeset for help on using the changeset viewer.