Changeset 18037 in josm for trunk/test/unit/org/openstreetmap/josm/io/GpxReaderTest.java
- Timestamp:
- 2021-07-16T09:16:33+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/io/GpxReaderTest.java
r17275 r18037 3 3 4 4 import static org.junit.jupiter.api.Assertions.assertEquals; 5 import static org.junit.jupiter.api.Assertions.assertThrows; 5 6 import static org.junit.jupiter.api.Assertions.assertTrue; 6 import static org.junit.jupiter.api.Assertions.assertThrows;7 7 8 8 import java.io.ByteArrayInputStream; … … 15 15 import java.util.Map; 16 16 17 import org.junit.jupiter.api.Test;18 import org.junit.jupiter.api.extension.RegisterExtension;19 17 import org.openstreetmap.josm.TestUtils; 20 18 import org.openstreetmap.josm.data.Bounds; … … 22 20 import org.openstreetmap.josm.data.gpx.GpxData; 23 21 import org.openstreetmap.josm.data.gpx.WayPoint; 24 import org.openstreetmap.josm.testutils.JOSMTestRules; 22 import org.openstreetmap.josm.testutils.annotations.BasicPreferences; 23 24 import org.junit.jupiter.api.Test; 25 25 import org.xml.sax.SAXException; 26 27 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;28 26 29 27 /** 30 28 * Tests the {@link GpxReader}. 31 29 */ 30 @BasicPreferences 32 31 public class GpxReaderTest { 33 34 /**35 * Setup rule36 */37 @RegisterExtension38 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")39 public JOSMTestRules test = new JOSMTestRules();40 41 32 /** 42 33 * Parses a GPX file and returns the parsed data
Note:
See TracChangeset
for help on using the changeset viewer.