Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for containsExactly (0.27 sec)

  1. okhttp/src/test/java/okhttp3/ConnectionListenerTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.hasMessage
    import assertk.assertions.isEqualTo
    import assertk.assertions.isIn
    import java.io.IOException
    import java.net.InetSocketAddress
    import java.net.UnknownHostException
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/ConnectionSpecTest.kt

            .tlsVersions(TlsVersion.TLS_1_2)
            .supportsTlsExtensions(true)
            .build()
        assertThat(tlsSpec.cipherSuites!!.toList())
          .containsExactly(CipherSuite.TLS_RSA_WITH_RC4_128_MD5)
        assertThat(tlsSpec.tlsVersions!!.toList())
          .containsExactly(TlsVersion.TLS_1_2)
        assertThat(tlsSpec.supportsTlsExtensions).isTrue()
      }
    
      @Test
      fun tlsBuilder_defaultCiphers() {
        val tlsSpec =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/EventListenerTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.containsExactly
    import assertk.assertions.doesNotContain
    import assertk.assertions.isEqualTo
    import assertk.assertions.isIn
    import assertk.assertions.isInstanceOf
    import assertk.assertions.isNotNull
    import assertk.assertions.isNull
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/HeadersJvmTest.kt

            .add("kit:kat") // Space after colon is not required.
            .build()
        assertThat(headers.values("foo")).containsExactly("bar", "baz", "bak")
        assertThat(headers.values("key")).containsExactly("value")
        assertThat(headers.values("ping")).containsExactly("pong")
        assertThat(headers.values("kit")).containsExactly("kat")
      }
    
      @Test fun addThrowsOnEmptyName() {
        assertFailsWith<IllegalArgumentException> {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/HeadersChallengesTest.kt

          Challenge("Digest", mapOf()),
          Challenge("Basic", mapOf("realm" to "myrealm")),
        )
      }
    
      @Test fun multipleSeparatorsBetweenChallenges() {
        val headers =
          Headers.Builder()
            .add("WWW-Authenticate", "Digest,,,, Basic ,,realm=\"myrealm\"")
            .build()
        assertThat(headers.parseChallenges("WWW-Authenticate")).containsExactly(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  6. okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt

            ),
          ),
        ).containsExactly(
          Mapping(0x0000, 0x002e, TYPE_VALID, ByteString.EMPTY),
        )
      }
    
      @Test fun withSectionStartsSplits() {
        assertThat(
          withoutSectionSpans(
            listOf(
              Mapping(0x40000, 0x40180, TYPE_DISALLOWED, ByteString.EMPTY),
            ),
          ),
        ).containsExactly(
          Mapping(0x40000, 0x4007f, TYPE_DISALLOWED, ByteString.EMPTY),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  7. okhttp-android/src/test/kotlin/okhttp3/android/AndroidLoggingTest.kt

     * limitations under the License.
     *
     */
    package okhttp3.android
    
    import android.util.Log
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.containsOnly
    import assertk.assertions.isNull
    import java.net.UnknownHostException
    import okhttp3.ConnectionSpec
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 11:07:32 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/RouteFailureTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import java.io.IOException
    import java.net.InetAddress
    import java.net.InetSocketAddress
    import java.net.Proxy
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

        }
    
        taskFaker.advanceUntil(0.µs)
        assertThat(log).containsExactly()
    
        taskFaker.advanceUntil(99.µs)
        assertThat(log).containsExactly()
    
        taskFaker.advanceUntil(100.µs)
        assertThat(log).containsExactly("run@100000")
    
        taskFaker.assertNoMoreTasks()
    
        assertThat(testLogHandler.takeAll()).containsExactly(
          "FINE: Q10000 scheduled after 100 µs: task",
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 23K bytes
    - Viewed (0)
  10. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsRecordCodecTest.kt

     * limitations under the License.
     */
    @file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
    
    package okhttp3.dnsoverhttps
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.isEqualTo
    import java.net.InetAddress
    import java.net.UnknownHostException
    import kotlin.test.assertFailsWith
    import okhttp3.AsyncDns.Companion.TYPE_A
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.7K bytes
    - Viewed (0)
Back to top