Changeset 18818 in josm for trunk/test/unit
- Timestamp:
- 2023-08-23T00:10:21+02:00 (15 months ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/layer/gpx/GpxDrawHelperTest.java
r17275 r18818 12 12 import java.util.stream.Collectors; 13 13 14 import org.junit.jupiter.api.extension.RegisterExtension;15 14 import org.junit.jupiter.api.Test; 16 15 import org.openstreetmap.josm.TestUtils; … … 19 18 import org.openstreetmap.josm.gui.layer.gpx.GpxDrawHelper.ColorMode; 20 19 import org.openstreetmap.josm.io.GpxReaderTest; 21 import org.openstreetmap.josm.testutils. JOSMTestRules;20 import org.openstreetmap.josm.testutils.annotations.BasicPreferences; 22 21 import org.openstreetmap.josm.tools.ColorHelper; 23 22 import org.xml.sax.SAXException; 24 25 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;26 23 27 24 /** 28 25 * Unit tests of {@link GpxDrawHelper} class. 29 26 */ 27 @BasicPreferences 30 28 class GpxDrawHelperTest { 31 32 /**33 * Setup test.34 */35 @RegisterExtension36 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")37 public JOSMTestRules test = new JOSMTestRules();38 29 39 30 /** -
trunk/test/unit/org/openstreetmap/josm/io/GpxReaderTest.java
r18817 r18818 104 104 105 105 @ParameterizedTest 106 @ValueSource(strings = { 107 "<gpx><wpt></wpt></gpx>", 108 }) 106 @ValueSource(strings = "<gpx><wpt></wpt></gpx>") 109 107 void testIncompleteLocations(String gpx) { 110 108 SAXException saxException = assertThrows(SAXException.class,
Note:
See TracChangeset
for help on using the changeset viewer.