Gradle Test Run :app:testDevDebugUnitTest

PrivateMessageRepositoryImplTest

summary

53

tests

0

failures

0

skipped

4.108s

duration

100%

successful

Child Tests Failures Skipped Duration Success rate
addGroupParticipant returns Success 1 0 0 0.017s 100%
closeGroupConversation returns Error on exception 1 0 0 0.034s 100%
closeGroupConversation returns Success 1 0 0 0.043s 100%
createGroupConversation calls update once per extra participant (one-at-a-time growth) 1 0 0 0.081s 100%
createGroupConversation deduplicates creator from the extra-participants loop 1 0 0 0.449s 100%
createGroupConversation initial create writes participantIds with only creatorId (UK OSA PR 8 size-1 rule) 1 0 0 0.043s 100%
createGroupConversation per-participant add failure does not abort the call 1 0 0 0.033s 100%
createGroupConversation returns Success 1 0 0 0.038s 100%
createGroupConversation stamps cohort field on the doc (UK OSA PR 8 rules bind) 1 0 0 0.056s 100%
editMessage patches the edit route with only the new text 1 0 0 0.065s 100%
editMessage returns Error when the message was recalled 1 0 0 0.085s 100%
editMessage returns Error when the route refuses 1 0 0 0.052s 100%
getConversations ignores a null snapshot and keeps listening 1 0 0 0.604s 100%
getConversations propagates a listener error via close 1 0 0 0.112s 100%
getConversations queries participantIds with a String uid and maps documents 1 0 0 0.089s 100%
getConversations removes the listener after an error close 1 0 0 0.532s 100%
getMessages emits empty list and logs when listener receives error 1 0 0 0.050s 100%
getOrCreateConversation asks the API rather than reading Firestore 1 0 0 0.042s 100%
getOrCreateConversation returns Error on exception 1 0 0 0.039s 100%
getOrCreateConversation returns Error when the answer carries no id 1 0 0 0.028s 100%
getOrCreateConversation returns the conversation the API answered 1 0 0 0.038s 100%
getOrCreateConversation sends the OTHER party, whichever order it is given 1 0 0 0.050s 100%
hideConversation returns Success 1 0 0 0.037s 100%
hideMessage returns Success 1 0 0 0.037s 100%
markAsRead returns Success 1 0 0 0.042s 100%
muteConversation returns Success 1 0 0 0.032s 100%
muteGroupMember saves the mute's row at its member's path 1 0 0 0.021s 100%
pinConversation returns Success 1 0 0 0.032s 100%
prefetchConversations does not query Firestore when currentUserId is null 1 0 0 0.040s 100%
prefetchConversations populates the cache which getConversations replays first 1 0 0 0.093s 100%
prefetchConversations queries participantIds with a String uid 1 0 0 0.112s 100%
prefetchConversations swallows a Firestore exception and leaves the cache null 1 0 0 0.069s 100%
recallMessage posts the recall route 1 0 0 0.074s 100%
recallMessage returns Error on any other refusal 1 0 0 0.043s 100%
recallMessage treats already recalled as success 1 0 0 0.043s 100%
removeGroupParticipant returns Success 1 0 0 0.036s 100%
resetUnreadCount returns Success 1 0 0 0.040s 100%
searchUsers excludes the caller from the results 1 0 0 0.042s 100%
searchUsers goes through the API, not Firestore 1 0 0 0.069s 100%
searchUsers returns empty for a blank query without calling the API 1 0 0 0.048s 100%
searchUsers returns the users the API reports 1 0 0 0.046s 100%
searchUsers surfaces a failure as an error, not an empty list 1 0 0 0.079s 100%
searchUsers url-encodes the query rather than pasting it in raw 1 0 0 0.041s 100%
sendImageMessage returns Success 1 0 0 0.016s 100%
sendRoomInviteMessage returns Success 1 0 0 0.029s 100%
sendStickerMessage returns Success 1 0 0 0.049s 100%
sendTextMessage returns Error on exception 1 0 0 0.032s 100%
sendTextMessage returns Success 1 0 0 0.030s 100%
toggleReaction returns Success 1 0 0 0.051s 100%
transferOwnership returns Success 1 0 0 0.051s 100%
unmuteGroupMember returns Success 1 0 0 0.057s 100%
updateGroupName returns Success 1 0 0 0.052s 100%
updateGroupRoles returns Success 1 0 0 0.056s 100%