- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for isNotNull (0.08 sec)
-
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
val handshake = request.handshake assertThat(handshake!!.tlsVersion).isNotNull() assertThat(handshake.cipherSuite).isNotNull() assertThat(handshake.localPrincipal).isNotNull() assertThat(handshake.localCertificates.size).isEqualTo(1) assertThat(handshake.peerPrincipal).isNotNull() assertThat(handshake.peerCertificates.size).isEqualTo(1) } @Test fun shutdownTwice() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 21.9K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
val handshake = request.handshake assertThat(handshake!!.tlsVersion).isNotNull() assertThat(handshake.cipherSuite).isNotNull() assertThat(handshake.localPrincipal).isNotNull() assertThat(handshake.localCertificates.size).isEqualTo(1) assertThat(handshake.peerPrincipal).isNotNull() assertThat(handshake.peerCertificates.size).isEqualTo(1) } @Test
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 23.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/OkHttpClientTest.kt
val client = clientTestRule.newClient() // Values should be non-null. val a = client.newBuilder().build() assertThat(a.dispatcher).isNotNull() assertThat(a.connectionPool).isNotNull() assertThat(a.sslSocketFactory).isNotNull() assertThat(a.x509TrustManager).isNotNull() // Multiple clients share the instances. val b = client.newBuilder().build() assertThat(b.dispatcher).isSameAs(a.dispatcher)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 13.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/WholeOperationTimeoutTest.kt
* limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isFalse import assertk.assertions.isNotNull import assertk.assertions.isTrue import java.io.IOException import java.io.InterruptedIOException import java.net.HttpURLConnection import java.time.Duration import java.util.concurrent.CountDownLatch
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/InterceptorTest.kt
val networkRequest = chain.request() assertThat(networkRequest.header("User-Agent")).isNotNull() assertThat(networkRequest.header("Host")).isEqualTo( server.hostName + ":" + server.port, ) assertThat(networkRequest.header("Accept-Encoding")).isNotNull() // The network response also has everything, including the raw gzipped content.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 27.8K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.logging import assertk.assertThat import assertk.assertions.isNotNull import java.io.IOException import java.net.UnknownHostException import java.util.Arrays import mockwebserver3.MockResponse import mockwebserver3.MockWebServer import mockwebserver3.SocketPolicy.FailHandshake
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 10.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/MultipartReaderTest.kt
* limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.hasMessage import assertk.assertions.isEqualTo import assertk.assertions.isNotNull import assertk.assertions.isNull import java.io.EOFException import java.net.ProtocolException import kotlin.test.assertFailsWith import okhttp3.Headers.Companion.headersOf import okhttp3.MediaType.Companion.toMediaType
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(ascii, "a=b; domain=foo.bar.elb.amazonaws.com")).isNotNull() assertThat(parse(ascii, "a=b; domain=bar.elb.amazonaws.com")).isNull() assertThat(parse(ascii, "a=b; domain=com")).isNull() val unicode = "https://長.長.長崎.jp".toHttpUrl() assertThat(parse(unicode, "a=b; domain=長.長崎.jp")).isNotNull() assertThat(parse(unicode, "a=b; domain=長崎.jp")).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) -
android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
} } public void testLexicographicalComparatorChoice() throws Exception { Comparator<byte[]> defaultComparator = UnsignedBytes.lexicographicalComparator(); assertThat(defaultComparator).isNotNull(); assertThat(UnsignedBytes.lexicographicalComparator()).isSameInstanceAs(defaultComparator); if (unsafeComparatorAvailable()) { assertThat(Class.forName(unsafeComparatorClassName()))
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 13.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
// testing simple creation ImmutableSortedSet.Builder<SelfComparableExample> natural = ImmutableSortedSet.naturalOrder(); assertThat(natural).isNotNull(); ImmutableSortedSet.Builder<SelfComparableExample> reverse = ImmutableSortedSet.reverseOrder(); assertThat(reverse).isNotNull(); } private static class SuperComparableExample extends SelfComparableExample {}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 46.7K bytes - Viewed (0)