| Index: chrome/android/junit/src/org/chromium/chrome/browser/offlinepages/TaskExtrasPackerTest.java
|
| diff --git a/chrome/android/junit/src/org/chromium/chrome/browser/offlinepages/TaskExtrasPackerTest.java b/chrome/android/junit/src/org/chromium/chrome/browser/offlinepages/TaskExtrasPackerTest.java
|
| index c2b05590e62f05b2992c8cee424bbb519853096a..668d520f9b48d5fc104125ebba9ac3006c53dfaa 100644
|
| --- a/chrome/android/junit/src/org/chromium/chrome/browser/offlinepages/TaskExtrasPackerTest.java
|
| +++ b/chrome/android/junit/src/org/chromium/chrome/browser/offlinepages/TaskExtrasPackerTest.java
|
| @@ -5,7 +5,6 @@
|
| package org.chromium.chrome.browser.offlinepages;
|
|
|
| import static org.junit.Assert.assertEquals;
|
| -import static org.junit.Assert.assertFalse;
|
| import static org.junit.Assert.assertNotSame;
|
| import static org.junit.Assert.assertTrue;
|
|
|
| @@ -16,7 +15,6 @@ import org.junit.runner.RunWith;
|
| import org.robolectric.annotation.Config;
|
|
|
| import org.chromium.base.test.util.Feature;
|
| -import org.chromium.chrome.browser.ChromeBackgroundService;
|
| import org.chromium.testing.local.LocalRobolectricTestRunner;
|
|
|
| /** Unit tests for {@link TaskExtrasPacker}. */
|
| @@ -37,15 +35,6 @@ public class TaskExtrasPackerTest {
|
|
|
| @Test
|
| @Feature({"OfflinePages"})
|
| - public void testHoldWakelock() {
|
| - Bundle taskExtras = new Bundle();
|
| - assertFalse(taskExtras.getBoolean(ChromeBackgroundService.HOLD_WAKELOCK, false));
|
| - TaskExtrasPacker.packHoldWakelock(taskExtras);
|
| - assertTrue(taskExtras.getBoolean(ChromeBackgroundService.HOLD_WAKELOCK, false));
|
| - }
|
| -
|
| - @Test
|
| - @Feature({"OfflinePages"})
|
| public void testTriggerConditionsExtra() {
|
| Bundle taskExtras = new Bundle();
|
| TriggerConditions conditions1 = new TriggerConditions(true, 25, false);
|
|
|