Searched refs:testCursor (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/data/ |
D | ConversationMessageDataTest.java | 36 final FakeCursor testCursor = TestDataFactory.getConversationMessageCursor(); in testBindFirstMessage() local 38 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() local 52 testCursor.moveToPosition(1); in testBindTwice() 53 data.bind(testCursor); in testBindTwice() 54 assertEquals(TestDataFactory.getMessageText(testCursor, 1), data.getText()); in testBindTwice() [all …]
|
D | ConversationParticipantsDataTest.java | 29 final FakeCursor testCursor = TestDataFactory.getConversationParticipantsCursor(); in testBindParticipants() local 31 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()
|
/packages/apps/Dialer/tests/src/com/android/dialer/list/ |
D | PhoneFavoritesTileAdapterTest.java | 209 Cursor testCursor = getCursorForTest(1, 0); in testSetContactCursor_DisplayNameOrder_Primary() local 210 mAdapter.setContactCursor(testCursor); in testSetContactCursor_DisplayNameOrder_Primary() 218 Cursor testCursor = getCursorForTest(1, 0); in testSetContactCursor_DisplayNameOrder_Alternative() local 219 mAdapter.setContactCursor(testCursor); in testSetContactCursor_DisplayNameOrder_Alternative() 227 Cursor testCursor = getCursorForTest(1, 0); in testSetContactCursor_DisplayNameOrder_Changed() local 228 mAdapter.setContactCursor(testCursor); in testSetContactCursor_DisplayNameOrder_Changed() 235 mAdapter.setContactCursor(testCursor); in testSetContactCursor_DisplayNameOrder_Changed()
|