Changeset 12358 in josm for trunk/test
- Timestamp:
- 2017-06-09T11:54:49+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/layer/gpx/DownloadAlongTrackActionTest.java
r10436 r12358 5 5 import static org.junit.Assert.assertNull; 6 6 7 import org.junit. BeforeClass;7 import org.junit.Rule; 8 8 import org.junit.Test; 9 import org.openstreetmap.josm.JOSMFixture;10 9 import org.openstreetmap.josm.Main; 11 10 import org.openstreetmap.josm.TestUtils; … … 15 14 import org.openstreetmap.josm.gui.layer.OsmDataLayer; 16 15 import org.openstreetmap.josm.io.GpxReaderTest; 16 import org.openstreetmap.josm.testutils.JOSMTestRules; 17 18 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 17 19 18 20 /** … … 22 24 23 25 /** 24 * Setup test.26 * The test rules for this test 25 27 */ 26 @BeforeClass 27 public static void setUpBeforeClass() { 28 JOSMFixture.createUnitTestFixture().init(true); 29 } 28 @Rule 29 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 30 public JOSMTestRules test = new JOSMTestRules().preferences().platform(); 30 31 31 32 private static PleaseWaitRunnable createTask(String file) throws Exception {
Note:
See TracChangeset
for help on using the changeset viewer.