Home
last modified time | relevance | path

Searched refs:isNull (Results 1 – 25 of 1219) sorted by relevance

12345678910>>...49

/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/common/src/test/java/com/google/android/exoplayer2/
DMediaMetadataTest.java37 assertThat(mediaMetadata.title).isNull(); in builder_minimal_correctDefaults()
38 assertThat(mediaMetadata.artist).isNull(); in builder_minimal_correctDefaults()
39 assertThat(mediaMetadata.albumTitle).isNull(); in builder_minimal_correctDefaults()
40 assertThat(mediaMetadata.albumArtist).isNull(); in builder_minimal_correctDefaults()
41 assertThat(mediaMetadata.displayTitle).isNull(); in builder_minimal_correctDefaults()
42 assertThat(mediaMetadata.subtitle).isNull(); in builder_minimal_correctDefaults()
43 assertThat(mediaMetadata.description).isNull(); in builder_minimal_correctDefaults()
44 assertThat(mediaMetadata.mediaUri).isNull(); in builder_minimal_correctDefaults()
45 assertThat(mediaMetadata.userRating).isNull(); in builder_minimal_correctDefaults()
46 assertThat(mediaMetadata.overallRating).isNull(); in builder_minimal_correctDefaults()
[all …]
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/common/src/test/java/com/google/android/exoplayer2/
DMediaMetadataTest.java37 assertThat(mediaMetadata.title).isNull(); in builder_minimal_correctDefaults()
38 assertThat(mediaMetadata.artist).isNull(); in builder_minimal_correctDefaults()
39 assertThat(mediaMetadata.albumTitle).isNull(); in builder_minimal_correctDefaults()
40 assertThat(mediaMetadata.albumArtist).isNull(); in builder_minimal_correctDefaults()
41 assertThat(mediaMetadata.displayTitle).isNull(); in builder_minimal_correctDefaults()
42 assertThat(mediaMetadata.subtitle).isNull(); in builder_minimal_correctDefaults()
43 assertThat(mediaMetadata.description).isNull(); in builder_minimal_correctDefaults()
44 assertThat(mediaMetadata.mediaUri).isNull(); in builder_minimal_correctDefaults()
45 assertThat(mediaMetadata.userRating).isNull(); in builder_minimal_correctDefaults()
46 assertThat(mediaMetadata.overallRating).isNull(); in builder_minimal_correctDefaults()
[all …]
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowBundleTest.java75 assertThat(bundle.getCharArray("foo")).isNull(); in getWrongType()
77 assertThat(bundle.getIntArray("foo")).isNull(); in getWrongType()
78 assertThat(bundle.getIntegerArrayList("foo")).isNull(); in getWrongType()
80 assertThat(bundle.getShortArray("foo")).isNull(); in getWrongType()
82 assertThat(bundle.getBooleanArray("foo")).isNull(); in getWrongType()
84 assertThat(bundle.getLongArray("foo")).isNull(); in getWrongType()
85 assertThat(bundle.getFloatArray("foo")).isNull(); in getWrongType()
87 assertThat(bundle.getDoubleArray("foo")).isNull(); in getWrongType()
88 assertThat(bundle.getString("foo")).isNull(); in getWrongType()
89 assertThat(bundle.getStringArray("foo")).isNull(); in getWrongType()
[all …]
DShadowWallpaperManagerTest.java82 assertThat(record0.windowToken).isNull(); in sendWallpaperCommand_shouldTrackRecord()
83 assertThat(record0.action).isNull(); in sendWallpaperCommand_shouldTrackRecord()
87 assertThat(record0.extras).isNull(); in sendWallpaperCommand_shouldTrackRecord()
162 assertThat(shadowOf(manager).getBitmap(WallpaperManager.FLAG_LOCK)).isNull(); in setBitmap_flagSystem_shouldCacheInMemory()
177 assertThat(manager.getWallpaperInfo()).isNull(); in setBitmap_liveWallpaperWasDefault_flagSystem_shouldRemoveLiveWallpaper()
201 assertThat(shadowOf(manager).getBitmap(WallpaperManager.FLAG_LOCK)).isNull(); in setBitmap_multipleCallsWithFlagSystem_shouldCacheLastBitmapInMemory()
216 assertThat(shadowOf(manager).getBitmap(WallpaperManager.FLAG_SYSTEM)).isNull(); in setBitmap_flagLock_shouldCacheInMemory()
231 assertThat(manager.getWallpaperInfo()).isNull(); in setBitmap_liveWallpaperWasDefault_flagLock_shouldRemoveLiveWallpaper()
254 assertThat(shadowOf(manager).getBitmap(WallpaperManager.FLAG_SYSTEM)).isNull(); in setBitmap_multipleCallsWithFlagLock_shouldCacheLastBitmapInMemory()
265 assertThat(shadowOf(manager).getBitmap(UNSUPPORTED_FLAG)).isNull(); in setBitmap_unsupportedFlag_shouldNotCacheInMemory()
[all …]
DShadowBluetoothGattTest.java124 assertThat(resultAction).isNull(); in isNotConnected_beforeConnect()
161 assertThat(resultAction).isNull(); in isNotConnected_afterOnlyDisconnect()
253 assertThat(resultAction).isNull(); in getServices_noDiscoverableServices_withCallback()
288 assertThat(bluetoothGatt.getService(service2.getUuid())).isNull(); in getService_afterAddService()
317 assertThat(resultAction).isNull(); in readIncomingCharacteristic_withCallback()
318 assertThat(resultCharacteristic).isNull(); in readIncomingCharacteristic_withCallback()
319 assertThat(shadowOf(bluetoothGatt).getLatestReadBytes()).isNull(); in readIncomingCharacteristic_withCallback()
333 assertThat(shadowOf(bluetoothGatt).getLatestReadBytes()).isNull(); in readIncomingCharacteristic_withCallbackAndServiceSet()
361 assertThat(resultAction).isNull(); in readIncomingCharacteristic_withCallbackAndServiceSet_wrongProperty()
362 assertThat(resultCharacteristic).isNull(); in readIncomingCharacteristic_withCallbackAndServiceSet_wrongProperty()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowBundleTest.java75 assertThat(bundle.getCharArray("foo")).isNull(); in getWrongType()
77 assertThat(bundle.getIntArray("foo")).isNull(); in getWrongType()
78 assertThat(bundle.getIntegerArrayList("foo")).isNull(); in getWrongType()
80 assertThat(bundle.getShortArray("foo")).isNull(); in getWrongType()
82 assertThat(bundle.getBooleanArray("foo")).isNull(); in getWrongType()
84 assertThat(bundle.getLongArray("foo")).isNull(); in getWrongType()
85 assertThat(bundle.getFloatArray("foo")).isNull(); in getWrongType()
87 assertThat(bundle.getDoubleArray("foo")).isNull(); in getWrongType()
88 assertThat(bundle.getString("foo")).isNull(); in getWrongType()
89 assertThat(bundle.getStringArray("foo")).isNull(); in getWrongType()
[all …]
DShadowCameraTest.java114 assertThat(callback.camera).isNull(); in testSetPreviewCallbacks()
115 assertThat(callback.data).isNull(); in testSetPreviewCallbacks()
127 assertThat(callback.camera).isNull(); in testSetOneShotPreviewCallbacks()
128 assertThat(callback.data).isNull(); in testSetOneShotPreviewCallbacks()
140 assertThat(callback.camera).isNull(); in testPreviewCallbacksWithBuffers()
141 assertThat(callback.data).isNull(); in testPreviewCallbacksWithBuffers()
153 assertThat(callback.camera).isNull(); in testClearPreviewCallback()
154 assertThat(callback.data).isNull(); in testClearPreviewCallback()
160 assertThat(callback.camera).isNull(); in testClearPreviewCallback()
161 assertThat(callback.data).isNull(); in testClearPreviewCallback()
[all …]
DShadowCookieManagerTest.java62 assertThat(cookieManager.getCookie(".bar.com")).isNull(); in shouldNotGetCookieForHostNotInDomain()
90 assertThat(cookieManager.getCookie("foo")).isNull(); in shouldRecordAcceptCookie()
91 assertThat(cookieManager.getCookie("baz")).isNull(); in shouldRecordAcceptCookie()
107 assertThat(cookieManager.getCookie(url)).isNull(); in shouldGetNullWhenCookieIsNotPresent()
113 assertThat(cookieManager.getCookie("http://google.com")).isNull(); in shouldGetNullWhenCookieIsNotPresentInUrl()
172 assertThat(cookieManager.getCookie(url)).isNull(); in shouldRemoveAllCookie()
198 assertThat(cookieManager.getCookie(url)).isNull(); in shouldIgnoreCookiesSetInThePast()
199 assertThat(cookieManager.getCookie(url2)).isNull(); in shouldIgnoreCookiesSetInThePast()
214 assertThat(cookieManager.getCookie("")).isNull(); in shouldIgnoreEmptyURLs()
DShadowAlarmManagerTest.java103 assertThat(shadowAlarmManager.getNextScheduledAlarm()).isNull(); in set_shouldRegisterAlarm()
112 assertThat(shadowAlarmManager.getNextScheduledAlarm()).isNull(); in set_shouldRegisterAlarm_forApi24()
121 assertThat(shadowAlarmManager.getNextScheduledAlarm()).isNull(); in setAndAllowWhileIdle_shouldRegisterAlarm()
130 assertThat(shadowAlarmManager.getNextScheduledAlarm()).isNull(); in setExactAndAllowWhileIdle_shouldRegisterAlarm()
139 assertThat(shadowAlarmManager.getNextScheduledAlarm()).isNull(); in setExact_shouldRegisterAlarm_forApi19()
148 assertThat(shadowAlarmManager.getNextScheduledAlarm()).isNull(); in setExact_shouldRegisterAlarm_forApi124()
157 assertThat(shadowAlarmManager.getNextScheduledAlarm()).isNull(); in setWindow_shouldRegisterAlarm_forApi19()
166 assertThat(shadowAlarmManager.getNextScheduledAlarm()).isNull(); in setWindow_shouldRegisterAlarm_forApi24()
174 assertThat(shadowAlarmManager.getNextScheduledAlarm()).isNull(); in setRepeating_shouldRegisterAlarm()
209 assertThat(shadowAlarmManager.getNextScheduledAlarm()).isNull(); in shouldSupportGetNextScheduledAlarm()
[all …]
/external/opencensus-java/api/src/test/java/io/opencensus/trace/
DCurrentSpanUtilsTest.java71 assertThat(CurrentSpanUtils.getCurrentSpan()).isNull(); in getCurrentSpan_WhenNoContext()
76 assertThat(CurrentSpanUtils.getCurrentSpan()).isNull(); in getCurrentSpan()
84 assertThat(CurrentSpanUtils.getCurrentSpan()).isNull(); in getCurrentSpan()
89 assertThat(CurrentSpanUtils.getCurrentSpan()).isNull(); in withSpan_CloseDetaches()
96 assertThat(CurrentSpanUtils.getCurrentSpan()).isNull(); in withSpan_CloseDetaches()
102 assertThat(CurrentSpanUtils.getCurrentSpan()).isNull(); in withSpan_CloseDetachesAndEndsSpan()
109 assertThat(CurrentSpanUtils.getCurrentSpan()).isNull(); in withSpan_CloseDetachesAndEndsSpan()
115 assertThat(CurrentSpanUtils.getCurrentSpan()).isNull(); in withSpanRunnable()
126 assertThat(CurrentSpanUtils.getCurrentSpan()).isNull(); in withSpanRunnable()
131 assertThat(CurrentSpanUtils.getCurrentSpan()).isNull(); in withSpanRunnable_EndSpan()
[all …]
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/account/
DAccountUtilTest.java47 assertThat(AccountUtil.create("" /* name */, type)).isNull(); in createAccount_emptyField()
48 assertThat(AccountUtil.create(null /* name */, type)).isNull(); in createAccount_emptyField()
49 assertThat(AccountUtil.create(name, "" /* type */)).isNull(); in createAccount_emptyField()
50 assertThat(AccountUtil.create(name, null /* type */)).isNull(); in createAccount_emptyField()
59 assertThat(AccountUtil.create("prefix:suffix" /* name */, type)).isNull(); in createAccount_containDelimiter()
60 assertThat(AccountUtil.create(name, "prefix:suffix" /* type */)).isNull(); in createAccount_containDelimiter()
69 assertThat(AccountUtil.create("prefix|suffix" /* name */, type)).isNull(); in createAccount_containSplitChar()
70 assertThat(AccountUtil.create(name, "prefix|suffix" /* type */)).isNull(); in createAccount_containSplitChar()
96 assertThat(AccountUtil.deserialize("type and name")).isNull(); in deserializeAccount_noDelimiter()
102 assertThat(AccountUtil.deserialize("type:name:foo")).isNull(); in deserializeAccount_multipleDelimiter()
[all …]
/external/mockito/src/test/java/org/mockitousage/jls/
DJLS_15_12_2_5Test.java18 import static org.mockito.ArgumentMatchers.isNull;
57 when(mock.oneArg(isNull())).thenReturn("ok"); in with_single_arg()
69 when(mock.oneArg((String) isNull())).thenReturn("ok"); in with_single_arg_and_matcher_cast()
78 when(mock.oneArg(isNull())).thenReturn("ok"); in with_single_arg_and_null_Object_reference()
88 when(mock.varargs(isNull())).thenReturn("ok"); in with_variable_arg()
100 when(mock.varargs((String) isNull())).thenReturn("ok"); in with_variable_arg_and_matcher_String_cast()
109 when(mock.varargs((String[]) isNull())).thenReturn("ok"); in with_variable_arg_and_matcher_String_array_cast()
118 when(mock.varargs(isNull())).thenReturn("ok"); in with_variable_arg_and_null_Object_array()
128 when(mock.varargs(isNull())).thenReturn("ok"); in with_variable_arg_and_null_Object_arg()
191 when(mock.oneArg(isNull())).thenReturn("ok"); in with_single_arg()
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/
DJsonNodeFactoryTest.java21 assertTrue(f.numberNode((Byte) null).isNull()); in testSimpleCreation()
23 assertTrue(f.numberNode((Short) null).isNull()); in testSimpleCreation()
25 assertTrue(f.numberNode((Integer) null).isNull()); in testSimpleCreation()
27 assertTrue(f.numberNode((Long) null).isNull()); in testSimpleCreation()
29 assertTrue(f.numberNode((Float) null).isNull()); in testSimpleCreation()
31 assertTrue(f.numberNode((Double) null).isNull()); in testSimpleCreation()
33 assertTrue(f.numberNode((BigDecimal) null).isNull()); in testSimpleCreation()
35 assertTrue(f.numberNode((BigInteger) null).isNull()); in testSimpleCreation()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/common/src/test/java/com/google/android/exoplayer2/util/
DMimeTypesTest.java86 .isNull(); in getCodecsCorrespondingToMimeType_returnsCorrectResult()
90 .isNull(); in getCodecsCorrespondingToMimeType_returnsCorrectResult()
92 .isNull(); in getCodecsCorrespondingToMimeType_returnsCorrectResult()
229 assertThat(MimeTypes.getMimeTypeFromMp4ObjectType(0)).isNull(); in getMimeTypeFromMp4ObjectType_forInvalidObjectType_returnsNull()
230 assertThat(MimeTypes.getMimeTypeFromMp4ObjectType(0x600)).isNull(); in getMimeTypeFromMp4ObjectType_forInvalidObjectType_returnsNull()
231 assertThat(MimeTypes.getMimeTypeFromMp4ObjectType(0x01)).isNull(); in getMimeTypeFromMp4ObjectType_forInvalidObjectType_returnsNull()
232 assertThat(MimeTypes.getMimeTypeFromMp4ObjectType(-1)).isNull(); in getMimeTypeFromMp4ObjectType_forInvalidObjectType_returnsNull()
237 assertThat(MimeTypes.getObjectTypeFromMp4aRFC6381CodecString("")).isNull(); in getObjectTypeFromMp4aRFC6381CodecString_onInvalidInput_returnsNull()
238 assertThat(MimeTypes.getObjectTypeFromMp4aRFC6381CodecString("abc")).isNull(); in getObjectTypeFromMp4aRFC6381CodecString_onInvalidInput_returnsNull()
239 assertThat(MimeTypes.getObjectTypeFromMp4aRFC6381CodecString("mp4a.")).isNull(); in getObjectTypeFromMp4aRFC6381CodecString_onInvalidInput_returnsNull()
[all …]
DParsableByteArrayTest.java451 assertThat(parser.readLine()).isNull(); in readEmptyString()
463 assertThat(parser.readNullTerminatedString()).isNull(); in readNullTerminatedStringWithLengths()
474 assertThat(parser.readNullTerminatedString()).isNull(); in readNullTerminatedStringWithLengths()
479 assertThat(parser.readNullTerminatedString()).isNull(); in readNullTerminatedStringWithLengths()
484 assertThat(parser.readNullTerminatedString()).isNull(); in readNullTerminatedStringWithLengths()
496 assertThat(parser.readNullTerminatedString()).isNull(); in readNullTerminatedString()
501 assertThat(parser.readNullTerminatedString()).isNull(); in readNullTerminatedString()
506 assertThat(parser.readNullTerminatedString()).isNull(); in readNullTerminatedString()
515 assertThat(parser.readNullTerminatedString()).isNull(); in readNullTerminatedStringWithoutEndingNull()
527 assertThat(parser.readDelimiterTerminatedString('*')).isNull(); in readDelimiterTerminatedString()
[all …]
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/common/src/test/java/com/google/android/exoplayer2/util/
DMimeTypesTest.java86 .isNull(); in getCodecsCorrespondingToMimeType_returnsCorrectResult()
90 .isNull(); in getCodecsCorrespondingToMimeType_returnsCorrectResult()
92 .isNull(); in getCodecsCorrespondingToMimeType_returnsCorrectResult()
229 assertThat(MimeTypes.getMimeTypeFromMp4ObjectType(0)).isNull(); in getMimeTypeFromMp4ObjectType_forInvalidObjectType_returnsNull()
230 assertThat(MimeTypes.getMimeTypeFromMp4ObjectType(0x600)).isNull(); in getMimeTypeFromMp4ObjectType_forInvalidObjectType_returnsNull()
231 assertThat(MimeTypes.getMimeTypeFromMp4ObjectType(0x01)).isNull(); in getMimeTypeFromMp4ObjectType_forInvalidObjectType_returnsNull()
232 assertThat(MimeTypes.getMimeTypeFromMp4ObjectType(-1)).isNull(); in getMimeTypeFromMp4ObjectType_forInvalidObjectType_returnsNull()
237 assertThat(MimeTypes.getObjectTypeFromMp4aRFC6381CodecString("")).isNull(); in getObjectTypeFromMp4aRFC6381CodecString_onInvalidInput_returnsNull()
238 assertThat(MimeTypes.getObjectTypeFromMp4aRFC6381CodecString("abc")).isNull(); in getObjectTypeFromMp4aRFC6381CodecString_onInvalidInput_returnsNull()
239 assertThat(MimeTypes.getObjectTypeFromMp4aRFC6381CodecString("mp4a.")).isNull(); in getObjectTypeFromMp4aRFC6381CodecString_onInvalidInput_returnsNull()
[all …]
DParsableByteArrayTest.java451 assertThat(parser.readLine()).isNull(); in readEmptyString()
463 assertThat(parser.readNullTerminatedString()).isNull(); in readNullTerminatedStringWithLengths()
474 assertThat(parser.readNullTerminatedString()).isNull(); in readNullTerminatedStringWithLengths()
479 assertThat(parser.readNullTerminatedString()).isNull(); in readNullTerminatedStringWithLengths()
484 assertThat(parser.readNullTerminatedString()).isNull(); in readNullTerminatedStringWithLengths()
496 assertThat(parser.readNullTerminatedString()).isNull(); in readNullTerminatedString()
501 assertThat(parser.readNullTerminatedString()).isNull(); in readNullTerminatedString()
506 assertThat(parser.readNullTerminatedString()).isNull(); in readNullTerminatedString()
515 assertThat(parser.readNullTerminatedString()).isNull(); in readNullTerminatedStringWithoutEndingNull()
527 assertThat(parser.readDelimiterTerminatedString('*')).isNull(); in readDelimiterTerminatedString()
[all …]
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/monitor/
DDownloadProgressMonitorTest.java279 assertThat(downloadMonitor.monitorWrite(uri1)).isNull(); in bytesWritten_addDownloadListener()
287 assertThat(downloadMonitor.monitorWrite(uri1)).isNull(); in bytesWritten_addDownloadListener()
293 assertThat(downloadMonitor.monitorWrite(uri1)).isNull(); in bytesWritten_forSingleFileDownload_addAndRemoveDownloadListener()
301 assertThat(downloadMonitor.monitorWrite(uri1)).isNull(); in bytesWritten_forSingleFileDownload_addAndRemoveDownloadListener()
308 assertThat(downloadMonitor.monitorWrite(uri1)).isNull(); in bytesWritten_forBothFileAndFileGroupDownloads_addAndRemoveDownloadListener()
312 assertThat(downloadMonitor.monitorWrite(uri2)).isNull(); in bytesWritten_forBothFileAndFileGroupDownloads_addAndRemoveDownloadListener()
318 assertThat(downloadMonitor.monitorWrite(uri2)).isNull(); in bytesWritten_forBothFileAndFileGroupDownloads_addAndRemoveDownloadListener()
329 assertThat(downloadMonitor.monitorWrite(uri1)).isNull(); in bytesWritten_forBothFileAndFileGroupDownloads_addAndRemoveDownloadListener()
335 assertThat(downloadMonitor.monitorWrite(uri2)).isNull(); in bytesWritten_forBothFileAndFileGroupDownloads_addAndRemoveDownloadListener()
337 assertThat(downloadMonitor.monitorWrite(uri1)).isNull(); in bytesWritten_forBothFileAndFileGroupDownloads_addAndRemoveDownloadListener()
[all …]
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DRegularFileBlocksTest.java51 assertThat(file.getBlock(0)).isNull(); in testInitialState()
60 assertThat(file.getBlock(1)).isNull(); in testAddAndGet()
66 assertThat(file.getBlock(2)).isNull(); in testAddAndGet()
81 assertThat(file.getBlock(2)).isNull(); in testTruncate()
82 assertThat(file.getBlock(3)).isNull(); in testTruncate()
87 assertThat(file.getBlock(0)).isNull(); in testTruncate()
132 assertThat(file.getBlock(0)).isNull(); in testTransferTo()
141 assertThat(other.getBlock(2)).isNull(); in testTransferTo()
143 assertThat(file.getBlock(1)).isNull(); in testTransferTo()
/external/mockito/src/test/java/org/mockitousage/bugs/
DCompareMatcherTest.java43 assertThat(mock.forInteger(null)).isNull();// a default value must be returned in compareNullArgument()
53 assertThat(mock.forObject(NOT_A_COMPARABLE)).isNull();// a default value must be returned in compareToNonCompareable()
63 assertThat(mock.forInteger(null)).isNull();// a default value must be returned in compareToNull()
73 assertThat(mock.forObject(123)).isNull();// a default value must be returned in compareToStringVsInt()
105 assertThat(mock.forObject(123)).isNull(); in matchesOverloadsMustBeIgnored()
119 assertThat(mock.forObject(123)).isNull(); in matchesWithSubTypeExtendingGenericClass()
132 assertThat(mock.forObject(123)).isNull(); in matchesWithSubTypeGenericMethod()
/external/desugar/test/java/com/google/devtools/build/android/desugar/
DCoreLibrarySupportTest.java109 assertThat(support.getMoveTarget("__/java/util/Existing", "matchesnot")).isNull(); in testMoveTarget()
110 assertThat(support.getMoveTarget("__/java/util/ExistingOther", "match")).isNull(); in testMoveTarget()
165 .isNull(); in testGetCoreInterfaceRewritingTarget_emulatedDefaultMethod()
237 .isNull(); in testGetCoreInterfaceRewritingTarget_abstractMethod()
245 .isNull(); in testGetCoreInterfaceRewritingTarget_abstractMethod()
273 .isNull(); // putIfAbsent is default in Map but abstract in ConcurrentMap in testGetCoreInterfaceRewritingTarget_emulatedDefaultOverride()
327 .isNull(); in testGetCoreInterfaceRewritingTarget_renamed()
335 .isNull(); in testGetCoreInterfaceRewritingTarget_renamed()
345 .isNull(); in testGetCoreInterfaceRewritingTarget_renamed()
374 .isNull(); in testGetCoreInterfaceRewritingTarget_renamed()
[all …]
/external/dagger2/javatests/dagger/hilt/android/
DOptionalInjectWithoutHiltTest.java51 assertThat(testActivity.testActivityBinding).isNull(); in testActivityInjection()
60 assertThat(testActivity.testActivityBinding).isNull(); in testOptionalSubclassActivityInjection()
61 assertThat(testActivity.testActivitySubclassBinding).isNull(); in testOptionalSubclassActivityInjection()
74 assertThat(testFragment.testFragmentBinding).isNull(); in testFragmentInjection()
83 assertThat(testView.testViewBinding).isNull(); in testViewInjection()
99 assertThat(testView.testViewBinding).isNull(); in testViewWithFragmentBindingsInjection()
135 assertThat(testService.testAppBinding).isNull(); in testServiceInjection()
143 assertThat(testIntentService.testAppBinding).isNull(); in testIntentServiceInjection()
153 assertThat(testBroadcastReceiver.testAppBinding).isNull(); in testBroadcastReceiverInjection()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/bytecode/
DShadowWranglerUnitTest.java33 assertThat(handler.call(null, null, new Object[0])).isNull(); in getInterceptionHandler_whenCallIsNotRecognized_shouldReturnDoNothingHandler()
66 assertThat(result).isNull(); in intercept_elderOnLinkedHashMapHandler_shouldReturnNullForEmptyMap()
73 …Wrangler(shadowMap, 18, interceptors).methodInvoked(methodName, false, DummyClass.class)).isNull(); in shadowClassWithSdkRange()
76 …Wrangler(shadowMap, 23, interceptors).methodInvoked(methodName, false, DummyClass.class)).isNull(); in shadowClassWithSdkRange()
83 …Wrangler(shadowMap, 19, interceptors).methodInvoked(methodName, false, DummyClass.class)).isNull(); in shadowMethodWithSdkRange()
86 …Wrangler(shadowMap, 21, interceptors).methodInvoked(methodName, false, DummyClass.class)).isNull(); in shadowMethodWithSdkRange()
93 …Wrangler(shadowMap, 19, interceptors).methodInvoked(methodName, false, DummyClass.class)).isNull(); in shadowMethodWithMinSdk()
108 …Wrangler(shadowMap, 21, interceptors).methodInvoked(methodName, false, DummyClass.class)).isNull(); in shadowMethodWithMaxSdk()
115 …Wrangler(shadowMap, 19, interceptors).methodInvoked(methodName, false, DummyClass.class)).isNull(); in shadowConstructor()
118 …Wrangler(shadowMap, 21, interceptors).methodInvoked(methodName, false, DummyClass.class)).isNull(); in shadowConstructor()
[all …]
/external/cronet/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DSmallSortedMapTest.java117 assertThat(map1.put(i, i + 1)).isNull(); in runPutAndGetTest()
118 assertThat(map2.put(i, i + 1)).isNull(); in runPutAndGetTest()
122 assertThat(map3.put(i, i + 1)).isNull(); in runPutAndGetTest()
123 assertThat(map4.put(i, i + 1)).isNull(); in runPutAndGetTest()
153 assertThat(map.put(i, i + 1)).isNull(); in testReplacingPut()
154 assertThat(map.remove(i + 1)).isNull(); in testReplacingPut()
165 assertThat(map.put(i, i + 1)).isNull(); in testRemove()
166 assertThat(map.remove(i + 1)).isNull(); in testRemove()
192 assertThat(map.remove(3)).isNull(); in testRemove()
207 assertThat(map.put(i, i + 1)).isNull(); in testClear()
[all …]
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DSmallSortedMapTest.java117 assertThat(map1.put(i, i + 1)).isNull(); in runPutAndGetTest()
118 assertThat(map2.put(i, i + 1)).isNull(); in runPutAndGetTest()
122 assertThat(map3.put(i, i + 1)).isNull(); in runPutAndGetTest()
123 assertThat(map4.put(i, i + 1)).isNull(); in runPutAndGetTest()
153 assertThat(map.put(i, i + 1)).isNull(); in testReplacingPut()
154 assertThat(map.remove(i + 1)).isNull(); in testReplacingPut()
165 assertThat(map.put(i, i + 1)).isNull(); in testRemove()
166 assertThat(map.remove(i + 1)).isNull(); in testRemove()
192 assertThat(map.remove(3)).isNull(); in testRemove()
207 assertThat(map.put(i, i + 1)).isNull(); in testClear()
[all …]

12345678910>>...49