Changeset 16162 in josm for trunk/test/unit/org
- Timestamp:
- 2020-03-17T20:09:45+01:00 (5 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/TestUtils.java
r14977 r16162 60 60 import com.github.tomakehurst.wiremock.WireMockServer; 61 61 import com.github.tomakehurst.wiremock.core.WireMockConfiguration; 62 import com.google.common.io.ByteStreams;63 62 64 63 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; … … 531 530 ) { 532 531 assertArrayEquals( 533 ByteStreams.toByteArray(streamA),534 ByteStreams.toByteArray(streamB)532 Utils.readBytesFromStream(streamA), 533 Utils.readBytesFromStream(streamB) 535 534 ); 536 535 } -
trunk/test/unit/org/openstreetmap/josm/actions/downloadtasks/PluginDownloadTaskTest.java
r14201 r16162 20 20 import org.openstreetmap.josm.plugins.PluginInformation; 21 21 import org.openstreetmap.josm.testutils.JOSMTestRules; 22 23 import com.google.common.io.ByteStreams; 22 import org.openstreetmap.josm.tools.Utils; 24 23 25 24 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; … … 141 140 assertArrayEquals( 142 141 existingPluginContents, 143 ByteStreams.toByteArray(pluginDirPluginStream)142 Utils.readBytesFromStream(pluginDirPluginStream) 144 143 ); 145 144 }
Note:
See TracChangeset
for help on using the changeset viewer.