Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 314 for listOf (0.46 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerKotlinTest.kt

            .build()
    
        certificatePinner.check("example.com", listOf(certA1.certificate))
      }
    
      @Test fun successfulFindMatchingPins() {
        val certificatePinner =
          CertificatePinner
            .Builder()
            .add("first.com", certA1Sha256Pin, certB1Sha256Pin)
            .add("second.com", certC1Sha256Pin)
            .build()
    
        val expectedPins =
          listOf(
            Pin("first.com", certA1Sha256Pin),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt

        }
    
        // Should not be pinned:
        certificatePinner.check("uk", listOf(certB1.certificate))
        certificatePinner.check("co.uk", listOf(certB1.certificate))
        certificatePinner.check("anotherexample.co.uk", listOf(certB1.certificate))
        certificatePinner.check("foo.anotherexample.co.uk", listOf(certB1.certificate))
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/configurations/TestPerformanceTest.kt

                        ).joinToString(separator = " ")
                    skipConditionally()
                }
            }
    
            fun BuildSteps.adHocPerformanceTest(tests: List<String>) {
                gradleStep(
                    listOf(
                        "clean",
                        "performance:${testProject}PerformanceAdHocTest",
                        tests.map { """--tests "$it"""" }.joinToString(" "),
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Mon Aug 25 20:21:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

                    parameters = null,
                  ),
                issuer =
                  listOf(
                    listOf(
                      AttributeTypeAndValue(
                        type = countryName,
                        value = "US",
                      ),
                    ),
                    listOf(
                      AttributeTypeAndValue(
                        type = organizationName,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 43.9K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/projects/StageProject.kt

            this.description = stage.stageName.description
        }) {
        val specificBuildTypes: List<OsAwareBaseGradleBuildType>
    
        val performanceTests: List<PerformanceTestsPass>
    
        val functionalTests: List<OsAwareBaseGradleBuildType>
    
        val crossVersionTests: List<OsAwareBaseGradleBuildType>
    
        val docsTestTriggers: List<OsAwareBaseGradleBuildType>
    
        init {
            features {
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Tue Jul 29 03:24:58 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/configurations/FlakyTestQuarantine.kt

                functionalTestExtraParameters(
                    listOf("FlakyTestQuarantine"),
                    os,
                    arch,
                    testCoverage.testJvmVersion.major.toString(),
                    testCoverage.vendor.name.lowercase(),
                )
            val parameters =
                (
                    buildToolGradleParameters() +
                        listOf(
                            "-PflakyTests=only",
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Tue Jul 29 03:24:58 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt

                object : CookieManager() {
                  override fun get(
                    uri: URI,
                    requestHeaders: Map<String, List<String>>,
                  ) = mapOf(
                    "COOKIE" to listOf("Bar=bar"),
                    "cooKIE2" to listOf("Baz=baz"),
                  )
                },
              ),
            ).build()
        server.enqueue(MockResponse())
        get(server.url("/"))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/model/CIBuildModel.kt

        val stageName: StageName,
        val specificBuilds: List<SpecificBuild> = emptyList(),
        val functionalTests: List<TestCoverage> = emptyList(),
        val docsTests: List<DocsTestCoverage> = emptyList(),
        val performanceTests: List<PerformanceTestCoverage> = emptyList(),
        val performanceTestPartialTriggers: List<PerformanceTestPartialTrigger> = emptyList(),
        val flameGraphs: List<FlameGraphGeneration> = emptyList(),
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Sun Aug 03 22:40:28 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/HandshakeTest.kt

        val handshake =
          Handshake.get(
            tlsVersion = TlsVersion.TLS_1_3,
            cipherSuite = CipherSuite.TLS_AES_128_GCM_SHA256,
            peerCertificates = listOf(serverCertificate.certificate, serverIntermediate.certificate),
            localCertificates = listOf(),
          )
    
        assertThat(handshake.tlsVersion).isEqualTo(TlsVersion.TLS_1_3)
        assertThat(handshake.cipherSuite).isEqualTo(CipherSuite.TLS_AES_128_GCM_SHA256)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

        assertThat(listOf(clientCertificate.certificate, clientIntermediate.certificate))
          .isEqualTo(serverHandshake.peerCertificates)
        assertThat(listOf(serverCertificate.certificate, serverIntermediate.certificate))
          .isEqualTo(serverHandshake.localCertificates)
        val clientHandshake = clientHandshakeFuture.get()
        assertThat(listOf(serverCertificate.certificate, serverIntermediate.certificate))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top