- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 197 for isNull (0.03 sec)
-
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();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PredicatesTest.java
} /* * Tests for Predicates.isNull() */ public void testIsNull_apply() { Predicate<@Nullable Integer> isNull = Predicates.isNull(); assertTrue(isNull.apply(null)); assertFalse(isNull.apply(1)); } public void testIsNull_equality() { new EqualsTester() .addEqualityGroup(Predicates.isNull(), Predicates.isNull()) .addEqualityGroup(Predicates.notNull())
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 32.3K bytes - Viewed (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()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 59.4K bytes - Viewed (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 =
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 24 11:36:14 UTC 2025 - 10.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/IntsTest.java
assertThat(Ints.tryParse("")).isNull(); assertThat(Ints.tryParse("-")).isNull(); assertThat(Ints.tryParse("+1")).isNull(); assertThat(Ints.tryParse("9999999999999999")).isNull(); assertWithMessage("Max integer + 1") .that(Ints.tryParse(Long.toString(((long) GREATEST) + 1))) .isNull(); assertWithMessage("Max integer * 10")
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 29.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RetryConnectionTest.kt
*/ package okhttp3.internal.connection import assertk.assertThat import assertk.assertions.containsExactlyInAnyOrder import assertk.assertions.isFalse import assertk.assertions.isNotNull import assertk.assertions.isNull import assertk.assertions.isTrue import java.io.IOException import java.security.cert.CertificateException import javax.net.ssl.SSLHandshakeException import javax.net.ssl.SSLSocket import okhttp3.ConnectionSpec
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.3K bytes - Viewed (0) -
okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt
* limitations under the License. */ package okhttp3.internal.publicsuffix import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isNull import assertk.assertions.isTrue import kotlin.test.assertEquals import kotlin.test.assertFailsWith import okhttp3.internal.publicsuffix.ResourcePublicSuffixList.Companion.PUBLIC_SUFFIX_RESOURCE
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue May 27 22:00:49 UTC 2025 - 8.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
ValueReference<Object, Object> valueRef = map.newValueReference(entry, value, 1); entry.setValueReference(valueRef); assertThat(segment.get(key, hash)).isNull(); // count == 0 table.set(index, entry); assertThat(segment.get(key, hash)).isNull(); assertThat(segment.containsKey(key, hash)).isFalse(); assertThat(segment.containsValue(value)).isFalse(); // count == 1
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 117.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
ValueReference<Object, Object> valueRef = map.newValueReference(entry, value, 1); entry.setValueReference(valueRef); assertThat(segment.get(key, hash)).isNull(); // count == 0 table.set(index, entry); assertThat(segment.get(key, hash)).isNull(); assertThat(segment.containsKey(key, hash)).isFalse(); assertThat(segment.containsValue(value)).isFalse(); // count == 1
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 115.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTagsTest.kt
assertThat(call.tag(Boolean::class)).isNull() assertThat(call.tag(Any::class)).isNull() // Check the Java APIs too. assertThat(call.tag(String::class.java)).isEqualTo("hello") assertThat(call.tag(Integer::class.java)).isEqualTo(5) assertThat(call.tag(Boolean::class.java)).isNull() assertThat(call.tag(Any::class.java)).isNull() } @Test fun tagsCanBeComputed() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Oct 26 14:54:46 UTC 2025 - 2.8K bytes - Viewed (0)