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/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DirectoryFragment.java | 330 Cursor testCursor = userClient.query(uri, /* projection= */ null, in isProviderAvailable() local 332 if (testCursor != null) { in isProviderAvailable()
|