Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(562)

Issue 1599113002: Fix org.chromium.chrome.browser.GeolocationTest (Closed)

Created:
4 years, 11 months ago by pkotwicz
Modified:
4 years, 11 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix org.chromium.chrome.browser.GeolocationTest The geolocation tests did not work because: - They referred to incorrect test pages. Correct test pages: https://chrome-internal-review.googlesource.com/#/c/27084/3/test/data/android/geolocation/geolocation_on_load.html https://chrome-internal-review.googlesource.com/#/c/27084/3/test/data/android/geolocation/geolocation_watch_on_load.html - A race condition was causing LocationProviderAdapter.newLocationAvailable() to be often called prior to LocationProviderFactory.LocationProvider.start(). In addition to fixing the above problems, this CL makes org.chromium.chrome.browser.GeolocationTest more similar to - org.chromium.android_webview.test.GeolocationTest - org.chromium.content.browser.ContentViewLocationTest In particular, all of the tests now: - Use the same test page - Use MockLocationProvider BUG=141518 Test=Less flakiness Committed: https://crrev.com/5228d5afe9d76431d7cca53eb1ea73b715e49e7e Cr-Commit-Position: refs/heads/master@{#370807}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -119 lines) Patch
M chrome/android/javatests/src/org/chromium/chrome/browser/GeolocationTest.java View 3 chunks +51 lines, -112 lines 0 comments Download
M content/test/data/android/geolocation.html View 1 chunk +17 lines, -7 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
pkotwicz
mvanouwerkerk@ can you please take a look?
4 years, 11 months ago (2016-01-18 18:31:29 UTC) #2
pkotwicz
mvanouwerkerk@chromium.org Ping!
4 years, 11 months ago (2016-01-20 15:45:44 UTC) #3
pkotwicz
tedchoc@ can you please take a look? I am not too sure who is the ...
4 years, 11 months ago (2016-01-21 18:24:28 UTC) #5
Ted C
probably not me honestly, but the change seems reasonable and looks good so lgtm
4 years, 11 months ago (2016-01-21 21:12:22 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1599113002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1599113002/1
4 years, 11 months ago (2016-01-21 21:15:09 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 11 months ago (2016-01-21 22:35:15 UTC) #9
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/5228d5afe9d76431d7cca53eb1ea73b715e49e7e Cr-Commit-Position: refs/heads/master@{#370807}
4 years, 11 months ago (2016-01-21 22:36:37 UTC) #11
mikecase (-- gone --)
4 years, 11 months ago (2016-01-22 01:45:50 UTC) #12
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/1614843005/ by mikecase@chromium.org.

The reason for reverting is: Causing downstream test failures on ToT bots
(blocking Chromium rolls downstream).

Powered by Google App Engine
This is Rietveld 408576698