Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewReceiveContentTest.java140 verify(ic.mMock, times(1)) in testOnReceive_fallbackToCommitContent()
142 verifyNoMoreInteractions(ic.mMock); in testOnReceive_fallbackToCommitContent()
162 verifyZeroInteractions(ic.mMock); in testOnReceive_fallbackToCommitContent_noMimeTypesInEditorInfo()
183 verifyZeroInteractions(ic.mMock); in testOnReceive_fallbackToCommitContent_sourceOtherThanAutofill()
187 verifyZeroInteractions(ic.mMock); in testOnReceive_fallbackToCommitContent_sourceOtherThanAutofill()
191 verifyZeroInteractions(ic.mMock); in testOnReceive_fallbackToCommitContent_sourceOtherThanAutofill()
195 verifyZeroInteractions(ic.mMock); in testOnReceive_fallbackToCommitContent_sourceOtherThanAutofill()
199 public final InputConnection mMock; field in TextViewReceiveContentTest.MyInputConnection
203 mMock = Mockito.mock(InputConnection.class); in MyInputConnection()
208 mMock.commitContent(inputContentInfo, flags, opts); in commitContent()
/frameworks/libs/modules-utils/javatests/com/android/modules/utils/testing/
DExtendedMockitoRuleTest.java138 assertWithMessage("@Mock object").that(mClassUnderTest.mMock).isNotNull(); in testMocksInitialized()
145 assertWithMessage("@Mock object").that(mClassUnderTest.mMock).isNull(); in testMocksNotInitialized()
622 when(mClassUnderTest.mMock.getMeaningOfLife()).thenReturn(42); in applyRuleOnTestThatDoesntUseExpectation()
638 public DumbObject mMock; field in ExtendedMockitoRuleTest.ClassUnderTest