- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 190 for IsFull (0.33 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt
val source = response.body.source() assertThat(response.header("h1")).isEqualTo("v1") assertThat(response.peekTrailers()).isNull() assertFailsWith<IOException> { source.readUtf8() } try { assertThat(response.peekTrailers()).isNull() // Okay. This is what HTTP/1 does. } catch (_: IOException) { // Also okay. This is what HTTP/2 does. }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 08 21:45:04 UTC 2025 - 18.8K 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 Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 07 15:57:03 UTC 2025 - 20.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HandshakeTest.kt
package okhttp3 import assertk.assertThat import assertk.assertions.containsExactly import assertk.assertions.hasMessage import assertk.assertions.isEmpty import assertk.assertions.isEqualTo import assertk.assertions.isNull import java.io.IOException import java.security.cert.Certificate import kotlin.test.assertFailsWith import okhttp3.Handshake.Companion.handshake import okhttp3.tls.HeldCertificate import org.junit.jupiter.api.Test
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.2K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt
import assertk.assertions.containsExactly import assertk.assertions.containsExactlyInAnyOrder import assertk.assertions.hasMessage import assertk.assertions.isEqualTo import assertk.assertions.isInstanceOf import assertk.assertions.isNull import java.io.EOFException import java.io.File import java.io.IOException import java.net.InetAddress import java.net.UnknownHostException import java.util.concurrent.TimeUnit import kotlin.reflect.KClass
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 11.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpDateTest.kt
assertThat("Thu, 01 Jan 1970 00:00:00".toHttpDateOrNull()).isNull() // Missing seconds treated as bad. assertThat("Thu, 01 Jan 1970 00:00 GMT".toHttpDateOrNull()).isNull() // Extra spaces treated as bad. assertThat("Thu, 01 Jan 1970 00:00 GMT".toHttpDateOrNull()).isNull() // Missing leading zero treated as bad. assertThat("Thu, 1 Jan 1970 00:00 GMT".toHttpDateOrNull()).isNull() // RFC 850, obsoleted by RFC 1036 with any TZ.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/InsecureForHostTest.kt
assertThat(response.handshake!!.localCertificates).isEmpty() assertThat(response.handshake!!.localPrincipal).isNull() assertThat(response.handshake!!.peerCertificates).isEmpty() assertThat(response.handshake!!.peerPrincipal).isNull() } @Test fun `bad certificates host in insecureHosts fails with SSLException`() { val heldCertificate = HeldCertificate .Builder()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 4.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt
fun assertNoNetworkResponse() = apply { assertThat(response!!.networkResponse).isNull() } /** Asserts that the current response didn't use the cache. */ fun assertNoCacheResponse() = apply { assertThat(response!!.cacheResponse).isNull() } /** * Asserts that the current response used the cache and returns the cache response. */
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.3K 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 Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 07 15:57:03 UTC 2025 - 18.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SingletonImmutableTableTest.java
assertFalse(testTable.containsValue("")); } public void testGet() { assertEquals("blah", testTable.get('a', 1)); assertThat(testTable.get('a', 2)).isNull(); assertThat(testTable.get('A', 1)).isNull(); assertThat(testTable.get('A', 2)).isNull(); } public void testIsEmpty() { assertFalse(testTable.isEmpty()); } public void testSize() { assertEquals(1, testTable.size());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeInternalTest.java
// Arrange when(tree.send(isNull())).thenThrow(new CIFSException("null request")); // Act CIFSException ex = assertThrows(CIFSException.class, () -> tree.send(null)); // Assert assertEquals("null request", ex.getMessage()); verify(tree).send((Request<CommonServerMessageBlockResponse>) isNull()); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0)