Changeset 12147 in josm for trunk/test/unit/org/openstreetmap
- Timestamp:
- 2017-05-14T21:21:19+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/imagery/GetCapabilitiesParseHelperTest.java
r11921 r12147 1 1 // License: GPL. For details, see LICENSE file. 2 2 package org.openstreetmap.josm.data.imagery; 3 4 import static org.junit.Assert.assertEquals; 3 5 4 6 import org.junit.Rule; … … 29 31 UtilityClassTestUtil.assertUtilityClassWellDefined(GetCapabilitiesParseHelper.class); 30 32 } 33 34 /** 35 * Unit test of {@code GetCapabilitiesParseHelper#crsToCode} method. 36 */ 37 @Test 38 public void testCrsToCode() { 39 assertEquals("EPSG:3127", GetCapabilitiesParseHelper.crsToCode("urn:ogc:def:crs:epsg:3127")); 40 assertEquals("EPSG:3127", GetCapabilitiesParseHelper.crsToCode("urn:ogc:def:crs:epsg::3127")); 41 assertEquals("EPSG:3127", GetCapabilitiesParseHelper.crsToCode("urn:ogc:def:crs:epsg:6.6:3127")); 42 } 31 43 }
Note:
See TracChangeset
for help on using the changeset viewer.