Changeset 17275 in josm for trunk/test/unit/org/openstreetmap/josm/data/imagery/GetCapabilitiesParseHelperTest.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/data/imagery/GetCapabilitiesParseHelperTest.java
r16182 r17275 2 2 package org.openstreetmap.josm.data.imagery; 3 3 4 import static org.junit. Assert.assertEquals;4 import static org.junit.jupiter.api.Assertions.assertEquals; 5 5 6 import org.junit. Rule;7 import org.junit.Test; 6 import org.junit.jupiter.api.extension.RegisterExtension; 7 import org.junit.jupiter.api.Test; 8 8 import org.openstreetmap.josm.testutils.JOSMTestRules; 9 9 … … 14 14 * Unit tests for class {@link GetCapabilitiesParseHelper}. 15 15 */ 16 publicclass GetCapabilitiesParseHelperTest {16 class GetCapabilitiesParseHelperTest { 17 17 18 18 /** 19 19 * Setup tests 20 20 */ 21 @R ule21 @RegisterExtension 22 22 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 23 23 public JOSMTestRules test = new JOSMTestRules(); … … 28 28 */ 29 29 @Test 30 publicvoid testUtilityClass() throws ReflectiveOperationException {30 void testUtilityClass() throws ReflectiveOperationException { 31 31 UtilityClassTestUtil.assertUtilityClassWellDefined(GetCapabilitiesParseHelper.class); 32 32 } … … 36 36 */ 37 37 @Test 38 publicvoid testCrsToCode() {38 void testCrsToCode() { 39 39 assertEquals("EPSG:3127", GetCapabilitiesParseHelper.crsToCode("urn:ogc:def:crs:epsg:3127")); 40 40 assertEquals("EPSG:3127", GetCapabilitiesParseHelper.crsToCode("urn:ogc:def:crs:epsg::3127"));
Note:
See TracChangeset
for help on using the changeset viewer.
