Changeset 18021 in josm for trunk/test
- Timestamp:
- 2021-07-14T20:52:02+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/layer/geoimage/WikimediaCommonsLoaderTest.java
r17883 r18021 1 1 // License: GPL. For details, see LICENSE file. 2 2 package org.openstreetmap.josm.gui.layer.geoimage; 3 4 import com.github.tomakehurst.wiremock.WireMockServer;5 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;6 import org.junit.jupiter.api.Test;7 import org.junit.jupiter.api.extension.RegisterExtension;8 import org.openstreetmap.josm.data.Bounds;9 import org.openstreetmap.josm.testutils.JOSMTestRules;10 11 import java.net.URL;12 import java.util.List;13 3 14 4 import static com.github.tomakehurst.wiremock.client.WireMock.aResponse; … … 17 7 import static com.github.tomakehurst.wiremock.core.WireMockConfiguration.options; 18 8 import static org.junit.jupiter.api.Assertions.assertEquals; 9 10 import java.net.URL; 11 import java.util.List; 12 13 import org.junit.jupiter.api.Test; 14 import org.junit.jupiter.api.extension.RegisterExtension; 15 import org.openstreetmap.josm.data.Bounds; 16 import org.openstreetmap.josm.testutils.JOSMTestRules; 17 18 import com.github.tomakehurst.wiremock.WireMockServer; 19 20 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 19 21 20 22 /** … … 51 53 assertEquals(new URL("https://upload.wikimedia.org/wikipedia/commons/e/e8/ISS053-E-105875_-_View_of_Earth.jpg"), 52 54 image.getImageUrl()); 53 image.read(null); // load the image from commons.wikimedia.org54 55 } 55 56
Note:
See TracChangeset
for help on using the changeset viewer.