Searched refs:executeTaskForTest (Results 1 – 5 of 5) sorted by relevance
51 mModelHelper.executeTaskForTest(newTask("app1", 30)); in testSessionUpdate_ignore_installed()59 mModelHelper.executeTaskForTest(newTask("app3", 30)); in testSessionUpdate_shortcuts_updated()66 mModelHelper.executeTaskForTest(newTask("app4", 30)); in testSessionUpdate_widgets_updated()
105 mModelHelper.executeTaskForTest(newTask(CacheDataUpdatedTask.OP_CACHE_UPDATE, "app1")); in testCacheUpdate_update_apps()124 mModelHelper.executeTaskForTest(newTask(CacheDataUpdatedTask.OP_SESSION_UPDATE, "app1")); in testSessionUpdate_ignores_normal_apps()132 mModelHelper.executeTaskForTest(newTask(CacheDataUpdatedTask.OP_SESSION_UPDATE, "app3")); in testSessionUpdate_updates_pending_apps()
130 assertTrue(mModelHelper.executeTaskForTest(newTask(info)).isEmpty()); in testAddItem_existing_item_ignored()147 mModelHelper.executeTaskForTest(newTask(info, info2)).get(0).run(); in testAddItem_some_items_added()
151 mModelHelper.executeTaskForTest( in widgetsRecommendationRan_shouldOnlyReturnNotAddedWidgetsInAppPredictionOrder()190 mModelHelper.executeTaskForTest( in widgetsRecommendationRan_localFilterDisabled_shouldReturnWidgetsInPredicationOrder()
188 public List<Runnable> executeTaskForTest(ModelUpdateTask task) throws Exception { in executeTaskForTest() method in LauncherModelHelper