Changeset 12558 in josm for trunk/test/unit/org/openstreetmap/josm/io/remotecontrol/handler/ImageryHandlerTest.java
- Timestamp:
- 2017-08-02T21:45:32+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/io/remotecontrol/handler/ImageryHandlerTest.java
r10973 r12558 2 2 package org.openstreetmap.josm.io.remotecontrol.handler; 3 3 4 import org.junit.BeforeClass;5 4 import org.junit.Rule; 6 5 import org.junit.Test; 7 6 import org.junit.rules.ExpectedException; 8 import org.openstreetmap.josm.JOSMFixture;9 7 import org.openstreetmap.josm.io.remotecontrol.handler.RequestHandler.RequestHandlerBadRequestException; 8 import org.openstreetmap.josm.testutils.JOSMTestRules; 9 10 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 10 11 11 12 /** … … 23 24 * Setup test. 24 25 */ 25 @BeforeClass 26 public static void setUpBeforeClass() { 27 JOSMFixture.createUnitTestFixture().init(true); 28 } 26 @Rule 27 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 28 public JOSMTestRules test = new JOSMTestRules().platform(); 29 29 30 30 private static ImageryHandler newHandler(String url) throws RequestHandlerBadRequestException {
Note:
See TracChangeset
for help on using the changeset viewer.