Changeset 17275 in josm for trunk/test/unit/org/openstreetmap/josm/io/MultiFetchOverpassObjectReaderTest.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/io/MultiFetchOverpassObjectReaderTest.java
r16612 r17275 2 2 package org.openstreetmap.josm.io; 3 3 4 import static org.junit. Assert.assertEquals;4 import static org.junit.jupiter.api.Assertions.assertEquals; 5 5 6 6 import java.util.Arrays; 7 7 import java.util.List; 8 8 9 import org.junit. Rule;10 import org.junit.Test; 9 import org.junit.jupiter.api.extension.RegisterExtension; 10 import org.junit.jupiter.api.Test; 11 11 import org.openstreetmap.josm.data.osm.Node; 12 12 import org.openstreetmap.josm.data.osm.OsmPrimitive; … … 20 20 * Unit tests of {@link MultiFetchOverpassObjectReader}. 21 21 */ 22 publicclass MultiFetchOverpassObjectReaderTest {22 class MultiFetchOverpassObjectReaderTest { 23 23 24 24 /** 25 25 * Setup test. 26 26 */ 27 @R ule27 @RegisterExtension 28 28 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 29 29 public JOSMTestRules test = new JOSMTestRules().preferences(); … … 33 33 */ 34 34 @Test 35 publicvoid testBuildRequestNodesString() {35 void testBuildRequestNodesString() { 36 36 List<OsmPrimitive> objects = Arrays.asList(new Node(123), new Node(126), new Node(130)); 37 37 String requestString; … … 61 61 */ 62 62 @Test 63 publicvoid testBuildRequestWaysString() {63 void testBuildRequestWaysString() { 64 64 List<OsmPrimitive> objects = Arrays.asList(new Way(123), new Way(126), new Way(130)); 65 65 String requestString; … … 86 86 */ 87 87 @Test 88 publicvoid testBuildRequestRelationsString() {88 void testBuildRequestRelationsString() { 89 89 List<OsmPrimitive> objects = Arrays.asList(new Relation(123), new Relation(126), new Relation(130)); 90 90 String requestString; … … 112 112 */ 113 113 @Test 114 publicvoid testBuildComplexString() {114 void testBuildComplexString() { 115 115 List<OsmPrimitive> objects = Arrays.asList(new Relation(123), new Relation(126), new Relation(130), new Way(88), new Way(99), 116 116 new Node(1));
Note:
See TracChangeset
for help on using the changeset viewer.
