Changeset 12754 in josm for trunk/test/unit/org/openstreetmap/josm/plugins/PluginHandlerTest.java
- Timestamp:
- 2017-09-06T10:17:46+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/plugins/PluginHandlerTest.java
r11974 r12754 11 11 import java.util.List; 12 12 13 import org.junit. BeforeClass;13 import org.junit.Rule; 14 14 import org.junit.Test; 15 import org.openstreetmap.josm.JOSMFixture;16 15 import org.openstreetmap.josm.Main; 17 16 import org.openstreetmap.josm.gui.preferences.plugin.PluginPreferenceTest; 18 17 import org.openstreetmap.josm.plugins.PluginHandler.DeprecatedPlugin; 19 18 import org.openstreetmap.josm.plugins.PluginHandler.PluginInformationAction; 19 import org.openstreetmap.josm.testutils.JOSMTestRules; 20 20 import org.openstreetmap.josm.tools.Utils; 21 21 22 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 22 23 import nl.jqno.equalsverifier.EqualsVerifier; 23 24 … … 30 31 * Setup test. 31 32 */ 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(); 36 36 37 37 /**
Note:
See TracChangeset
for help on using the changeset viewer.