- Timestamp:
- 2017-12-23T14:33:26+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/io/GeoJSONWriterTest.java
r12806 r13232 43 43 assertEquals(("" + 44 44 "{\n" + 45 " 'type': 'FeatureCollection',\n" +46 " 'generator': 'JOSM',\n" +47 " 'features': [\n" +45 " 'type': 'FeatureCollection',\n" + 46 " 'generator': 'JOSM',\n" + 47 " 'features': [\n" + 48 48 " {\n" + 49 " 'type': 'Feature',\n" +50 " 'properties': {\n" +51 " 'name': 'foo',\n" +52 " 'source': 'code'\n" +49 " 'type': 'Feature',\n" + 50 " 'properties': {\n" + 51 " 'name': 'foo',\n" + 52 " 'source': 'code'\n" + 53 53 " },\n" + 54 " 'geometry': {\n" +55 " 'type': 'Point',\n" +56 " 'coordinates': [\n" +54 " 'geometry': {\n" + 55 " 'type': 'Point',\n" + 56 " 'coordinates': [\n" + 57 57 " 4.56000000000,\n" + 58 58 " 12.30000000000\n" + … … 81 81 assertEquals(("" + 82 82 "{\n" + 83 " 'type': 'FeatureCollection',\n" +84 " 'generator': 'JOSM',\n" +85 " 'features': [\n" +83 " 'type': 'FeatureCollection',\n" + 84 " 'generator': 'JOSM',\n" + 85 " 'features': [\n" + 86 86 " {\n" + 87 " 'type': 'Feature',\n" +88 " 'properties': {\n" +89 " 'highway': 'footway'\n" +87 " 'type': 'Feature',\n" + 88 " 'properties': {\n" + 89 " 'highway': 'footway'\n" + 90 90 " },\n" + 91 " 'geometry': {\n" +92 " 'type': 'LineString',\n" +93 " 'coordinates': [\n" +91 " 'geometry': {\n" + 92 " 'type': 'LineString',\n" + 93 " 'coordinates': [\n" + 94 94 " [\n" + 95 95 " 4.56000000000,\n" +
Note:
See TracChangeset
for help on using the changeset viewer.