/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/ |
D | FrequentContactsCursorBuilderTest.java | 22 import com.android.messaging.datamodel.data.TestDataFactory; 58 assertNull(builder.setFrequents(TestDataFactory.getStrequentContactsCursor()).build()); in testIncompleteBuild() 61 assertNull(builder.setAllContacts(TestDataFactory.getAllContactListCursor()).build()); in testIncompleteBuild() 66 .setAllContacts(TestDataFactory.getAllContactListCursor()) in testBuildOnce() 67 .setFrequents(TestDataFactory.getStrequentContactsCursor()) in testBuildOnce() 70 verifyBuiltCursor(TestDataFactory.getFrequentContactListCursor(), cursor); in testBuildOnce() 76 .setAllContacts(TestDataFactory.getAllContactListCursor()) in testBuildTwice() 77 .setFrequents(TestDataFactory.getStrequentContactsCursor()) in testBuildTwice() 84 .setAllContacts(TestDataFactory.getAllContactListCursor()) in testBuildTwice() 85 .setFrequents(TestDataFactory.getStrequentContactsCursor()) in testBuildTwice() [all …]
|
D | FakeDataModel.java | 49 import com.android.messaging.datamodel.data.TestDataFactory; 229 TestDataFactory.createTestData(db); in onCreateTables()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/ |
D | ConversationMessageViewTest.java | 27 import com.android.messaging.datamodel.data.TestDataFactory; 72 final FakeCursor cursor = TestDataFactory.getConversationMessageCursor(); in testBind() 76 verifyContent(view, TestDataFactory.getMessageText(cursor, 0), true, Dates in testBind() 83 final FakeCursor cursor = TestDataFactory.getConversationMessageCursor(); in testBindTwice() 89 verifyContent(view, TestDataFactory.getMessageText(cursor, 1), true, Dates in testBindTwice() 96 final FakeCursor cursor = TestDataFactory.getConversationMessageCursor(); in testBindLast() 101 verifyContent(view, TestDataFactory.getMessageText(cursor, lastPos), true, Dates in testBindLast()
|
D | ConversationFragmentTest.java | 33 import com.android.messaging.datamodel.data.TestDataFactory; 145 final Cursor cursor = TestDataFactory.getConversationMessageCursor(); in testLoadListView() 154 final Cursor cursor = TestDataFactory.getConversationMessageCursor(); in testClickComposeMessageView()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/ |
D | ContactListItemViewTest.java | 29 import com.android.messaging.datamodel.data.TestDataFactory; 79 final FakeCursor cursor = TestDataFactory.getAllContactListCursor(); in testBindFirstLevel() 80 final int row = TestDataFactory.CONTACT_LIST_CURSOR_FIRST_LEVEL_CONTACT_INDEX; in testBindFirstLevel() 90 final FakeCursor cursor = TestDataFactory.getAllContactListCursor(); in testBindSecondLevel() 91 final int row = TestDataFactory.CONTACT_LIST_CURSOR_SECOND_LEVEL_CONTACT_INDEX; in testBindSecondLevel() 101 final FakeCursor cursor = TestDataFactory.getAllContactListCursor(); in testClickAddedContact() 111 final FakeCursor cursor = TestDataFactory.getAllContactListCursor(); in testBindTwice()
|
D | ContactPickerFragmentTest.java | 36 import com.android.messaging.datamodel.data.TestDataFactory; 158 final Cursor cursor = TestDataFactory.getAllContactListCursor(); in testLoadAllContactsList() 170 final Cursor cursor = TestDataFactory.getFrequentContactListCursor(); in testLoadFrequentContactsList() 179 final Cursor cursor = TestDataFactory.getFrequentContactListCursor(); in testPickInitialContact() 199 final Cursor cursor = TestDataFactory.getFrequentContactListCursor(); in testLeaveChipsMode() 212 final Cursor cursor = TestDataFactory.getFrequentContactListCursor(); in testPickMoreContacts()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/ |
D | GalleryGridItemViewTest.java | 28 import com.android.messaging.datamodel.data.TestDataFactory; 78 final FakeCursor cursor = TestDataFactory.getGalleryGridCursor(); in testBind() 91 final FakeCursor cursor = TestDataFactory.getGalleryGridCursor(); in testBindMultiSelectUnSelected() 104 final FakeCursor cursor = TestDataFactory.getGalleryGridCursor(); in testBindMultiSelectSelected() 117 final FakeCursor cursor = TestDataFactory.getGalleryGridCursor(); in testClick() 129 final FakeCursor cursor = TestDataFactory.getGalleryGridCursor(); in testBindTwice()
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/data/ |
D | ConversationMessageDataTest.java | 36 final FakeCursor testCursor = TestDataFactory.getConversationMessageCursor(); in testBindFirstMessage() 50 final FakeCursor testCursor = TestDataFactory.getConversationMessageCursor(); in testBindTwice() 54 assertEquals(TestDataFactory.getMessageText(testCursor, 1), data.getText()); in testBindTwice() 65 assertEquals(TestDataFactory.getMessageText(testCursor, 2), data.getText()); in testBindTwice() 77 final FakeCursor testCursor = TestDataFactory.getConversationMessageCursor(); in testMessageClustering()
|
D | ConversationParticipantsDataTest.java | 29 final FakeCursor testCursor = TestDataFactory.getConversationParticipantsCursor(); in testBindParticipants()
|
D | TestDataFactory.java | 46 public class TestDataFactory { class
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversationlist/ |
D | ConversationListFragmentTest.java | 31 import com.android.messaging.datamodel.data.TestDataFactory; 97 final Cursor cursor = TestDataFactory.getConversationListCursor(); in testLoadListView() 109 loadWith(TestDataFactory.getEmptyConversationListCursor()); in testEmptyView() 122 final Cursor cursor = TestDataFactory.getConversationListCursor(); in testStartNewConversation()
|
D | ConversationListItemViewTest.java | 31 import com.android.messaging.datamodel.data.TestDataFactory; 55 mCursor = TestDataFactory.getConversationListCursor(); in setUp() 134 final int messageIndex = TestDataFactory.CONVERSATION_LIST_CURSOR_UNREAD_MESSAGE_INDEX; in testBindUnread() 144 final int messageIndex = TestDataFactory.CONVERSATION_LIST_CURSOR_READ_MESSAGE_INDEX; in testBindRead()
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
D | GetOrCreateConversationActionTest.java | 38 import com.android.messaging.datamodel.data.TestDataFactory; 68 assertEquals(TestDataFactory.SMS_MMS_THREAD_ID_CURSOR_VALUE, threadId); in testGetOrCreateConversation() 88 int expectedConversationId = TestDataFactory.NUM_TEST_CONVERSATIONS + 1; in testGetOrCreateConversation() 153 return TestDataFactory.getSmsMmsThreadIdCursor(); in setUp()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/ |
D | BluetoothDeviceDetailsFragment.java | 58 interface TestDataFactory { interface in BluetoothDeviceDetailsFragment 65 static TestDataFactory sTestDataFactory;
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDeviceDetailsFragment.java | 60 interface TestDataFactory { interface in BluetoothDeviceDetailsFragment 66 static TestDataFactory sTestDataFactory;
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/attachmentchooser/ |
D | AttachmentChooserFragmentTest.java | 29 import com.android.messaging.datamodel.data.TestDataFactory; 140 final List<MessagePartData> attachments = TestDataFactory.getTestDraftAttachments(); in testUnselect()
|