Home
last modified time | relevance | path

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

123456

/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/ContactsCommon/tests/src/com/android/contacts/common/model/account/
DExternalAccountTypeTest.java94 assertNotNull(type.getKindForMimetype(StructuredName.CONTENT_ITEM_TYPE)); in testEditSchema()
95 assertNotNull(type.getKindForMimetype(DataKind.PSEUDO_MIME_TYPE_DISPLAY_NAME)); in testEditSchema()
96 assertNotNull(type.getKindForMimetype(DataKind.PSEUDO_MIME_TYPE_PHONETIC_NAME)); in testEditSchema()
97 assertNotNull(type.getKindForMimetype(Email.CONTENT_ITEM_TYPE)); in testEditSchema()
98 assertNotNull(type.getKindForMimetype(StructuredPostal.CONTENT_ITEM_TYPE)); in testEditSchema()
99 assertNotNull(type.getKindForMimetype(Im.CONTENT_ITEM_TYPE)); in testEditSchema()
100 assertNotNull(type.getKindForMimetype(Organization.CONTENT_ITEM_TYPE)); in testEditSchema()
101 assertNotNull(type.getKindForMimetype(Photo.CONTENT_ITEM_TYPE)); in testEditSchema()
102 assertNotNull(type.getKindForMimetype(Note.CONTENT_ITEM_TYPE)); in testEditSchema()
103 assertNotNull(type.getKindForMimetype(Website.CONTENT_ITEM_TYPE)); in testEditSchema()
[all …]
/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/Messaging/tests/src/com/android/messaging/datamodel/media/
DMediaResourceManagerTest.java47 assertNotNull(mediaResourceManager); in testLoadFromCache()
63 assertNotNull(mediaResourceManager); in testCacheEviction()
86 assertNotNull(mediaResourceManager); in testReclaimMemoryFromMediaCache()
106 assertNotNull(mediaResourceManager); in testLoadInvalidImage()
117 assertNotNull(mediaResourceManager); in testLoadImageSynchronously()
122 assertNotNull(resource); in testLoadImageSynchronously()
156 assertNotNull(resource); in createAssertListener()
DImageRequestTest.java67 assertNotNull(imageResource); in testLoadImageUnspecifiedSize()
68 assertNotNull(imageResource.getBitmap()); in testLoadImageUnspecifiedSize()
97 assertNotNull(imageResource); in testLoadImageWithDownsampling()
98 assertNotNull(imageResource.getBitmap()); in testLoadImageWithDownsampling()
/packages/apps/Dialer/tests/src/com/android/dialer/database/
DFilteredNumberProviderTest.java56 assertNotNull(uri); in testInsert()
64 assertNotNull(cursor); in testQuery()
76 assertNotNull(cursor); in testInsertAndQuery()
106 assertNotNull(cursor); in testQueryWithId()
130 assertNotNull(cursor); in testDelete()
156 assertNotNull(cursor); in testUpdate()
167 assertNotNull(uri); in testInsertDefaultValues()
173 assertNotNull(cursor); in testInsertDefaultValues()
/packages/apps/Contacts/tests/src/com/android/contacts/editor/
DEditorUiUtilsTest.java74 assertNotNull(pair); in testGetProfileAccountInfo_AccountName()
84 assertNotNull(pair); in testGetProfileAccountInfo_NoAccountName()
94 assertNotNull(pair); in testGetAccountInfo_AccountName_DisplayLabel()
107 assertNotNull(pair); in testGetAccountInfo_AccountName_DisplayLabel_GoogleAccountType()
119 assertNotNull(pair); in testGetAccountInfo_AccountName_NoDisplayLabel()
132 assertNotNull(pair); in testGetAccountInfo_NoAccountName_DisplayLabel()
142 assertNotNull(pair); in testGetAccountInfo_NoAccountName_NoDisplayLabel()
/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/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/Email/tests/src/com/android/email/provider/
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()
/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/EmergencyInfo/tests/src/com/android/emergency/view/
DViewInfoActivityTest.java122 assertNotNull(viewEmergencyInfoFragment); in testEmergencyInfoSet()
142 assertNotNull(viewEmergencyContactsFragment); in testEmergencyContactSet()
169 assertNotNull(viewEmergencyInfoFragment); in testInfoAndEmergencyContactsSet()
172 assertNotNull(viewEmergencyContactsFragment); in testInfoAndEmergencyContactsSet()
190 assertNotNull(editInfoActivity); in testCanGoToEditInfoActivityFromMenu()
207 assertNotNull(editInfoActivity); in testCanGoToEditInfoActivityFromBroadcast()
/packages/apps/Dialer/src/com/android/dialer/util/
DAssert.java27 public static void assertNotNull(Object object, String msg) { in assertNotNull() method in Assert
33 public static void assertNotNull(Object object) { in assertNotNull() method in Assert
34 assertNotNull(object, null); in assertNotNull()
/packages/providers/TvProvider/tests/src/com/android/providers/tv/
DEpgDataCleanupServiceTests.java127 assertNotNull(uri); in insertChannel()
144 assertNotNull(uri); in insertPrograms()
157 assertNotNull(cursor); in queryPrograms()
183 assertNotNull(uri); in insertWatchedPrograms()
196 assertNotNull(cursor); in queryWatchedPrograms()
210 assertNotNull(getService()); in testServiceTestCaseSetUpProperly()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DDictionaryFacilitatorLruCacheTests.java31 assertNotNull(dictionaryFacilitatorEnUs); in testGetFacilitator()
35 assertNotNull(dictionaryFacilitatorEnUs); in testGetFacilitator()
39 assertNotNull(dictionaryFacilitatorDe); in testGetFacilitator()
/packages/apps/Email/tests/src/com/android/email/
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/Dialer/tests/src/com/android/dialer/interactions/
DPhoneNumberInteractionTest.java105 assertNotNull(intent); in testSendSmsWhenOnlyOneNumberAvailable()
124 assertNotNull(intent); in testSendSmsWhenDataIdIsProvided()
145 assertNotNull(intent); in testSendSmsWhenThereIsPrimaryNumber()
186 assertNotNull(intent); in testCallNumberWhenThereAreDuplicates()
204 assertNotNull(intent); in testCallWithSip()
225 assertNotNull(items); in testShowDisambigDialogForCalling()
/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/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
DMapStepsFolder.java87 Assert.assertNotNull(MapBuildFolderStructurValidator.sCurrentFolder); in execute()
114 Assert.assertNotNull(op); in validate()
122 Assert.assertNotNull(appParamsRaw); in validate()
125 Assert.assertNotNull(appParams); in validate()
DMapStepsConvo.java205 Assert.assertNotNull(op); in validate()
214 Assert.assertNotNull(appParamsRaw); in validate()
217 Assert.assertNotNull(appParams); in validate()
218 Assert.assertNotNull(appParams.getDatabaseIdentifier()); in validate()
DMapObexTestServer.java88 Assert.assertNotNull("invalid step index!", step); in onConnect()
111 Assert.assertNotNull("invalid step index!", step); in onDisconnect()
140 Assert.assertNotNull("invalid step index!", step); in onPut()
167 Assert.assertNotNull("invalid step index!", step); in onGet()
/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/Messaging/tests/src/com/android/messaging/datamodel/action/
DReadWriteDraftMessageActionTest.java96 assertNotNull("Database missing draft", actual); in testWriteDraft()
117 assertNotNull("No conversation", conversationId); in getOrCreateConversation()
193 assertNotNull("No conversation", conversationId); in testReadDraftForNewConversation()
324 assertNotNull("Database missing draft", actual); in testUpdateDraft()
362 assertNotNull(initialMessageId); in testBugleDatabaseDraftOperations()
365 assertNotNull(initialDraft); in testBugleDatabaseDraftOperations()
408 assertNotNull(anotherMessageId); in testBugleDatabaseDraftOperations()
411 assertNotNull(anotherDraft); in testBugleDatabaseDraftOperations()
/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()

123456