Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 405 for listOf (0.06 sec)

  1. build-logic/buildquality/src/main/kotlin/gradlebuild.configure-ci-artifacts.gradle.kts

            globalExtension.taskPathToReports = taskPathToReports
        }
    }
    
    fun Task.customReports(): List<File> = when (this) {
        is ValidatePlugins -> listOf(outputFile.get().asFile)
        is FindBrokenInternalLinks -> listOf(reportFile.get().asFile)
        is DistributionTest -> listOf(
            gradleInstallationForTest.gradleUserHomeDir.dir("test-kit-daemon").get().asFile,
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Sep 11 14:21:47 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

        builder.interceptors().addAll(listOf(null) as List<Interceptor>)
        assertFailsWith<IllegalStateException> {
          builder.build()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Null interceptor: [null]")
        }
      }
    
      @Test fun nullNetworkInterceptorInList() {
        val builder = OkHttpClient.Builder()
        builder.networkInterceptors().addAll(listOf(null) as List<Interceptor>)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  3. .teamcity/src/test/kotlin/PerformanceTestBuildTypeTest.kt

                Stage(
                    StageName.PULL_REQUEST_FEEDBACK,
                    performanceTests = listOf(PerformanceTestCoverage(1, PerformanceTestType.per_commit, Os.LINUX))
                ),
                PerformanceTestCoverage(1, PerformanceTestType.per_commit, Os.LINUX),
                "Description",
                "performance",
                listOf("largeTestProject", "smallTestProject"),
                2,
                extraParameters = "extraParameters"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 30 07:24:00 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/SocketChannelTest.kt

      companion object {
        @Suppress("unused")
        @JvmStatic
        fun connectionTypes(): List<SocketMode> =
          listOf(CONSCRYPT, JSSE).flatMap { provider ->
            listOf(HTTP_1_1, HTTP_2).flatMap { protocol ->
              listOf(TLS_1_3, TLS_1_2).flatMap { tlsVersion ->
                listOf(Channel, Standard).flatMap { socketMode ->
                  listOf(DISABLED, STANDARD).map { tlsExtensionMode ->
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/configurations/DocsTest.kt

        testJava: JvmCategory,
        testTypes: List<DocsTestType>
    ) : Project({
        id(asDocsTestId(model, os))
        name = "Docs Test - ${testJava.version.name.toCapitalized()} ${os.asName()}"
    }) {
        val docsTests: List<BaseGradleBuildType>
    
        init {
            docsTests = testTypes.flatMap {
                listOf(
                    DocsTest(model, stage, os, testJava, 1, it, INCLUDE, listOf("org.gradle.docs.samples.Bucket1SnippetsTest=docsTest")),
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Sep 25 07:23:49 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt

        companion object {
            private
            val EXPECTED_PACKAGE_LIST = listOf(
                "com/acme",
                "com/foo/internal",
                "javax/servlet/http",
                "org/gradle/fileevents"
            )
    
            private
            val DEFAULT_EXCLUDES_FOR_TEST = listOf(
                "org/gradle",
                "java",
                "javax/xml",
                "javax/inject",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 19:14:16 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/configurations/FlakyTestQuarantine.kt

        }
    
        testsWithOs.forEachIndexed { index, testCoverage ->
            val extraParameters = functionalTestExtraParameters(listOf("FlakyTestQuarantine"), os, arch, testCoverage.testJvmVersion.major.toString(), testCoverage.vendor.name)
            val parameters = (
                buildToolGradleParameters(true) +
                    listOf(
                        "-PflakyTests=only",
                        "-x", ":docs:platformTest",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/RouteFailureTest.kt

        enableProtocol(Protocol.HTTP_2)
    
        val request = Request(server1.url("/"))
    
        server1.enqueue(refusedStream)
        server2.enqueue(bodyResponse)
    
        dns[server1.hostName] = listOf(ipv6, ipv4)
        socketFactory[ipv6] = server1.inetSocketAddress
        socketFactory[ipv4] = server2.inetSocketAddress
    
        client =
          client.newBuilder()
            .fastFallback(false)
            .apply {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue May 14 17:48:07 UTC 2024
    - 11.9K 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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top