- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 187 for isNull (0.1 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java
assertThat(map.getInstance(Integer.class)).isNull(); map.putInstance(Long.class, null); assertTrue(map.containsKey(TypeToken.of(Long.class))); assertTrue(map.entrySet().contains(immutableEntry(TypeToken.of(Long.class), null))); assertThat(map.get(TypeToken.of(Long.class))).isNull(); assertThat(map.getInstance(Long.class)).isNull(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 8.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java
assertThat(spec.initialCapacity).isNull(); assertThat(spec.maximumSize).isNull(); assertThat(spec.maximumWeight).isNull(); assertThat(spec.concurrencyLevel).isNull(); assertThat(spec.keyStrength).isNull(); assertThat(spec.valueStrength).isNull(); assertThat(spec.writeExpirationTimeUnit).isNull(); assertThat(spec.accessExpirationTimeUnit).isNull();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 20.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java
private static final Object OBJECT = new Object(); public void testNewReference() throws Exception { assertThat(Atomics.newReference().get()).isNull(); } public void testNewReference_withInitialValue() throws Exception { assertThat(Atomics.newReference(null).get()).isNull(); assertEquals(OBJECT, Atomics.newReference(OBJECT).get()); } public void testNewReferenceArray_withLength() throws Exception {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 2.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java
assertThat(map.get(Integer.class)).isNull(); assertThat(map.getInstance(Integer.class)).isNull(); map.put(Long.class, null); assertThat(map.get(Long.class)).isNull(); assertThat(map.getInstance(Long.class)).isNull(); } public void testPrimitiveAndWrapper() { assertThat(map.getInstance(int.class)).isNull(); assertThat(map.getInstance(Integer.class)).isNull();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 31 20:00:15 GMT 2026 - 5K bytes - Click Count (0) -
okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/ConfiguredPublicSuffixDatabaseTest.kt
.readByteString() assertThat(publicSuffixDatabase.getEffectiveTldPlusOne("aaa")).isNull() assertThat(publicSuffixDatabase.getEffectiveTldPlusOne("ggg")).isNull() assertThat(publicSuffixDatabase.getEffectiveTldPlusOne("ccc")).isNull() assertThat(publicSuffixDatabase.getEffectiveTldPlusOne("eee")).isNull() } @Test fun exceptionRule() { list.bytes = Buffer() .writeUtf8("*.jp\n")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.7K bytes - Click Count (0) -
okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt
assertThat(request.body).isNull() } @Test fun userAgent() { val request = fromArgs("-A", "foo", "http://example.com").createRequest() assertThat(request.method).isEqualTo("GET") assertThat(request.url.toString()).isEqualTo("http://example.com/") assertThat(request.header("User-Agent")).isEqualTo("foo") assertThat(request.body).isNull() } @Test
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/AbstractTableTest.java
} } public void testPut() { assertThat(table.put("foo", 1, cellValue('a'))).isNull(); assertThat(table.put("bar", 1, cellValue('b'))).isNull(); assertThat(table.put("foo", 3, cellValue('c'))).isNull(); assertEquals((Character) 'a', table.put("foo", 1, cellValue('d'))); assertEquals((Character) 'd', table.get("foo", 1));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
// On Windows files still exist while being edited. assertThat(readFileOrNull(getCleanFile("k1", 0))).isEqualTo(afterRemoveFileContents) assertThat(readFileOrNull(getDirtyFile("k1", 0))).isNull() // On all platforms files are deleted when the edit completes. editor.commit() assertThat(readFileOrNull(getCleanFile("k1", 0))).isNull() assertThat(readFileOrNull(getDirtyFile("k1", 0))).isNull()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 59.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java
assertThat(map.getInstance(Integer.class)).isNull(); map.putInstance(Long.class, null); assertTrue(map.containsKey(TypeToken.of(Long.class))); assertTrue(map.entrySet().contains(immutableEntry(TypeToken.of(Long.class), null))); assertThat(map.get(TypeToken.of(Long.class))).isNull(); assertThat(map.getInstance(Long.class)).isNull(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 8.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt
.url("https://square.com") .build() assertThat(request.tag<Any>()).isNull() assertThat(request.tag(Any::class)).isNull() assertThat(request.tag(String::class)).isNull() // Alternate access APIs also work. assertThat(request.tag<String>()).isNull() assertThat(request.tag(String::class)).isNull() } @Test fun defaultTag() { val tag = "1234" val request =
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 11K bytes - Click Count (0)