Changeset 17275 in josm for trunk/test/unit/org/openstreetmap/josm/gui/layer/gpx/DownloadAlongTrackActionTest.java
- Timestamp:
- 2020-10-28T20:41:00+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/layer/gpx/DownloadAlongTrackActionTest.java
r16850 r17275 2 2 package org.openstreetmap.josm.gui.layer.gpx; 3 3 4 import static org.junit. Assert.assertEquals;5 import static org.junit. Assert.assertNotNull;6 import static org.junit. Assert.assertNull;4 import static org.junit.jupiter.api.Assertions.assertEquals; 5 import static org.junit.jupiter.api.Assertions.assertNotNull; 6 import static org.junit.jupiter.api.Assertions.assertNull; 7 7 8 8 import java.util.Collections; 9 9 10 import org.junit. Rule;11 import org.junit.Test; 10 import org.junit.jupiter.api.extension.RegisterExtension; 11 import org.junit.jupiter.api.Test; 12 12 import org.openstreetmap.josm.TestUtils; 13 13 import org.openstreetmap.josm.data.gpx.GpxData; … … 25 25 * Unit tests of {@link DownloadAlongTrackAction} class. 26 26 */ 27 publicclass DownloadAlongTrackActionTest {27 class DownloadAlongTrackActionTest { 28 28 29 29 /** 30 30 * The test rules for this test 31 31 */ 32 @R ule32 @RegisterExtension 33 33 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 34 34 public JOSMTestRules test = new JOSMTestRules().preferences(); … … 72 72 */ 73 73 @Test 74 publicvoid testDownload() throws Exception {74 void testDownload() throws Exception { 75 75 assertNotNull(createTask("minimal.gpx")); 76 76 } … … 81 81 */ 82 82 @Test 83 publicvoid testDownloadEmpty() throws Exception {83 void testDownloadEmpty() throws Exception { 84 84 assertNull(createTask("empty.gpx")); 85 85 }
Note:
See TracChangeset
for help on using the changeset viewer.
