Changeset 19056 in josm for trunk/test/unit/org/openstreetmap/josm/tools/UtilsTest.java
- Timestamp:
- 2024-04-24T20:02:57+02:00 (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/tools/UtilsTest.java
r18811 r19056 11 11 import java.io.File; 12 12 import java.io.IOException; 13 import java.io.InputStream; 13 14 import java.util.ArrayList; 14 15 import java.util.Arrays; … … 22 23 import java.util.regex.Pattern; 23 24 25 import org.junit.jupiter.api.Test; 26 24 27 import net.trajano.commons.testing.UtilityClassTestUtil; 25 import org.junit.jupiter.api.Test;26 28 27 29 /** … … 354 356 * Tests if readBytesFromStream handles null streams (might happen when there is no data on error stream) 355 357 * @throws IOException in case of I/O error 356 */ 357 @Test 358 * @deprecated {@link Utils#readBytesFromStream(InputStream)} is deprecated since the JVM has the same functionality. 359 */ 360 @Test 361 @Deprecated 358 362 void testNullStreamForReadBytesFromStream() throws IOException { 359 363 assertEquals(0, Utils.readBytesFromStream(null).length, "Empty on null stream");
Note:
See TracChangeset
for help on using the changeset viewer.