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

Unified Diff: chrome/android/junit/src/org/chromium/chrome/browser/offlinepages/BackgroundSchedulerTest.java

Issue 2698143005: [Offline pages] Ensuring obtaining GcmNetworkManager in BackgroundScheduler does not throw (Closed)
Patch Set: Fixing date in copyright header Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/junit/src/org/chromium/chrome/browser/offlinepages/BackgroundSchedulerTest.java
diff --git a/chrome/android/junit/src/org/chromium/chrome/browser/offlinepages/BackgroundSchedulerTest.java b/chrome/android/junit/src/org/chromium/chrome/browser/offlinepages/BackgroundSchedulerTest.java
index 0e22addef265b002d64146cbe5a5164554d44703..2f583a1debe7dfcfd2d13b12149ea5699452ff0f 100644
--- a/chrome/android/junit/src/org/chromium/chrome/browser/offlinepages/BackgroundSchedulerTest.java
+++ b/chrome/android/junit/src/org/chromium/chrome/browser/offlinepages/BackgroundSchedulerTest.java
@@ -28,9 +28,8 @@ import org.chromium.base.test.util.Feature;
* Unit tests for BackgroundScheduler.
*/
@RunWith(OfflinePageTestRunner.class)
-@Config(manifest = Config.NONE,
- application = BaseChromiumApplication.class,
- shadows = {ShadowGcmNetworkManager.class})
+@Config(manifest = Config.NONE, application = BaseChromiumApplication.class,
+ shadows = {ShadowGcmNetworkManager.class, ShadowGoogleApiAvailability.class})
public class BackgroundSchedulerTest {
private Context mContext;
private TriggerConditions mConditions1 = new TriggerConditions(

Powered by Google App Engine
This is Rietveld 408576698