Fixing some robolectric tests
Bug: 131115553 Bug: 141576665 Bug: 141577881 Change-Id: Idb7e9346f57fea1d0231391477fdd11ad6b96a5c
This commit is contained in:
@@ -11,7 +11,6 @@ import com.android.launcher3.ItemInfo;
|
||||
import com.android.launcher3.WorkspaceItemInfo;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.robolectric.RobolectricTestRunner;
|
||||
@@ -41,7 +40,6 @@ public class CacheDataUpdatedTaskTest extends BaseModelUpdateTaskTestCase {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore("This test fails with resource errors") // b/131115553
|
||||
public void testCacheUpdate_update_apps() throws Exception {
|
||||
// Clear all icons from apps list so that its easy to check what was updated
|
||||
for (AppInfo info : allAppsList.data) {
|
||||
@@ -66,7 +64,6 @@ public class CacheDataUpdatedTaskTest extends BaseModelUpdateTaskTestCase {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore("This test fails with resource errors") // b/131115553
|
||||
public void testSessionUpdate_ignores_normal_apps() throws Exception {
|
||||
executeTaskForTest(newTask(CacheDataUpdatedTask.OP_SESSION_UPDATE, "app1"));
|
||||
|
||||
@@ -75,7 +72,6 @@ public class CacheDataUpdatedTaskTest extends BaseModelUpdateTaskTestCase {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore("This test fails with resource errors") // b/131115553
|
||||
public void testSessionUpdate_updates_pending_apps() throws Exception {
|
||||
executeTaskForTest(newTask(CacheDataUpdatedTask.OP_SESSION_UPDATE, "app3"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user