Searched refs:testCursor (Results 1 – 2 of 2) sorted by relevance
36 final FakeCursor testCursor = TestDataFactory.getConversationMessageCursor(); in testBindFirstMessage() local38 testCursor.moveToFirst(); in testBindFirstMessage()39 data.bind(testCursor); in testBindFirstMessage()41 assertEquals(testCursor.getAt(ConversationMessageViewColumns.STATUS, 0).equals( in testBindFirstMessage()43 assertEquals(testCursor.getAt(ConversationMessageViewColumns.SENDER_PROFILE_PHOTO_URI, in testBindFirstMessage()45 assertEquals(testCursor.getAt(ConversationMessageViewColumns.SENDER_FULL_NAME, 0), in testBindFirstMessage()50 final FakeCursor testCursor = TestDataFactory.getConversationMessageCursor(); in testBindTwice() local52 testCursor.moveToPosition(1); in testBindTwice()53 data.bind(testCursor); in testBindTwice()54 assertEquals(TestDataFactory.getMessageText(testCursor, 1), data.getText()); in testBindTwice()[all …]
29 final FakeCursor testCursor = TestDataFactory.getConversationParticipantsCursor(); in testBindParticipants() local31 data.bind(testCursor); in testBindParticipants()33 assertEquals(data.getParticipantListExcludingSelf().size(), testCursor.getCount()); in testBindParticipants()36 assertEquals(participant2.getFirstName(), testCursor.getAt( in testBindParticipants()38 assertEquals(participant2.getSendDestination(), testCursor.getAt( in testBindParticipants()