Changeset 17870 in josm for trunk/test/unit
- Timestamp:
- 2021-05-06T21:46:58+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/layer/geoimage/ThumbsLoaderTest.java
r17856 r17870 15 15 import java.util.List; 16 16 import java.util.stream.Collectors; 17 18 import static org.junit.jupiter.api.Assertions.assertEquals; 19 import static org.junit.jupiter.api.Assertions.assertNotNull; 17 20 18 21 /** … … 39 42 } 40 43 new ThumbsLoader(imageEntries).run(); 44 for (ImageEntry imageEntry : imageEntries) { 45 assertNotNull(imageEntry.getThumbnail()); 46 assertEquals(ThumbsLoader.maxSize, Math.max( 47 imageEntry.getThumbnail().getWidth(null), 48 imageEntry.getThumbnail().getHeight(null))); 49 } 41 50 } 42 51
Note:
See TracChangeset
for help on using the changeset viewer.