Searched refs:spiedTextView (Results 1 – 1 of 1) sorted by relevance
1840 TextView spiedTextView = spy(mTextView); in testUndo_imeAutoCorrection() local1841 InputConnection input = initTextViewForSimulatedIme(spiedTextView); in testUndo_imeAutoCorrection()1849 reset(spiedTextView); in testUndo_imeAutoCorrection()1856 verify(spiedTextView, times(1)).onCommitCorrection(refEq(correctionInfo)); in testUndo_imeAutoCorrection()1858 assertEquals("the", spiedTextView.getText().toString()); in testUndo_imeAutoCorrection()1859 spiedTextView.onTextContextMenuItem(android.R.id.undo); in testUndo_imeAutoCorrection()1860 assertEquals("teh", spiedTextView.getText().toString()); in testUndo_imeAutoCorrection()1861 spiedTextView.onTextContextMenuItem(android.R.id.undo); in testUndo_imeAutoCorrection()1862 assertEquals("", spiedTextView.getText().toString()); in testUndo_imeAutoCorrection()1869 TextView spiedTextView = spy(mTextView); in testUndo_imeAutoCompletion() local[all …]