Searched refs:TestDataFactory (Results 1 – 15 of 15) sorted by relevance
23 import com.android.messaging.datamodel.data.TestDataFactory;59 assertNull(builder.setFrequents(TestDataFactory.getStrequentContactsCursor()).build()); in testIncompleteBuild()62 assertNull(builder.setAllContacts(TestDataFactory.getAllContactListCursor()).build()); in testIncompleteBuild()67 .setAllContacts(TestDataFactory.getAllContactListCursor()) in testBuildOnce()68 .setFrequents(TestDataFactory.getStrequentContactsCursor()) in testBuildOnce()71 verifyBuiltCursor(TestDataFactory.getFrequentContactListCursor(), cursor); in testBuildOnce()77 .setAllContacts(TestDataFactory.getAllContactListCursor()) in testBuildTwice()78 .setFrequents(TestDataFactory.getStrequentContactsCursor()) in testBuildTwice()85 .setAllContacts(TestDataFactory.getAllContactListCursor()) in testBuildTwice()86 .setFrequents(TestDataFactory.getStrequentContactsCursor()) in testBuildTwice()[all …]
49 import com.android.messaging.datamodel.data.TestDataFactory;229 TestDataFactory.createTestData(db); in onCreateTables()
27 import com.android.messaging.datamodel.data.TestDataFactory;71 final FakeCursor cursor = TestDataFactory.getConversationMessageCursor(); in testBind()75 verifyContent(view, TestDataFactory.getMessageText(cursor, 0), true, Dates in testBind()82 final FakeCursor cursor = TestDataFactory.getConversationMessageCursor(); in testBindTwice()88 verifyContent(view, TestDataFactory.getMessageText(cursor, 1), true, Dates in testBindTwice()95 final FakeCursor cursor = TestDataFactory.getConversationMessageCursor(); in testBindLast()100 verifyContent(view, TestDataFactory.getMessageText(cursor, lastPos), true, Dates in testBindLast()
33 import com.android.messaging.datamodel.data.TestDataFactory;144 final Cursor cursor = TestDataFactory.getConversationMessageCursor(); in testLoadListView()153 final Cursor cursor = TestDataFactory.getConversationMessageCursor(); in testClickComposeMessageView()
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()
35 import com.android.messaging.datamodel.data.TestDataFactory;154 final Cursor cursor = TestDataFactory.getAllContactListCursor(); in testLoadAllContactsList()166 final Cursor cursor = TestDataFactory.getFrequentContactListCursor(); in testLoadFrequentContactsList()175 final Cursor cursor = TestDataFactory.getFrequentContactListCursor(); in testPickInitialContact()195 final Cursor cursor = TestDataFactory.getFrequentContactListCursor(); in testLeaveChipsMode()208 final Cursor cursor = TestDataFactory.getFrequentContactListCursor(); in testPickMoreContacts()
34 final FakeCursor testCursor = TestDataFactory.getConversationMessageCursor(); in testBindFirstMessage()48 final FakeCursor testCursor = TestDataFactory.getConversationMessageCursor(); in testBindTwice()52 assertEquals(TestDataFactory.getMessageText(testCursor, 1), data.getText()); in testBindTwice()63 assertEquals(TestDataFactory.getMessageText(testCursor, 2), data.getText()); in testBindTwice()75 final FakeCursor testCursor = TestDataFactory.getConversationMessageCursor(); in testMessageClustering()
27 final FakeCursor testCursor = TestDataFactory.getConversationParticipantsCursor(); in testBindParticipants()
46 public class TestDataFactory { class
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()
31 import com.android.messaging.datamodel.data.TestDataFactory;95 final Cursor cursor = TestDataFactory.getConversationListCursor(); in testLoadListView()107 loadWith(TestDataFactory.getEmptyConversationListCursor()); in testEmptyView()120 final Cursor cursor = TestDataFactory.getConversationListCursor(); in testStartNewConversation()
32 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()
39 import com.android.messaging.datamodel.data.TestDataFactory;69 assertEquals(TestDataFactory.SMS_MMS_THREAD_ID_CURSOR_VALUE, threadId); in testGetOrCreateConversation()89 int expectedConversationId = TestDataFactory.NUM_TEST_CONVERSATIONS + 1; in testGetOrCreateConversation()154 return TestDataFactory.getSmsMmsThreadIdCursor(); in setUp()
30 import com.android.messaging.datamodel.data.TestDataFactory;136 final List<MessagePartData> attachments = TestDataFactory.getTestDraftAttachments(); in testUnselect()
82 interface TestDataFactory { interface in BluetoothDeviceDetailsFragment91 static TestDataFactory sTestDataFactory;