OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mockHost
(Results
1 - 9
of
9
) sorted by null
/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/
GalleryGridItemViewTest.java
39
@Mock GalleryGridItemView.HostInterface
mockHost
;
50
Mockito.verify(
mockHost
).onItemClicked(view, data, false /* longClick */);
74
Mockito.when(
mockHost
.isMultiSelectEnabled()).thenReturn(false);
75
Mockito.when(
mockHost
.isItemSelected(Matchers.<GalleryGridItemData>any()))
81
view.bind(cursor,
mockHost
);
87
Mockito.when(
mockHost
.isMultiSelectEnabled()).thenReturn(true);
88
Mockito.when(
mockHost
.isItemSelected(Matchers.<GalleryGridItemData>any()))
94
view.bind(cursor,
mockHost
);
100
Mockito.when(
mockHost
.isMultiSelectEnabled()).thenReturn(true);
101
Mockito.when(
mockHost
.isItemSelected(Matchers.<GalleryGridItemData>any())
[
all
...]
AudioRecordViewTest.java
35
@Mock AudioRecordView.HostInterface
mockHost
;
47
Mockito.verify(
mockHost
).onAudioRecorded(Matchers.any(MessagePartData.class));
53
view.setHostInterface(
mockHost
);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/customize/
TileQueryHelperTest.java
54
QSTileHost
mockHost
= mock(QSTileHost.class);
57
new TileQueryHelper(mContext,
mockHost
, mockAdapter, mockCompletion);
70
QSTileHost
mockHost
= mock(QSTileHost.class);
71
when(
mockHost
.createTile(any())).thenReturn(mockTile);
79
new TileQueryHelper(mContext,
mockHost
, mockAdapter, mockCompletion);
/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/
ContactListItemViewTest.java
38
@Mock ContactListItemView.HostInterface
mockHost
;
50
Mockito.verify(
mockHost
).onContactListItemClicked(data, view);
82
view.bind(cursor,
mockHost
, false, null);
93
view.bind(cursor,
mockHost
, false, null);
104
view.bind(cursor,
mockHost
, false, null);
114
view.bind(cursor,
mockHost
, false, null);
117
view.bind(cursor,
mockHost
, false, null);
ContactPickerFragmentTest.java
58
@Mock protected ContactPickerFragmentHost
mockHost
;
91
fragment.setHost(
mockHost
);
206
// Mockito.verify(
mockHost
).onInitiateAddMoreParticipants();
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversationlist/
ConversationListItemViewTest.java
45
@Mock private ConversationListItemView.HostInterface
mockHost
;
69
Mockito.verify(
mockHost
).onConversationClicked(
142
view.bind(mCursor,
mockHost
);
152
view.bind(mCursor,
mockHost
);
160
view.bind(mCursor,
mockHost
);
170
view.bind(mCursor,
mockHost
);
173
view.bind(mCursor,
mockHost
);
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/
ConversationFragmentTest.java
58
@Mock protected ConversationFragmentHost
mockHost
;
116
fragment.setHost(
mockHost
);
156
Mockito.verify(
mockHost
, Mockito.never()).onStartComposeMessage();
158
Mockito.verify(
mockHost
).onStartComposeMessage();
ConversationMessageViewTest.java
37
@Mock ConversationMessageViewHost
mockHost
;
48
view.setHost(
mockHost
);
/packages/apps/Messaging/tests/src/com/android/messaging/ui/attachmentchooser/
AttachmentChooserFragmentTest.java
58
@Mock protected AttachmentChooserFragmentHost
mockHost
;
122
fragment.setHost(
mockHost
);
170
Mockito.verify(
mockHost
).onConfirmSelection();
Completed in 238 milliseconds