Changeset 18690 in josm for trunk/test/unit/org/openstreetmap/josm/gui/datatransfer/PrimitiveTransferableTest.java
- Timestamp:
- 2023-03-13T21:59:27+01:00 (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/datatransfer/PrimitiveTransferableTest.java
r18037 r18690 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.assertInstanceOf; 6 7 import static org.junit.jupiter.api.Assertions.assertThrows; 7 8 import static org.junit.jupiter.api.Assertions.assertTrue; … … 67 68 Collection<PrimitiveData> td = ((PrimitiveTransferData) pt.getTransferData(PrimitiveTransferData.DATA_FLAVOR)).getAll(); 68 69 assertEquals(1, td.size()); 69 assert True(td.iterator().next() instanceof NodeData);70 assertInstanceOf(NodeData.class, td.iterator().next()); 70 71 71 72
Note:
See TracChangeset
for help on using the changeset viewer.