Commit fc3ad217 authored by Ian Wells's avatar Ian Wells Committed by Commit Bot

Enable some tests that had been disabled because of limitless mode

Bug: 803584
Change-Id: I189c280a19e9c6a591af6b6ee0e8a37e2abb020d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1490497
Auto-Submit: Ian Wells <iwells@chromium.org>
Commit-Queue: Carlos Knippschild <carlosk@chromium.org>
Reviewed-by: default avatarCarlos Knippschild <carlosk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#637986}
parent 67859011
...@@ -18,7 +18,6 @@ import android.content.Context; ...@@ -18,7 +18,6 @@ import android.content.Context;
import android.os.Bundle; import android.os.Bundle;
import org.junit.Before; import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.mockito.ArgumentCaptor; import org.mockito.ArgumentCaptor;
...@@ -154,9 +153,7 @@ public class PrefetchBackgroundTaskUnitTest { ...@@ -154,9 +153,7 @@ public class PrefetchBackgroundTaskUnitTest {
/** /**
* Tests that the background task is scheduled when limitless prefetching is enabled: * Tests that the background task is scheduled when limitless prefetching is enabled:
* the waiting delay is shorter but the provided backoff time should be respected. * the waiting delay is shorter but the provided backoff time should be respected.
* TODO(https://crbug.com/803584): fix limitless mode or fully remove it.
*/ */
@Ignore
@Test @Test
public void scheduleTaskLimitless() { public void scheduleTaskLimitless() {
final int additionalDelaySeconds = 20; final int additionalDelaySeconds = 20;
...@@ -215,9 +212,7 @@ public class PrefetchBackgroundTaskUnitTest { ...@@ -215,9 +212,7 @@ public class PrefetchBackgroundTaskUnitTest {
/** /**
* Tests that the background task is correctly started when conditions are sufficient for * Tests that the background task is correctly started when conditions are sufficient for
* limitless prefetching. * limitless prefetching.
* TODO(https://crbug.com/803584): fix limitless mode or fully remove it.
*/ */
@Ignore
@Test @Test
public void createNativeTaskLimitless() { public void createNativeTaskLimitless() {
final ArrayList<Boolean> reschedules = new ArrayList<>(); final ArrayList<Boolean> reschedules = new ArrayList<>();
...@@ -310,9 +305,7 @@ public class PrefetchBackgroundTaskUnitTest { ...@@ -310,9 +305,7 @@ public class PrefetchBackgroundTaskUnitTest {
/** /**
* Tests that the background task is not started (rescheduled) when there's no connection and * Tests that the background task is not started (rescheduled) when there's no connection and
* limitless prefetching is enabled. * limitless prefetching is enabled.
* TODO(https://crbug.com/803584): fix limitless mode or fully remove it.
*/ */
@Ignore
@Test @Test
public void testNoNetworkLimitless() throws Exception { public void testNoNetworkLimitless() throws Exception {
// Setup no network conditions. // Setup no network conditions.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment