Changeset 17983 in josm for trunk/test
- Timestamp:
- 2021-07-10T21:39:01+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/layer/imagery/ColorfulImageProcessorTest.java
r17275 r17983 98 98 BufferedImage.TYPE_4BYTE_ABGR, 99 99 BufferedImage.TYPE_4BYTE_ABGR_PRE, 100 BufferedImage.TYPE_BYTE_INDEXED }) { 100 BufferedImage.TYPE_BYTE_INDEXED, 101 BufferedImage.TYPE_BYTE_BINARY}) { 101 102 assertTrue(runProcessing(data, type)); 102 103 } … … 123 124 124 125 private BufferedImage createImage(Color color, int type) { 125 BufferedImage image = type == BufferedImage.TYPE_BYTE_INDEXED 126 BufferedImage image = type == BufferedImage.TYPE_BYTE_INDEXED || type == BufferedImage.TYPE_BYTE_BINARY 126 127 ? new BufferedImage(TEST_IMAGE_SIZE, TEST_IMAGE_SIZE, type, COLOR_MODEL) 127 128 : new BufferedImage(TEST_IMAGE_SIZE, TEST_IMAGE_SIZE, type);
Note:
See TracChangeset
for help on using the changeset viewer.