- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 52 for isNull (0.08 sec)
-
okhttp/src/test/java/okhttp3/RequestTest.kt
.build() assertThat(request.tag()).isNull() assertThat(request.tag(Any::class.java)).isNull() assertThat(request.tag(UUID::class.java)).isNull() assertThat(request.tag(String::class.java)).isNull() // Alternate access APIs also work. assertThat(request.tag<String>()).isNull() assertThat(request.tag(String::class)).isNull() } @Test fun defaultTag() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 16.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/MultipartReaderTest.kt
boundary = "simple boundary", source = Buffer().writeUtf8(multipart), ) assertThat(parts.nextPart()).isNotNull() assertThat(parts.nextPart()).isNull() assertThat(parts.nextPart()).isNull() } @Test fun `empty source`() { val parts = MultipartReader( boundary = "simple boundary", source = Buffer(), )
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CookieTest.kt
assertThat(parse(url, "a\u0000b=cd")).isNull() assertThat(parse(url, "ab=c\u0000d")).isNull() assertThat(parse(url, "a\u0001b=cd")).isNull() assertThat(parse(url, "ab=c\u0001d")).isNull() assertThat(parse(url, "a\u0009b=cd")).isNull() assertThat(parse(url, "ab=c\u0009d")).isNull() assertThat(parse(url, "a\u001fb=cd")).isNull() assertThat(parse(url, "ab=c\u001fd")).isNull()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 24.3K bytes - Viewed (0) -
okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt
assertThat(publicSuffixDatabase.getEffectiveTldPlusOne("aaa")).isNull() assertThat(publicSuffixDatabase.getEffectiveTldPlusOne("ggg")).isNull() assertThat(publicSuffixDatabase.getEffectiveTldPlusOne("ccc")).isNull() assertThat(publicSuffixDatabase.getEffectiveTldPlusOne("eee")).isNull() } @Test fun exceptionRule() { val exception = Buffer()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CookiesTest.kt
assertThat(cookies.size).isEqualTo(1) val cookie = cookies[0] assertThat(cookie.name).isEqualTo("a") assertThat(cookie.value).isEqualTo("android") assertThat(cookie.comment).isNull() assertThat(cookie.commentURL).isNull() assertThat(cookie.discard).isFalse() assertThat(cookie.maxAge).isGreaterThan(100000000000L) assertThat(cookie.path).isEqualTo("/path") assertThat(cookie.secure).isTrue()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 32.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt
assertThat("https://co.uk".toHttpUrl().topPrivateDomain()).isNull() assertThat("https://square".toHttpUrl().topPrivateDomain()).isNull() assertThat("https://栃木.jp".toHttpUrl().topPrivateDomain()).isNull() assertThat("https://xn--4pvxs.jp".toHttpUrl().topPrivateDomain()).isNull() assertThat("https://localhost".toHttpUrl().topPrivateDomain()).isNull() assertThat("https://127.0.0.1".toHttpUrl().topPrivateDomain()).isNull()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/ValueGraphTest.java
assertThat(graph.edgeValue(2, 1).orElse(DEFAULT)).isEqualTo(DEFAULT); assertThat(graph.edgeValueOrDefault(1, 2, null)).isNull(); assertThat(graph.edgeValueOrDefault(2, 1, null)).isNull(); assertThat(graph.edgeValue(1, 2).orElse(null)).isNull(); assertThat(graph.edgeValue(2, 1).orElse(null)).isNull(); graph.putEdgeValue(1, 2, "valueA"); graph.putEdgeValue(2, 1, "valueB");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 06 18:35:19 UTC 2024 - 20K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/ValueGraphTest.java
assertThat(graph.removeEdge(1, 2)).isEqualTo("valueA"); assertThat(graph.removeEdge(1, 2)).isNull(); assertThat(graph.removeEdge(2, 1)).isEqualTo("valueB"); assertThat(graph.removeEdge(2, 1)).isNull(); assertThat(graph.removeEdge(2, 3)).isEqualTo("valueC"); assertThat(graph.removeEdge(2, 3)).isNull(); } @Test public void removeEdge_undirected() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 17.4K bytes - Viewed (0)