Changeset 17587 in josm for trunk/test/unit
- Timestamp:
- 2021-03-18T01:49:10+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/osm/OsmPrimitiveKeyHandlingTest.java
r17584 r17587 4 4 import static org.junit.jupiter.api.Assertions.assertEquals; 5 5 import static org.junit.jupiter.api.Assertions.assertFalse; 6 import static org.junit.jupiter.api.Assertions.assertNotEquals; 6 7 import static org.junit.jupiter.api.Assertions.assertTrue; 7 8 … … 12 13 13 14 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 15 16 import java.util.Collections; 17 import java.util.HashSet; 14 18 15 19 /** … … 50 54 51 55 testGetKey(n, "akey", "avalue"); 56 assertEquals(Collections.singleton("akey"), n.keySet()); 57 assertNotEquals(HashSet.class, n.keySet().getClass()); // expect Collections.singleton 58 52 59 } 53 60
Note:
See TracChangeset
for help on using the changeset viewer.
