Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAppTaskTest.java23 final AppTask appTask = ShadowAppTask.newInstance(); in finishAndRemoveTask_marksTaskFinished() local
25 appTask.finishAndRemoveTask(); in finishAndRemoveTask_marksTaskFinished()
27 assertThat(shadowOf(appTask).isFinishedAndRemoved()).isTrue(); in finishAndRemoveTask_marksTaskFinished()
42 final AppTask appTask = ShadowAppTask.newInstance(); in getTaskInfo_returnsCorrectValue() local
46 shadowOf(appTask).setTaskInfo(recentTaskInfo); in getTaskInfo_returnsCorrectValue()
48 assertThat(appTask.getTaskInfo()).isSameAs(recentTaskInfo); in getTaskInfo_returnsCorrectValue()
53 final AppTask appTask = ShadowAppTask.newInstance(); in moveToFront_movesTaskToFront() local
55 appTask.moveToFront(); in moveToFront_movesTaskToFront()
57 assertThat(shadowOf(appTask).hasMovedToFront()).isTrue(); in moveToFront_movesTaskToFront()
67 final AppTask appTask = ShadowAppTask.newInstance(); in startActivity() local
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowInstrumentation.java155 Context who, IBinder contextThread, Object appTask, Intent intent, Bundle options) { in execStartActivityFromAppTask() argument