Changeset 6920 in josm for trunk/test/functional/org/openstreetmap
- Timestamp:
- 2014-03-21T17:31:18+01:00 (11 years ago)
- Location:
- trunk/test/functional/org/openstreetmap/josm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/functional/org/openstreetmap/josm/fixtures/JOSMFixture.java
r6471 r6920 11 11 12 12 import org.openstreetmap.josm.Main; 13 import org.openstreetmap.josm.data.Preferences;14 13 import org.openstreetmap.josm.data.projection.Projections; 15 14 import org.openstreetmap.josm.io.OsmApi; … … 73 72 // 74 73 String url = OsmApi.getOsmApi().getBaseUrl().toLowerCase().trim(); 75 if (url.startsWith("http://www.openstreetmap.org") 76 || url.startsWith("http://api.openstreetmap.org")) {74 if (url.startsWith("http://www.openstreetmap.org") || url.startsWith("http://api.openstreetmap.org") 75 || url.startsWith("https://www.openstreetmap.org") || url.startsWith("https://api.openstreetmap.org")) { 77 76 fail(MessageFormat.format("configured server url ''{0}'' seems to be a productive url, aborting.", url)); 78 77 } -
trunk/test/functional/org/openstreetmap/josm/io/MultiFetchServerObjectReaderTest.java
r6881 r6920 189 189 // 190 190 String url = OsmApi.getOsmApi().getBaseUrl().toLowerCase().trim(); 191 if (url.startsWith("http://www.openstreetmap.org") 192 || url.startsWith("http://api.openstreetmap.org")) {191 if (url.startsWith("http://www.openstreetmap.org") || url.startsWith("http://api.openstreetmap.org") 192 || url.startsWith("https://www.openstreetmap.org") || url.startsWith("https://api.openstreetmap.org")) { 193 193 fail(MessageFormat.format("configured url ''{0}'' seems to be a productive url, aborting.", url)); 194 194 } 195 196 195 197 196 String p = System.getProperties().getProperty("useCachedDataset"); -
trunk/test/functional/org/openstreetmap/josm/io/OsmServerBackreferenceReaderTest.java
r6881 r6920 196 196 // 197 197 String url = OsmApi.getOsmApi().getBaseUrl().toLowerCase().trim(); 198 if (url.startsWith("http://www.openstreetmap.org") 199 || url.startsWith("http://api.openstreetmap.org")) {198 if (url.startsWith("http://www.openstreetmap.org") || url.startsWith("http://api.openstreetmap.org") 199 || url.startsWith("https://www.openstreetmap.org") || url.startsWith("https://api.openstreetmap.org")) { 200 200 fail(MessageFormat.format("configured url ''{0}'' seems to be a productive url, aborting.", url)); 201 201 } 202 203 202 204 203 String p = System.getProperties().getProperty("useCachedDataset");
Note:
See TracChangeset
for help on using the changeset viewer.