Changeset 17120 in josm for trunk/test
- Timestamp:
- 2020-10-08T21:03:00+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/ImageDataTest.java
r17081 r17120 20 20 import mockit.Mock; 21 21 import mockit.MockUp; 22 import mockit.Mocked; 23 import mockit.Verifications; 22 24 23 25 /** … … 56 58 57 59 @Test 58 public void testSortData() { 59 List<ImageEntry> list = getOneImage(); 60 61 new Expectations(Collections.class) {{ 60 public void testSortData(@Mocked Collections ignore) { 61 List<ImageEntry> list = getOneImage(); 62 63 new ImageData(list); 64 65 new Verifications() {{ 62 66 Collections.sort(list); 63 67 }}; 64 65 new ImageData(list);66 68 } 67 69
Note:
See TracChangeset
for help on using the changeset viewer.