Home
last modified time | relevance | path

Searched refs:assertRanOnce (Results 1 – 2 of 2) sorted by relevance

/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
DPerNameExecutorTest.java20 import static com.android.quicksearchbox.util.MockTask.assertRanOnce;
51 assertRanOnce("step 1", a1, b1); in testExecute()
54 assertRanOnce("step 2", a1, b1, a2); in testExecute()
57 assertRanOnce("step 3", a1, b1, a2, a3); in testExecute()
59 assertRanOnce("step 4", a1, b1, a2, a3); in testExecute()
68 assertRanOnce("step 1", a1, b1); in testCancelPendingTasks()
71 assertRanOnce("step 1, after cancel", a1, b1); in testCancelPendingTasks()
74 assertRanOnce("step 2", a1, b1); in testCancelPendingTasks()
82 assertRanOnce("step 3", a1, b1, a3, c1); in testCancelPendingTasks()
85 assertRanOnce("step 4", a1, b1, a3, c1); in testCancelPendingTasks()
DMockTask.java66 public void assertRanOnce(String message) { in assertRanOnce() method in MockTask
76 public static void assertRanOnce(String message, MockTask... tasks) { in assertRanOnce() method in MockTask
78 task.assertRanOnce(message); in assertRanOnce()