Changeset 8194 in josm for trunk/test/unit/org
- Timestamp:
- 2015-04-14T23:10:19+02:00 (10 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/osm/SimplePrimitiveIdTest.groovy
r7938 r8194 28 28 assert SimplePrimitiveId.fuzzyParse("foo relation/123 and way/345 but also node/789").toString() == "[relation 123, way 345, node 789]" 29 29 } 30 31 void testFromCopyAction() { 32 assert SimplePrimitiveId.fromString("node 123") == new SimplePrimitiveId(123, OsmPrimitiveType.NODE) 33 assert SimplePrimitiveId.fromString("way 123") == new SimplePrimitiveId(123, OsmPrimitiveType.WAY) 34 assert SimplePrimitiveId.fromString("relation 123") == new SimplePrimitiveId(123, OsmPrimitiveType.RELATION) 35 } 30 36 }
Note:
See TracChangeset
for help on using the changeset viewer.