Home
last modified time | relevance | path

Searched refs:MoreAsserts (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/Email/tests/src/com/android/email/mail/store/imap/
DImapUtilityTests.java20 import android.test.MoreAsserts;
47 MoreAsserts.assertEquals(expected, actual); in testGetImapSequenceValues()
51 MoreAsserts.assertEquals(expected, actual); in testGetImapSequenceValues()
55 MoreAsserts.assertEquals(expected, actual); in testGetImapSequenceValues()
59 MoreAsserts.assertEquals(expected, actual); in testGetImapSequenceValues()
63 MoreAsserts.assertEquals(expected, actual); in testGetImapSequenceValues()
68 MoreAsserts.assertEquals(expected, actual); in testGetImapSequenceValues()
72 MoreAsserts.assertEquals(expected, actual); in testGetImapSequenceValues()
77 MoreAsserts.assertEquals(expected, actual); in testGetImapSequenceValues()
81 MoreAsserts.assertEquals(expected, actual); in testGetImapSequenceValues()
[all …]
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/
DAccountWithDataSetTest.java21 import android.test.MoreAsserts;
51 MoreAsserts.assertNotEqual(a1, a2r); in testStringifyAndUnstringify()
52 MoreAsserts.assertNotEqual(a1, a3r); in testStringifyAndUnstringify()
54 MoreAsserts.assertNotEqual(a2, a1r); in testStringifyAndUnstringify()
55 MoreAsserts.assertNotEqual(a2, a3r); in testStringifyAndUnstringify()
57 MoreAsserts.assertNotEqual(a3, a1r); in testStringifyAndUnstringify()
58 MoreAsserts.assertNotEqual(a3, a2r); in testStringifyAndUnstringify()
114 MoreAsserts.assertNotEqual(a1, a2r); in testParcelable()
115 MoreAsserts.assertNotEqual(a1, a3r); in testParcelable()
117 MoreAsserts.assertNotEqual(a2, a1r); in testParcelable()
[all …]
/packages/apps/Email/tests/src/com/android/email/mail/store/
DImapStoreUnitTests.java26 import android.test.MoreAsserts;
383 MoreAsserts.assertNotEqual(uid1a, uid2); in testImapIdDeviceId()
823 MoreAsserts.assertEquals( in testFetchBodyStructureSimple()
829 MoreAsserts.assertEquals( in testFetchBodyStructureSimple()
834 MoreAsserts.assertEquals( in testFetchBodyStructureSimple()
891 MoreAsserts.assertEquals( in testFetchBodyStructureMultipart()
895 MoreAsserts.assertEquals( in testFetchBodyStructureMultipart()
899 MoreAsserts.assertEquals( in testFetchBodyStructureMultipart()
904 MoreAsserts.assertEquals( in testFetchBodyStructureMultipart()
908 MoreAsserts.assertEquals( in testFetchBodyStructureMultipart()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/editor/
DContactEditorUtilsTest.java20 import android.test.MoreAsserts;
88 MoreAsserts.assertEquals(types, new String[0]); in testGetWritableAccountTypeStrings()
94 MoreAsserts.assertEquals(Sets.newHashSet(TYPE1.accountType), Sets.newHashSet(types)); in testGetWritableAccountTypeStrings()
100 MoreAsserts.assertEquals(Sets.newHashSet(TYPE1.accountType, TYPE2EX.accountType), in testGetWritableAccountTypeStrings()
107 MoreAsserts.assertEquals( in testGetWritableAccountTypeStrings()
129 MoreAsserts.assertEquals( in testSaveDefaultAndAllAccounts()
137 MoreAsserts.assertEquals( in testSaveDefaultAndAllAccounts()
145 MoreAsserts.assertEquals( in testSaveDefaultAndAllAccounts()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DRichInputConnectionAndTextRangeTests.java24 import android.test.MoreAsserts;
250 MoreAsserts.assertEquals(suggestions[0].getSuggestions(), SUGGESTIONS1); in helpTestGetSuggestionSpansAtWord()
262 MoreAsserts.assertEquals(suggestions[0].getSuggestions(), SUGGESTIONS1); in helpTestGetSuggestionSpansAtWord()
263 MoreAsserts.assertEquals(suggestions[1].getSuggestions(), SUGGESTIONS2); in helpTestGetSuggestionSpansAtWord()
275 MoreAsserts.assertEquals(suggestions[0].getSuggestions(), SUGGESTIONS1); in helpTestGetSuggestionSpansAtWord()
287 MoreAsserts.assertEquals(suggestions[0].getSuggestions(), SUGGESTIONS1); in helpTestGetSuggestionSpansAtWord()
299 MoreAsserts.assertEquals(suggestions[0].getSuggestions(), SUGGESTIONS1); in helpTestGetSuggestionSpansAtWord()
/packages/apps/Email/tests/src/com/android/emailcommon/utility/
DUtilityUnitTests.java25 import android.test.MoreAsserts;
68 MoreAsserts.assertEquals(new byte[] {}, Utility.toUtf8("")); in testToUtf8()
69 MoreAsserts.assertEquals(b('a'), Utility.toUtf8("a")); in testToUtf8()
70 MoreAsserts.assertEquals(b('A', 'B', 'C'), Utility.toUtf8("ABC")); in testToUtf8()
71 MoreAsserts.assertEquals(b(0xE6, 0x97, 0xA5, 0xE6, 0x9C, 0xAC, 0xE8, 0xAA, 0x9E), in testToUtf8()
DSSLUtilsTest.java20 import android.test.MoreAsserts;
81 MoreAsserts.assertNotEqual( in testSchemeNamesAreMoreOrLessUnique()
DEmailAsyncTaskTests.java22 import android.test.MoreAsserts;
51 MoreAsserts.assertEquals(new String[] {"1", "2"}, task1.mDoInBackgroundArg); in testAll()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/
DDatabaseAsserts.java22 import android.test.MoreAsserts;
61 MoreAsserts.assertNotEqual(CommonDatabaseUtils.NOT_FOUND, contactId); in assertAndCreateContact()
79 MoreAsserts.assertNotEqual(CommonDatabaseUtils.NOT_FOUND, deletedTimestamp); in assertHasDeleteLogGreaterThan()
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DMailboxTests.java24 import android.test.MoreAsserts;
471 MoreAsserts.assertEquals(testHash, testMailbox.getHashes()); in testGetHashes()
489 MoreAsserts.assertEquals(testHash, testMailbox.getHashes()); in testGetHashes()
502 MoreAsserts.assertEquals(original.getHashes(), unparcelled.getHashes()); in testParcelling()
521 MoreAsserts.assertEquals(unpopulated.getHashes(), unparcelled.getHashes()); in testParcellingWithPartialMailbox()
/packages/apps/Email/tests/src/com/android/email/
DTestUtils.java22 import android.test.MoreAsserts;
56 MoreAsserts.assertEquals(new byte[] {}, b()); in testB()
57 MoreAsserts.assertEquals(new byte[] {1, 2, (byte) 0xff}, b(1, 2, 0xff)); in testB()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictIOUtilsTests.java20 import android.test.MoreAsserts;
206 MoreAsserts.assertNotEqual(FormatSpec.NOT_VALID_WORD, getWordPosition(file, word)); in insertAndCheckWord()
268 MoreAsserts.assertNotEqual(FormatSpec.NOT_VALID_WORD, getWordPosition(file, "abcd")); in runTestInsertWord()
377 MoreAsserts.assertNotEqual(FormatSpec.NOT_VALID_WORD, getWordPosition(file, word)); in runTestRandomWords()
DBinaryDictDecoderEncoderTests.java20 import android.test.MoreAsserts;
682 MoreAsserts.assertNotEqual(FormatSpec.NOT_VALID_WORD,
688 MoreAsserts.assertNotEqual(FormatSpec.NOT_VALID_WORD,
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DFastScrollingIndexCacheTest.java25 import android.test.MoreAsserts;
62 MoreAsserts.assertEquals(expectedTitles, in assertBundle()
64 MoreAsserts.assertEquals(expectedCounts, in assertBundle()
DVoicemailProviderTest.java28 import android.test.MoreAsserts;
102 MoreAsserts.assertEquals(outBuffer, inBuffer); in testFileContent()
DSearchIndexManagerTest.java28 import android.test.MoreAsserts;
488 MoreAsserts.assertEquals(expectedTokens, in checkSplitIntoFtsTokens()
DNameNormalizerTest.java19 import android.test.MoreAsserts;
DContactsProvider2Test.java68 import android.test.MoreAsserts;
5992 MoreAsserts.assertEquals(loadTestPhoto(PhotoSize.THUMBNAIL), storedPhoto.getBlob(0)); in testUpdateRawContactDataPhoto()
6660 MoreAsserts.assertEquals(expected, actual); in assertFirstLetterValues()
6666 MoreAsserts.assertEquals(expected, actual); in assertFirstLetterCounts()
7371 MoreAsserts.assertNotEqual(cid1, cid3); in testDataUsageFeedbackAndDelete()
7372 MoreAsserts.assertNotEqual(cid1, cid4); in testDataUsageFeedbackAndDelete()
7373 MoreAsserts.assertNotEqual(cid3, cid4); in testDataUsageFeedbackAndDelete()
7623 MoreAsserts.assertNotEqual(CommonDatabaseUtils.NOT_FOUND, contactId); in getContactLastUpdatedTimestampByRawContactId()
7703 MoreAsserts.assertNotEqual(CommonDatabaseUtils.NOT_FOUND, in testQueryDeletedContactsByContactId()
8313 MoreAsserts.assertNotEqual(0, updateDataUsageFeedback(usageType, dataId)); in sendFeedback()
/packages/apps/Email/tests/src/com/android/email/mail/transport/
DDiscourseLoggerTest.java19 import android.test.MoreAsserts;
137 MoreAsserts.assertEquals(expected, store.getLines()); in checkDiscourseStore()
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/
DSerializerTests.java21 import android.test.MoreAsserts;
92 MoreAsserts.assertEquals("Serializer mismatch", bytes, expectedBytes); in testSerializer()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DAbstractDownloadProviderFunctionalTest.java30 import android.test.MoreAsserts;
266 MoreAsserts.assertMatchesRegex(regex, actual); in assertStartsWith()
/packages/apps/Exchange/tests/src/com/android/exchange/
DCalendarSyncEnablerTest.java29 import android.test.MoreAsserts;
145 MoreAsserts.assertEquals(expectedArray, actualArray); in checkNotificationEmailAddresses()
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTestUtils.java32 import android.test.MoreAsserts;
458 MoreAsserts.assertEquals(caller + " mContentBytes", in assertAttachmentEqual()
DProviderTests.java30 import android.test.MoreAsserts;
329 MoreAsserts.assertEquals(new String[] {"account", account1.mCompatibilityUuid}, in testAccountShortcutSafeUri()
331 MoreAsserts.assertEquals(new String[] {"account", account2.mCompatibilityUuid}, in testAccountShortcutSafeUri()
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/test/
DMoreAsserts.java26 public class MoreAsserts { class

12