[Background Sync] Instrumentation tests.
Add some instrumentation tests for Background Sync. We currently don't have any that run on Android, and this CL bridges that gap. A previous attempt was made at this here: https://chromium-review.googlesource.com/c/chromium/src/+/1534160 but it worked by fluke, since our test devices happened to have network connectivity. That can't be guaranteed so this CL mocks out network connection type. It also mocks out BackgroundTaskScheduler because the last attempt was failing to get the BackgroundTaskScheduler delegate for Android L and below. This was because Google Play services isn't up to date on our test devices. Bug: 996664 Change-Id: I904664a87e31439a65c0f9a04a1c9c4b21d03bdc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1768321 Commit-Queue: Mugdha Lakhani <nator@chromium.org> Reviewed-by:Ted Choc <tedchoc@chromium.org> Reviewed-by:
Peter Conn <peconn@chromium.org> Reviewed-by:
Rayan Kanso <rayankans@chromium.org> Cr-Commit-Position: refs/heads/master@{#694759}
Showing
Please register or sign in to comment