Home
last modified time | relevance | path

Searched refs:assertNotNull (Results 1 – 25 of 89) sorted by relevance

1234

/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/account/
DExternalAccountTypeTest.java104 assertNotNull(type.getKindForMimetype(StructuredName.CONTENT_ITEM_TYPE)); in testEditSchema()
105 assertNotNull(type.getKindForMimetype(DataKind.PSEUDO_MIME_TYPE_DISPLAY_NAME)); in testEditSchema()
106 assertNotNull(type.getKindForMimetype(DataKind.PSEUDO_MIME_TYPE_PHONETIC_NAME)); in testEditSchema()
107 assertNotNull(type.getKindForMimetype(Email.CONTENT_ITEM_TYPE)); in testEditSchema()
108 assertNotNull(type.getKindForMimetype(StructuredPostal.CONTENT_ITEM_TYPE)); in testEditSchema()
109 assertNotNull(type.getKindForMimetype(Im.CONTENT_ITEM_TYPE)); in testEditSchema()
110 assertNotNull(type.getKindForMimetype(Organization.CONTENT_ITEM_TYPE)); in testEditSchema()
111 assertNotNull(type.getKindForMimetype(Photo.CONTENT_ITEM_TYPE)); in testEditSchema()
112 assertNotNull(type.getKindForMimetype(Note.CONTENT_ITEM_TYPE)); in testEditSchema()
113 assertNotNull(type.getKindForMimetype(Website.CONTENT_ITEM_TYPE)); in testEditSchema()
[all …]
/packages/apps/Email/tests/src/com/android/emailcommon/utility/
DUtilityTest.java110 assertNotNull(created1);
115 assertNotNull(created2);
120 assertNotNull(created3);
125 assertNotNull(created4);
136 assertNotNull(created1);
140 assertNotNull(created2);
150 assertNotNull(created1);
154 assertNotNull(created2);
158 assertNotNull(created3);
162 assertNotNull(created4);
[all …]
/packages/apps/Exchange/tests/src/com/android/exchange/utility/
DCalendarUtilitiesTests.java319 assertNotNull(msg); in testCreateMessageForEntity_Reply()
326 assertNotNull(msg.mText); in testCreateMessageForEntity_Reply()
330 assertNotNull(msg.mAttachments); in testCreateMessageForEntity_Reply()
338 assertNotNull(att.mContentBytes); in testCreateMessageForEntity_Reply()
365 assertNotNull(msg); in testCreateMessageForEntity_Invite_AllDay()
372 assertNotNull(msg.mAttachments); in testCreateMessageForEntity_Invite_AllDay()
380 assertNotNull(att.mContentBytes); in testCreateMessageForEntity_Invite_AllDay()
385 assertNotNull(vcalendar); in testCreateMessageForEntity_Invite_AllDay()
427 assertNotNull(msg); in testCreateMessageForEntity_Invite()
434 assertNotNull(msg.mAttachments); in testCreateMessageForEntity_Invite()
[all …]
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTests.java238 assertNotNull(authTest); in testAccountGetHostAuthSend()
249 assertNotNull(authGet); in testAccountGetHostAuthSend()
250 assertNotNull(account.mHostAuthSend); in testAccountGetHostAuthSend()
258 assertNotNull(authGet); in testAccountGetHostAuthSend()
259 assertNotNull(account.mHostAuthSend); in testAccountGetHostAuthSend()
272 assertNotNull(authTest); in testAccountGetHostAuthRecv()
283 assertNotNull(authGet); in testAccountGetHostAuthRecv()
284 assertNotNull(account.mHostAuthRecv); in testAccountGetHostAuthRecv()
292 assertNotNull(authGet); in testAccountGetHostAuthRecv()
293 assertNotNull(account.mHostAuthRecv); in testAccountGetHostAuthRecv()
[all …]
DAccountBackupRestoreTests.java124 assertNotNull(c); in testBackupAndRestore()
131 assertNotNull(recv); in testBackupAndRestore()
133 assertNotNull(send); in testBackupAndRestore()
145 assertNotNull(recv); in testBackupAndRestore()
147 assertNotNull(send); in testBackupAndRestore()
DContentCacheTests.java228 assertNotNull(cachedCursor); in testContentCacheRemoveEldestEntry()
231 assertNotNull(cachedCursor); in testContentCacheRemoveEldestEntry()
252 assertNotNull(cachedCursor); in testContentCacheRemoveEldestEntry()
255 assertNotNull(cachedCursor); in testContentCacheRemoveEldestEntry()
/packages/apps/Browser/tests/src/com/android/browser/tests/
DBP2ProviderTests.java75 assertNotNull(folderUri); in doTestIsValidParent()
84 assertNotNull(insertedUri); in doTestIsValidParent()
88 assertNotNull(c); in doTestIsValidParent()
102 assertNotNull(insertedUri); in doTestIsValidParent()
106 assertNotNull(c); in doTestIsValidParent()
122 assertNotNull(insertedUri); in doTestIsValidParent()
126 assertNotNull(c); in doTestIsValidParent()
DBookmarksTests.java35 assertNotNull(insertBookmark( in testQueryCombinedForUrl()
37 assertNotNull(insertBookmark( in testQueryCombinedForUrl()
39 assertNotNull(insertBookmark( in testQueryCombinedForUrl()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DIconLoaderTest.java43 assertNotNull(mLoader.getIcon(String.valueOf(android.R.drawable.star_on))); in testGetIcon()
56 public void assertNotNull(NowOrLater<?> value) { in assertNotNull() method in IconLoaderTest
58 assertNotNull(value.getNow()); in assertNotNull()
62 consumer.assertNotNull(); in assertNotNull()
89 public void assertNotNull() { in assertNotNull() method in IconLoaderTest.AssertConsumer
90 IconLoaderTest.assertNotNull(waitFor()); in assertNotNull()
DSuggestionCursorUtil.java39 assertNotNull(suggestions); in assertNoSuggestions()
64 assertNotNull(message + ", expected == null", expected); in assertSameSuggestions()
65 assertNotNull(message + ", observed == null", observed); in assertSameSuggestions()
217 assertNotNull(message + ", observed == null", observed);
222 assertNotNull(message + ", no extras at position " + i, extras);
224 assertNotNull(message + ", extras columns is null at position " + i, columns);
/packages/apps/Nfc/tests/src/com/android/nfc/snep/
DSnepBasicTests.java63 assertNotNull(response); in testGetSmallNdef()
94 assertNotNull(response); in testGetLargeNdef()
125 assertNotNull(response); in testGetExcessiveNdef()
156 assertNotNull(response); in testPutSmallNdef()
187 assertNotNull(response); in testPutLargeNdef()
221 assertNotNull(response); in testUnsupportedVersion()
257 assertNotNull(response); in testDifferentMinorVersion()
/packages/apps/Dialer/tests/src/com/android/dialer/interactions/
DPhoneNumberInteractionTest.java99 assertNotNull(intent); in testSendSmsWhenOnlyOneNumberAvailable()
118 assertNotNull(intent); in testSendSmsWhenDataIdIsProvided()
139 assertNotNull(intent); in testSendSmsWhenThereIsPrimaryNumber()
180 assertNotNull(intent); in testCallNumberWhenThereAreDuplicates()
198 assertNotNull(intent); in testCallWithSip()
219 assertNotNull(items); in testShowDisambigDialogForCalling()
/packages/providers/TvProvider/tests/src/com/android/providers/tv/
DEpgDataCleanupServiceTests.java123 assertNotNull(uri); in insertChannel()
140 assertNotNull(uri); in insertPrograms()
153 assertNotNull(cursor); in queryPrograms()
179 assertNotNull(uri); in insertWatchedPrograms()
192 assertNotNull(cursor); in queryWatchedPrograms()
206 assertNotNull(getService()); in testServiceTestCaseSetUpProperly()
/packages/apps/Email/tests/src/com/android/email/service/
DAttachmentServiceTests.java156 assertNotNull(drResult); in testDownloadQueueFindRequestById()
269 assertNotNull(returnRequest); in testDownloadQueueSizeReporting()
284 assertNotNull(returnRequest); in testDownloadQueueSizeReporting()
289 assertNotNull(returnRequest); in testDownloadQueueSizeReporting()
294 assertNotNull(returnRequest); in testDownloadQueueSizeReporting()
343 assertNotNull(returnRequest); in testDownloadQueueTestPriority()
393 assertNotNull(returnRequest); in testDownloadQueueTestDate()
/packages/apps/Gallery/tests/src/com/android/camera/
DBitmapManagerUnitTests.java66 assertNotNull(manager); in testSingleton()
67 assertNotNull(mBitmapManager); in testSingleton()
93 assertNotNull(t.getBitmap()); in testDefaultAllowDecoding()
118 assertNotNull(t.getBitmap()); in testAllowDecoding()
136 assertNotNull(t1.getBitmap()); in testThreadDecoding()
/packages/apps/Email/tests/src/com/android/email/
DSecurityPolicyTests.java147 assertNotNull(p3aout); in testAggregator()
155 assertNotNull(p3bout); in testAggregator()
171 assertNotNull(p4out); in testAggregator()
197 assertNotNull(p5out); in testAggregator()
218 assertNotNull(policy); in assertAccountPolicyConsistent()
320 assertNotNull(a1a.mSecuritySyncKey); in testDisableAdmin()
323 assertNotNull(a2a.mSecuritySyncKey); in testDisableAdmin()
DVendorPolicyLoaderTest.java156 assertNotNull(p.incomingUriTemplate); in testFindProviderForDomain()
157 assertNotNull(p.incomingUsernameTemplate); in testFindProviderForDomain()
158 assertNotNull(p.outgoingUriTemplate); in testFindProviderForDomain()
159 assertNotNull(p.outgoingUsernameTemplate); in testFindProviderForDomain()
/packages/apps/Browser/tests/src/com/android/browser/
DBrowserProviderTests.java124 assertNotNull(text1); in assertQueryReturns()
127 assertNotNull(text2); in assertQueryReturns()
129 assertNotNull(data); in assertQueryReturns()
142 assertNotNull(c); in getBookmarksSuggest()
148 assertNotNull(uri); in addBookmark()
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/
DTestProviderTests.java108 assertNotNull(results); in testInsertQueryandDelete()
115 assertNotNull(c); in testInsertQueryandDelete()
144 assertNotNull(c); in testInsertQueryandDelete()
156 assertNotNull(c); in testUpdate()
163 assertNotNull(c); in testUpdate()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DFusionDictionaryTests.java40 assertNotNull(FusionDictionary.findWordInTree(dict.mRootNodeArray, "abc")); in testFindWordInTree()
44 assertNotNull(FusionDictionary.findWordInTree(dict.mRootNodeArray, "aa")); in testFindWordInTree()
49 assertNotNull(FusionDictionary.findWordInTree(dict.mRootNodeArray, "babcd")); in testFindWordInTree()
50 assertNotNull(FusionDictionary.findWordInTree(dict.mRootNodeArray, "bacde")); in testFindWordInTree()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DNameNormalizerTest.java100 assertNotNull(compressing1); in testGetCollators()
101 assertNotNull(complexity1); in testGetCollators()
117 assertNotNull(compressing3); in testGetCollators()
118 assertNotNull(complexity3); in testGetCollators()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
DRawContactModifierTests.java889 assertNotNull(list); in testMigrateWithStructuredNameFromExchangeToGoogle()
911 assertNotNull(list); in testMigratePostalFromGoogleToExchange()
938 assertNotNull(list); in testMigratePostalFromExchangeToGoogle()
944 assertNotNull(formattedAddress); in testMigratePostalFromExchangeToGoogle()
977 assertNotNull(list); in testMigrateEventCommon()
1008 assertNotNull(list); in testMigrateEventFromGoogleToExchange2()
1050 assertNotNull(list); in testMigrateEmailFromGoogleToExchange()
1109 assertNotNull(list); in testMigrateImFromGoogleToExchange()
1112 assertNotNull(kind.defaultValues.getAsInteger(Im.TYPE)); in testMigrateImFromGoogleToExchange()
1192 assertNotNull(list); in testMigratePhoneFromGoogleToExchange()
[all …]
/packages/apps/Dialer/tests/src/com/android/dialer/util/
DFakeAsyncTaskExecutor.java64 Assert.assertNotNull(instrumentation); in FakeAsyncTaskExecutor()
116 Assert.assertNotNull(mNextTask); in execute()
130 Assert.assertNotNull("Already had a valid task.\n" in submit()
207 Assert.assertNotNull(identifier); in getSubmittedTasksByIdentifier()
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DKeyChainServiceTest.java143 assertNotNull(mSupport); in test_KeyChainService()
202 assertNotNull(mService); in test_KeyChainService()
207 assertNotNull("Requesting private key should succeed", in test_KeyChainService()
211 assertNotNull(certificate); in test_KeyChainService()
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/
DProvisionParserTests.java123 assertNotNull(policy); in testWapProvisionParser1()
136 assertNotNull(policy); in testWapProvisionParser2()
145 assertNotNull(policy); in testWapProvisionParser3()

1234