Changeset 13812 in josm for trunk/test
- Timestamp:
- 2018-05-21T21:55:08+02:00 (7 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/JOSMFixture.java
r13174 r13812 112 112 String url = Config.getPref().get("osm-server.url"); 113 113 if (url == null || url.isEmpty() || isProductionApiUrl(url)) { 114 Config.getPref().put("osm-server.url", "http ://api06.dev.openstreetmap.org/api");114 Config.getPref().put("osm-server.url", "https://api06.dev.openstreetmap.org/api"); 115 115 } 116 116 I18n.set(Config.getPref().get("language", "en")); -
trunk/test/unit/org/openstreetmap/josm/MainTest.java
r13173 r13812 46 46 @Test 47 47 public void testGetBaseUserUrl() { 48 assertEquals("http ://api06.dev.openstreetmap.org/user", Main.getBaseUserUrl());48 assertEquals("https://api06.dev.openstreetmap.org/user", Main.getBaseUserUrl()); 49 49 } 50 50 -
trunk/test/unit/org/openstreetmap/josm/data/oauth/OAuthParametersTest.java
r13173 r13812 37 37 assertNotNull(def); 38 38 assertEquals(def, OAuthParameters.createDefault(OsmApi.DEFAULT_API_URL)); 39 OAuthParameters dev = OAuthParameters.createDefault("http ://api06.dev.openstreetmap.org/api");39 OAuthParameters dev = OAuthParameters.createDefault("https://api06.dev.openstreetmap.org/api"); 40 40 assertNotNull(dev); 41 41 assertNotEquals(def, dev); -
trunk/test/unit/org/openstreetmap/josm/gui/MainApplicationTest.java
r13173 r13812 254 254 public void testPostConstructorProcessCmdLineHttpUrl() { 255 255 doTestPostConstructorProcessCmdLine( 256 "http ://api06.dev.openstreetmap.org/api/0.6/map?bbox=-126.75,-47.20,-126.65,-47.10",256 "https://api06.dev.openstreetmap.org/api/0.6/map?bbox=-126.75,-47.20,-126.65,-47.10", 257 257 "https://master.apis.dev.openstreetmap.org/api/0.6/trackpoints?bbox=-0.4,51.35,0.2,51.6&page=0", true); 258 258 } -
trunk/test/unit/org/openstreetmap/josm/testutils/JOSMTestRules.java
r13322 r13812 415 415 // Set API 416 416 if (useAPI == APIType.DEV) { 417 Config.getPref().put("osm-server.url", "http ://api06.dev.openstreetmap.org/api");417 Config.getPref().put("osm-server.url", "https://api06.dev.openstreetmap.org/api"); 418 418 } else if (useAPI == APIType.FAKE) { 419 419 FakeOsmApi api = FakeOsmApi.getInstance(); -
trunk/test/unit/org/openstreetmap/josm/tools/ExceptionUtilTest.java
r10487 r13812 247 247 @Test 248 248 public void testExplainMissingOAuthAccessTokenException() { 249 assertEquals("<html>Failed to authenticate at the OSM server 'http ://api06.dev.openstreetmap.org/api'.<br>"+249 assertEquals("<html>Failed to authenticate at the OSM server 'https://api06.dev.openstreetmap.org/api'.<br>"+ 250 250 "You are using OAuth to authenticate but currently there is no<br>OAuth Access Token configured.<br>"+ 251 251 "Please open the Preferences Dialog and generate or enter an Access Token.</html>",
Note:
See TracChangeset
for help on using the changeset viewer.