OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mockListener
(Results
1 - 9
of
9
) sorted by null
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/
ConversationActivityUiStateTest.java
32
@Mock protected ConversationActivityUiStateHost
mockListener
;
39
uiState.setHost(
mockListener
);
45
Mockito.verify(
mockListener
, Mockito.times(1)).onConversationContactPickerUiStateChanged(
65
uiState.setHost(
mockListener
);
69
Mockito.verify(
mockListener
, Mockito.times(1)).onConversationContactPickerUiStateChanged(
86
uiState.setHost(
mockListener
);
89
Mockito.verify(
mockListener
, Mockito.times(1)).onConversationContactPickerUiStateChanged(
108
uiState.setHost(
mockListener
);
114
Mockito.verify(
mockListener
, Mockito.times(1)).onConversationContactPickerUiStateChanged(
/frameworks/data-binding/samples/BindingDemo/app/src/test/java/com/android/example/bindingdemo/vo/
UnitTest.java
34
OnPropertyChangedListener
mockListener
= mock(OnPropertyChangedListener.class);
35
testUser.addOnPropertyChangedListener(
mockListener
);
37
verify(
mockListener
).onPropertyChanged(testUser, BR.name);
38
verifyNoMoreInteractions(
mockListener
);
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/
DeqpTestRunnerTest.java
168
ITestInvocationListener
mockListener
215
mockListener
.testRunStarted(ID, 1);
218
mockListener
.testStarted(EasyMock.eq(testId));
221
mockListener
.testEnded(EasyMock.eq(testId), EasyMock.<Map<String, String>>notNull());
224
mockListener
.testRunEnded(EasyMock.anyLong(), EasyMock.<Map<String, String>>notNull());
228
EasyMock.replay(
mockListener
);
232
deqpTest.run(
mockListener
);
234
EasyMock.verify(
mockListener
);
317
ITestInvocationListener
mockListener
353
mockListener
.testRunStarted(ID, 1)
[
all
...]
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
CameraManagerTest.java
210
MockStateCallback
mockListener
= MockStateCallback.mock();
211
mCameraListener = new BlockingStateCallback(
mockListener
);
222
camera = verifyCameraStateOpened(ids[i],
mockListener
);
251
MockStateCallback
mockListener
= MockStateCallback.mock();
252
mCameraListener = new BlockingStateCallback(
mockListener
);
311
verify(
mockListener
)
315
verifyNoMoreInteractions(
mockListener
);
324
mockListener
);
332
listenerList.add(
mockListener
);
521
MockStateCallback
mockListener
= MockStateCallback.mock()
[
all
...]
SurfaceViewPreviewTest.java
467
CaptureCallback
mockListener
,
473
verify(
mockListener
,
499
verify(
mockListener
,
507
verify(
mockListener
, never())
CameraDeviceTest.java
[
all
...]
/cts/tests/tests/permission/src/android/permission/cts/
NoLocationPermissionTest.java
139
LocationListener
mockListener
= new MockLocationListener();
142
mLocationManager.requestLocationUpdates(provider, 0, 0,
mockListener
);
150
mLocationManager.requestLocationUpdates(provider, 0, 0,
mockListener
, looper);
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
GetOrCreateConversationActionTest.java
48
@Mock GetOrCreateConversationActionListener
mockListener
;
77
mockListener
);
95
mockListener
);
ReadWriteDraftMessageActionTest.java
57
@Mock ReadDraftDataActionListener
mockListener
;
144
ReadDraftDataAction.readDraftData(conversationId, null, data,
mockListener
);
203
ReadDraftDataAction.readDraftData(conversationId, null, data,
mockListener
);
257
mockListener
);
Completed in 816 milliseconds