Changeset 11320 in josm for trunk/test/unit/org
- Timestamp:
- 2016-11-26T23:45:05+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/tools/UtilsTest.java
r11241 r11320 3 3 4 4 import static org.junit.Assert.assertEquals; 5 import static org.junit.Assert.assertNull; 5 6 7 import java.io.IOException; 6 8 import java.util.Arrays; 7 9 import java.util.Collections; … … 162 164 assertEquals("<ul></ul>", Utils.joinAsHtmlUnorderedList(Collections.emptyList())); 163 165 } 166 167 /** 168 * Tests if readBytesFromStream handles null streams (might happen when there is no data on error stream) 169 * @throws IOException 170 * 171 */ 172 @Test 173 public void testNullStreamForReadBytesFromStream() throws IOException { 174 assertNull("Null on null stream", Utils.readBytesFromStream(null)); 175 } 176 164 177 }
Note:
See TracChangeset
for help on using the changeset viewer.