/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/ |
D | GalleryGridItemViewTest.java | 39 @Mock GalleryGridItemView.HostInterface mockHost; field in GalleryGridItemViewTest 50 Mockito.verify(mockHost).onItemClicked(view, data, false /* longClick */); in verifyClickedItem() 74 Mockito.when(mockHost.isMultiSelectEnabled()).thenReturn(false); in testBind() 75 Mockito.when(mockHost.isItemSelected(Matchers.<GalleryGridItemData>any())) in testBind() 81 view.bind(cursor, mockHost); in testBind() 87 Mockito.when(mockHost.isMultiSelectEnabled()).thenReturn(true); in testBindMultiSelectUnSelected() 88 Mockito.when(mockHost.isItemSelected(Matchers.<GalleryGridItemData>any())) in testBindMultiSelectUnSelected() 94 view.bind(cursor, mockHost); in testBindMultiSelectUnSelected() 100 Mockito.when(mockHost.isMultiSelectEnabled()).thenReturn(true); in testBindMultiSelectSelected() 101 Mockito.when(mockHost.isItemSelected(Matchers.<GalleryGridItemData>any())) in testBindMultiSelectSelected() [all …]
|
D | AudioRecordViewTest.java | 35 @Mock AudioRecordView.HostInterface mockHost; field in AudioRecordViewTest 47 Mockito.verify(mockHost).onAudioRecorded(Matchers.any(MessagePartData.class)); in verifyAudioSubmitted() 53 view.setHostInterface(mockHost); in initView()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/ |
D | ContactListItemViewTest.java | 38 @Mock ContactListItemView.HostInterface mockHost; field in ContactListItemViewTest 50 Mockito.verify(mockHost).onContactListItemClicked(data, view); in verifyAddedContactForData() 82 view.bind(cursor, mockHost, false, null); in testBindFirstLevel() 93 view.bind(cursor, mockHost, false, null); in testBindSecondLevel() 104 view.bind(cursor, mockHost, false, null); in testClickAddedContact() 114 view.bind(cursor, mockHost, false, null); in testBindTwice() 117 view.bind(cursor, mockHost, false, null); in testBindTwice()
|
D | ContactPickerFragmentTest.java | 60 @Mock protected ContactPickerFragmentHost mockHost; field in ContactPickerFragmentTest 93 fragment.setHost(mockHost); in initFragment()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversationlist/ |
D | ConversationListItemViewTest.java | 45 @Mock private ConversationListItemView.HostInterface mockHost; field in ConversationListItemViewTest 64 Mockito.verify(mockHost).onConversationClicked( in verifyLaunchedConversationForId() 137 view.bind(mCursor, mockHost); in testBindUnread() 147 view.bind(mCursor, mockHost); in testBindRead() 155 view.bind(mCursor, mockHost); in testClickLaunchesConversation() 165 view.bind(mCursor, mockHost); in testBindTwice() 168 view.bind(mCursor, mockHost); in testBindTwice()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/ |
D | ConversationFragmentTest.java | 59 @Mock protected ConversationFragmentHost mockHost; field in ConversationFragmentTest 120 fragment.setHost(mockHost); in loadWith() 160 Mockito.verify(mockHost, Mockito.never()).onStartComposeMessage(); in testClickComposeMessageView() 162 Mockito.verify(mockHost).onStartComposeMessage(); in testClickComposeMessageView()
|
D | ConversationMessageViewTest.java | 37 @Mock ConversationMessageViewHost mockHost; field in ConversationMessageViewTest 48 view.setHost(mockHost); in getView()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/attachmentchooser/ |
D | AttachmentChooserFragmentTest.java | 58 @Mock protected AttachmentChooserFragmentHost mockHost; field in AttachmentChooserFragmentTest 120 fragment.setHost(mockHost); in loadWith() 168 Mockito.verify(mockHost).onConfirmSelection(); in testUnselect()
|