Changeset 2917 in josm
- Timestamp:
- 2010-02-01T05:52:48+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/osm/OsmPrimitiveKeyHandling.java
r2482 r2917 24 24 assertTrue(!n.hasKey("nosuchkey")); 25 25 assertTrue(n.keySet().isEmpty()); 26 assertTrue(n.entrySet().isEmpty());27 26 28 27 n.remove("nosuchkey"); // should work … … 42 41 assertTrue(n.keySet().size() == 1); 43 42 assertTrue(n.keySet().contains("akey")); 44 assertTrue(n.entrySet().size() == 1);45 assertTrue(n.entrySet().iterator().next().getKey().equals("akey"));46 assertTrue(n.entrySet().iterator().next().getValue().equals("avalue"));47 43 } 48 44
Note:
See TracChangeset
for help on using the changeset viewer.