Changeset 18853 in josm for trunk/test/unit/org/openstreetmap/josm/data/osm/history
- Timestamp:
- 2023-10-04T00:03:40+02:00 (14 months ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm/data/osm/history
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/osm/history/HistoryNodeTest.java
r17838 r18853 9 9 import java.util.Map; 10 10 11 import org.junit.jupiter.api.extension.RegisterExtension;12 11 import org.junit.jupiter.api.Test; 13 12 import org.openstreetmap.josm.data.coor.LatLon; … … 16 15 import org.openstreetmap.josm.data.osm.OsmPrimitiveType; 17 16 import org.openstreetmap.josm.data.osm.User; 18 import org.openstreetmap.josm.testutils.JOSMTestRules;19 20 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;21 17 22 18 /** … … 24 20 */ 25 21 class HistoryNodeTest { 26 27 /**28 * Setup test.29 */30 @RegisterExtension31 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")32 public JOSMTestRules test = new JOSMTestRules();33 34 22 private static HistoryNode create(Instant d) { 35 23 return new HistoryNode( -
trunk/test/unit/org/openstreetmap/josm/data/osm/history/HistoryRelationTest.java
r17838 r18853 9 9 import java.util.Map; 10 10 11 import org.junit.jupiter.api.extension.RegisterExtension;12 11 import org.junit.jupiter.api.Test; 13 12 import org.openstreetmap.josm.data.osm.DefaultNameFormatter; … … 15 14 import org.openstreetmap.josm.data.osm.RelationMemberData; 16 15 import org.openstreetmap.josm.data.osm.User; 17 import org.openstreetmap.josm.testutils.JOSMTestRules;18 19 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;20 16 21 17 /** … … 23 19 */ 24 20 class HistoryRelationTest { 25 26 /**27 * Setup test.28 */29 @RegisterExtension30 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")31 public JOSMTestRules test = new JOSMTestRules();32 33 21 private static HistoryRelation create(Instant d) { 34 22 return new HistoryRelation( -
trunk/test/unit/org/openstreetmap/josm/data/osm/history/HistoryWayTest.java
r18690 r18853 11 11 import java.util.Map; 12 12 13 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;14 13 import org.junit.jupiter.api.Test; 15 import org.junit.jupiter.api.extension.RegisterExtension;16 14 import org.openstreetmap.josm.data.osm.DefaultNameFormatter; 17 15 import org.openstreetmap.josm.data.osm.OsmPrimitiveType; 18 16 import org.openstreetmap.josm.data.osm.User; 19 import org.openstreetmap.josm.testutils.JOSMTestRules;20 17 21 18 /** … … 23 20 */ 24 21 class HistoryWayTest { 25 26 /**27 * Setup test.28 */29 @RegisterExtension30 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")31 public JOSMTestRules test = new JOSMTestRules();32 33 22 private static HistoryWay create(Instant d) { 34 23 return new HistoryWay(
Note:
See TracChangeset
for help on using the changeset viewer.