Changeset 15419 in josm for trunk/test
- Timestamp:
- 2019-10-05T15:59:56+02:00 (5 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/actions/SimplifyWayActionTest.java
r12643 r15419 130 130 Stream.of(n1, n2, n3, n4, w).forEach(ds::addPrimitive); 131 131 Stream.of(n1, n2, n3, n4, n1).forEach(w::addNode); 132 final SequenceCommand command = action.simplifyWay(w);132 final SequenceCommand command = SimplifyWayAction.createSimplifyCommand(w, 3); 133 133 assertNotNull(command); 134 134 assertEquals(2, command.getChildren().size()); -
trunk/test/unit/org/openstreetmap/josm/gui/layer/OsmDataLayerTest.java
r14504 r15419 216 216 "<osm version='0.6' upload='false' generator='JOSM'>\n" + 217 217 " <node id='-546306' timestamp='2018-08-01T10:00:00Z' lat='47.0' lon='9.0'>\n" + 218 " <tag k=' ele' v='123' />\n" +219 " <tag k=' time' v='2018-08-01T10:00:00Z' />\n" +218 " <tag k='gpx:ele' v='123' />\n" + 219 " <tag k='gpx:time' v='2018-08-01T10:00:00Z' />\n" + 220 220 " </node>\n" + 221 221 " <node id='-546307' timestamp='2018-08-01T10:01:00Z' lat='47.1' lon='9.1'>\n" + 222 222 " <tag k='ele' v='456' />\n" + 223 " <tag k=' time' v='2018-08-01T10:01:00Z' />\n" +223 " <tag k='gpx:time' v='2018-08-01T10:01:00Z' />\n" + 224 224 " </node>\n" + 225 225 " <node id='-546308' timestamp='2018-08-01T10:02:00Z' lat='47.05' lon='9.05'>\n" +
Note:
See TracChangeset
for help on using the changeset viewer.