/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/data/ |
D | ConversationMessageDataTest.java | 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() 55 assertEquals(testCursor.getAt(ConversationMessageViewColumns.RECEIVED_TIMESTAMP, 1), in testBindTwice() 57 assertEquals(testCursor.getAt(ConversationMessageViewColumns.STATUS, 1).equals( in testBindTwice() 59 assertEquals(testCursor.getAt(ConversationMessageViewColumns.SENDER_PROFILE_PHOTO_URI, in testBindTwice() 61 assertEquals(testCursor.getAt(ConversationMessageViewColumns.SENDER_FULL_NAME, 1), in testBindTwice() 66 assertEquals(testCursor.getAt(ConversationMessageViewColumns.RECEIVED_TIMESTAMP, 2), in testBindTwice() 68 assertEquals(testCursor.getAt(ConversationMessageViewColumns.STATUS, 2).equals( in testBindTwice() 70 assertEquals(testCursor.getAt(ConversationMessageViewColumns.SENDER_PROFILE_PHOTO_URI, in testBindTwice() [all …]
|
D | TestDataFactory.java | 153 … final String allPartsText = messageCursor.getAt(ConversationMessageViewColumns.PARTS_TEXTS, row) in getMessageText() 155 final int partsCount = (Integer) messageCursor.getAt( in getMessageText() 157 final String messageId = messageCursor.getAt( in getMessageText() 160 messageCursor.getAt(ConversationMessageViewColumns.PARTS_IDS, row).toString(), in getMessageText() 161 … messageCursor.getAt(ConversationMessageViewColumns.PARTS_CONTENT_TYPES, row).toString(), in getMessageText() 162 … messageCursor.getAt(ConversationMessageViewColumns.PARTS_CONTENT_URIS, row).toString(), in getMessageText() 163 messageCursor.getAt(ConversationMessageViewColumns.PARTS_WIDTHS, row).toString(), in getMessageText() 164 messageCursor.getAt(ConversationMessageViewColumns.PARTS_HEIGHTS, row).toString(), in getMessageText() 165 messageCursor.getAt(ConversationMessageViewColumns.PARTS_TEXTS, row).toString(), in getMessageText()
|
D | ConversationParticipantsDataTest.java | 36 assertEquals(participant2.getFirstName(), testCursor.getAt( in testBindParticipants() 38 assertEquals(participant2.getSendDestination(), testCursor.getAt( in testBindParticipants()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/ |
D | ContactListItemViewTest.java | 83 verifyContent(view, (String) cursor.getAt(Contacts.DISPLAY_NAME, row), in testBindFirstLevel() 84 (String) cursor.getAt(Phone.NUMBER, row), in testBindFirstLevel() 85 (String) cursor.getAt(Contacts.PHOTO_THUMBNAIL_URI, row), true); in testBindFirstLevel() 94 verifyContent(view, (String) cursor.getAt(Contacts.DISPLAY_NAME, row), in testBindSecondLevel() 95 (String) cursor.getAt(Phone.NUMBER, row), in testBindSecondLevel() 96 (String) cursor.getAt(Contacts.PHOTO_THUMBNAIL_URI, row), false); in testBindSecondLevel() 118 verifyContent(view, (String) cursor.getAt(Contacts.DISPLAY_NAME, 1), in testBindTwice() 119 (String) cursor.getAt(Phone.NUMBER, 1), in testBindTwice() 120 (String) cursor.getAt(Contacts.PHOTO_THUMBNAIL_URI, 1), true); in testBindTwice()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversationlist/ |
D | ConversationListItemViewTest.java | 73 final String name = (String) cursor.getAt(conversationQueryColumnsName, index); in verifyContent() 77 final String snippet = (String) cursor.getAt(conversationQueryColumnsSnippetText, index); in verifyContent() 82 (Long) cursor.getAt(conversationQueryColumnsSortTimestamp, index)).toString(); in verifyContent() 129 return 1 == ((Integer) cursor.getAt("read", index)).intValue(); in isRead() 158 mCursor.getAt("_id" /* ConversationQueryColumns._ID */, 0).toString(), view); in testClickLaunchesConversation()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/ |
D | GalleryGridItemViewTest.java | 80 final String path = (String) cursor.getAt(Media.DATA, 0); in testBind() 93 final String path = (String) cursor.getAt(Media.DATA, 0); in testBindMultiSelectUnSelected() 106 final String path = (String) cursor.getAt(Media.DATA, 0); in testBindMultiSelectSelected() 135 final String path = (String) cursor.getAt(Media.DATA, 1); in testBindTwice()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/ |
D | ConversationMessageViewTest.java | 77 .getMessageTimeString((Long) cursor.getAt("received_timestamp", 0)).toString()); in testBind() 90 .getMessageTimeString((Long) cursor.getAt("received_timestamp", 1)).toString()); in testBindTwice() 102 .getMessageTimeString((Long) cursor.getAt("received_timestamp", lastPos)) in testBindLast()
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/ |
D | FakeCursor.java | 44 public Object getAt(final String columnName, final int row) { in getAt() method in FakeCursor
|