Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/
DActionModeTest.java68 final ActionMode mockActionMode = new MockActionMode(); in testSetType() local
69 assertEquals(ActionMode.TYPE_PRIMARY, mockActionMode.getType()); in testSetType()
71 mockActionMode.setType(ActionMode.TYPE_FLOATING); in testSetType()
72 assertEquals(ActionMode.TYPE_FLOATING, mockActionMode.getType()); in testSetType()
74 mockActionMode.setType(ActionMode.TYPE_PRIMARY); in testSetType()
75 assertEquals(ActionMode.TYPE_PRIMARY, mockActionMode.getType()); in testSetType()
80 final ActionMode mockActionMode = spy(new MockActionMode()); in testInvalidateContentRectDoesNotInvalidateFull() local
82 mockActionMode.invalidateContentRect(); in testInvalidateContentRectDoesNotInvalidateFull()
84 verify(mockActionMode, never()).invalidate(); in testInvalidateContentRectDoesNotInvalidateFull()