Home
last modified time | relevance | path

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

12345678

/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/Contacts/tests/src/com/android/contacts/model/account/
DExternalAccountTypeTest.java107 assertNotNull(type.getKindForMimetype(StructuredName.CONTENT_ITEM_TYPE)); in testEditSchema()
108 assertNotNull(type.getKindForMimetype(DataKind.PSEUDO_MIME_TYPE_NAME)); in testEditSchema()
109 assertNotNull(type.getKindForMimetype(DataKind.PSEUDO_MIME_TYPE_PHONETIC_NAME)); in testEditSchema()
110 assertNotNull(type.getKindForMimetype(Email.CONTENT_ITEM_TYPE)); in testEditSchema()
111 assertNotNull(type.getKindForMimetype(StructuredPostal.CONTENT_ITEM_TYPE)); in testEditSchema()
112 assertNotNull(type.getKindForMimetype(Im.CONTENT_ITEM_TYPE)); in testEditSchema()
113 assertNotNull(type.getKindForMimetype(Organization.CONTENT_ITEM_TYPE)); in testEditSchema()
114 assertNotNull(type.getKindForMimetype(Photo.CONTENT_ITEM_TYPE)); in testEditSchema()
115 assertNotNull(type.getKindForMimetype(Note.CONTENT_ITEM_TYPE)); in testEditSchema()
116 assertNotNull(type.getKindForMimetype(Website.CONTENT_ITEM_TYPE)); in testEditSchema()
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/
DArchivesProviderTest.java21 import static junit.framework.Assert.assertNotNull;
78 assertNotNull("Cursor must not be null.", cursor); in testQueryRoots()
102 assertNotNull("Cursor must not be null. File not found?", cursor); in testOpen_Success()
110 assertNotNull(notificationUri); in testOpen_Success()
123 assertNotNull("Cursor must not be null. File not found?", cursor); in testOpen_Success()
155 assertNotNull("Cursor must not be null. File not found?", cursor); in testOpen_Failure()
163 assertNotNull(notificationUri); in testOpen_Failure()
176 assertNotNull("Cursor must not be null. File not found?", cursor); in testOpen_Failure()
209 assertNotNull("Cursor must not be null. File not found?", cursor); in testOpen_ClosesOnRelease()
216 assertNotNull("Cursor must not be null. File not found?", cursor); in testOpen_ClosesOnRelease()
/packages/services/Car/tests/carservice_test/src/com/android/car/test/
DCarDiagnosticManagerTest.java236 assertNotNull(liveFrame); in testLiveFrameRead()
301 assertNotNull(liveFrame); in testMissingSensorRead()
335 assertNotNull(liveFrame); in testFuelSystemStatus()
363 assertNotNull(liveFrame); in testSecondaryAirStatus()
400 assertNotNull(liveFrame); in testIgnitionMonitors()
403 assertNotNull(commonIgnitionMonitors); in testIgnitionMonitors()
413 assertNotNull(sparkIgnitionMonitors); in testIgnitionMonitors()
443 assertNotNull(liveFrame); in testIgnitionMonitors()
447 assertNotNull(commonIgnitionMonitors); in testIgnitionMonitors()
457 assertNotNull(compressionIgnitionMonitors); in testIgnitionMonitors()
[all …]
DCarAudioExtFocusTest.java111 assertNotNull(mCarAudioManager); in setUp()
116 assertNotNull(radioTypes); in testExtRoutings()
120 assertNotNull(nonRadioTypes); in testExtRoutings()
137 assertNotNull(attrb); in testRadioAttributeCreation()
141 assertNotNull(attrb); in testRadioAttributeCreation()
154 assertNotNull(attrb); in testExtSourceAttributeCreation()
158 assertNotNull(attrb); in testExtSourceAttributeCreation()
162 assertNotNull(attrb); in testExtSourceAttributeCreation()
176 assertNotNull(attrb); in testRadioAmFmGainFocus()
185 assertNotNull(attrb); in testRadioSatelliteGainFocus()
[all …]
/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()
/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/StorageManager/tests/unit/src/com/android/storagemanager/deletionhelper/
DFetchDownloadsLoaderTest.java31 import static org.junit.Assert.assertNotNull;
44 assertNotNull(result); in testEmptyDirectory()
56 assertNotNull(result); in testFilesInDirectory()
70 assertNotNull(result); in testNestedDirectories()
93 assertNotNull(result); in testSumFileSizes()
109 assertNotNull(result); in testFetchesThumbnailsForImages()
/packages/services/Telephony/tests/src/com/android/phone/tests/
DCallForwardInfoTest.java27 import static org.junit.Assert.assertNotNull;
39 assertNotNull(PhoneNumberUtils.formatNumber("+12345678900", Locale.US.getCountry())); in testCallForwardNumberResponses()
40 assertNotNull(PhoneNumberUtils.formatNumber("123-456-7890", Locale.US.getCountry())); in testCallForwardNumberResponses()
41 assertNotNull(PhoneNumberUtils.formatNumber("#123", Locale.US.getCountry())); in testCallForwardNumberResponses()
42 assertNotNull(PhoneNumberUtils.formatNumber("*12", Locale.US.getCountry())); in testCallForwardNumberResponses()
/packages/providers/TvProvider/tests/src/com/android/providers/tv/
DColumnFilterTest.java77 assertNotNull(uri); in insertChannel()
89 assertNotNull(cursor); in testQueryChannel()
99 assertNotNull(cursor); in testQueryChannelWithNullProjection()
109 assertNotNull(cursor); in testQueryChannelWithNoValidColumn()
123 assertNotNull(cursor); in testInsertAndQueryChannel()
141 assertNotNull(cursor); in testUpdateChannel()
DDatabaseHelperTest.java76 assertNotNull(cursor); in testUpgradeDatabase()
80 assertNotNull(cursor); in testUpgradeDatabase()
84 assertNotNull(cursor); in testUpgradeDatabase()
88 assertNotNull(cursor); in testUpgradeDatabase()
92 assertNotNull(cursor); in testUpgradeDatabase()
96 assertNotNull(cursor); in testUpgradeDatabase()
DEpgDataCleanupServiceTests.java130 assertNotNull(uri); in insertChannel()
147 assertNotNull(uri); in insertPrograms()
160 assertNotNull(cursor); in queryPrograms()
186 assertNotNull(uri); in insertWatchedPrograms()
199 assertNotNull(cursor); in queryWatchedPrograms()
213 assertNotNull(getService()); in testServiceTestCaseSetUpProperly()
/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/
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()
/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/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DE2ePerformanceTest.java21 import static org.junit.Assert.assertNotNull;
122 assertNotNull(mCar); in connectToCarService()
165 assertNotNull(mgr); in benchmarkEventBandwidthThroughCarService()
227 assertNotNull(mgr); in benchmarkSetGetFromSingleClient()
252 assertNotNull(mgr); in benchmarkSetGetFromSingleClientMultipleThreads()
255 assertNotNull(cfg); in benchmarkSetGetFromSingleClientMultipleThreads()
329 assertNotNull(mgr); in verifyEventsFromSingleProperty()
/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/DocumentsUI/tests/common/com/android/documentsui/testing/
DIntentAsserts.java19 import static junit.framework.Assert.assertNotNull;
45 assertNotNull(extra); in assertHasExtraIntent()
51 assertNotNull(value); in assertHasExtraUri()
58 assertNotNull(list); in assertHasExtraList()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DComponentKey.java36 Preconditions.assertNotNull(componentName); in ComponentKey()
37 Preconditions.assertNotNull(user); in ComponentKey()
62 Preconditions.assertNotNull(componentName); in ComponentKey()
63 Preconditions.assertNotNull(user); in ComponentKey()
/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/UnifiedEmail/tests/src/com/android/mail/browse/
DTestProviderTests.java104 assertNotNull(results); in testInsertQueryandDelete()
110 assertNotNull(c); in testInsertQueryandDelete()
139 assertNotNull(c); in testInsertQueryandDelete()
150 assertNotNull(c); in testUpdate()
157 assertNotNull(c); in testUpdate()
/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/Contacts/tests/src/com/android/contacts/group/
DGroupUtilTest.java62 assertNotNull(bundle.getStringArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES)); in testUpdateBundle_smallSet()
66 assertNotNull(bundle.getIntArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS)); in testUpdateBundle_smallSet()
111 assertNotNull(bundle.getStringArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES)); in testUpdateBundle_mediumSet()
115 assertNotNull(bundle.getIntArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS)); in testUpdateBundle_mediumSet()

12345678