OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mockDraftMessageData
(Results
1 - 4
of
4
) sorted by null
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/
ComposeMessageViewTest.java
57
@Mock protected DraftMessageData
mockDraftMessageData
;
95
Mockito.when(
mockDraftMessageData
.getReadOnlyAttachments())
97
Mockito.when(
mockDraftMessageData
.getIsDefaultSmsApp()).thenReturn(true);
104
Mockito.when(
mockDraftMessageData
.isBound(Matchers.anyString()))
106
Mockito.when(
mockDraftMessageData
.getMessageText()).thenReturn(message.getMessageText());
107
Mockito.when(
mockDraftMessageData
.prepareMessageForSending(
110
Mockito.when(
mockDraftMessageData
.hasPendingAttachments()).thenReturn(false);
116
mockDraftMessageData
, CheckDraftForSendTask.RESULT_PASSED);
119
}).when(
mockDraftMessageData
).checkDraftForAction(Mockito.anyBoolean(), Mockito.anyInt(),
123
view.bind(
mockDraftMessageData
, mockIComposeMessageViewHost)
[
all
...]
ConversationFragmentTest.java
55
@Mock protected DraftMessageData
mockDraftMessageData
;
87
Mockito.when(
mockDraftMessageData
.isBound(Matchers.anyString()))
91
Mockito.doReturn(
mockDraftMessageData
)
ConversationInputManagerTest.java
52
@Mock protected DraftMessageData
mockDraftMessageData
;
83
Mockito.doReturn(true).when(
mockDraftMessageData
).isBound(Mockito.anyString());
88
draftBinding.bind(
mockDraftMessageData
);
/packages/apps/Messaging/tests/src/com/android/messaging/ui/attachmentchooser/
AttachmentChooserFragmentTest.java
57
@Mock protected DraftMessageData
mockDraftMessageData
;
94
Mockito.when(
mockDraftMessageData
.isBound(Matchers.anyString()))
96
Mockito.doReturn(
mockDraftMessageData
)
100
.when(
mockDraftMessageData
)
104
.thenReturn(
mockDraftMessageData
);
126
Mockito.verify(
mockDraftMessageData
).loadFromStorage(
135
fragment.onDraftChanged(
mockDraftMessageData
, DraftMessageData.ALL_CHANGED);
167
Mockito.verify(
mockDraftMessageData
).removeExistingAttachments(Matchers.argThat(
169
Mockito.verify(
mockDraftMessageData
).saveToStorage(Matchers.eq(getFragment().mBinding));
Completed in 65 milliseconds