- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 131 for listOf (2.68 sec)
-
okhttp/src/jvmTest/kotlin/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 Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 13.4K bytes - Viewed (1) -
okhttp/src/jvmTest/kotlin/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.socketAddress socketFactory[ipv4] = server2.socketAddress client = client .newBuilder() .fastFallback(false) .apply {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 11.7K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt
*/ val QUICK_CROSS_VERSION_BUCKETS = listOf( listOf("0.0", "3.0"), // 0.0 <= version < 3.0 listOf("3.0", "4.0"), // 3.0 <= version < 4.0 listOf("4.0", "5.0"), // 4.0 <= version < 5.0 listOf("5.0", "6.0"), // 5.0 <=version < 6.0 listOf("6.0", "7.0"), // 6.0 <=version < 7.0 listOf("7.0", "8.0"), // 7.0 <=version < 8.0 listOf("8.0", "9.0"), // 8.0 <=version < 9.0Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Thu Jul 10 05:08:24 UTC 2025 - 8.2K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt
} val smallElementAggregateFunction: (List<PerformanceTestDuration>) -> List<PerformanceTestDuration> = { it } val buckets: List<List<PerformanceTestDuration>> = splitIntoBuckets( list, toIntFunction, largeElementSplitFunction, smallElementAggregateFunction,Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Thu Jul 10 02:18:03 UTC 2025 - 16.6K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt
socket, socket.inetAddress.hostAddress, socket.port, true, ) as SSLSocket sslSocket.useClientMode = false Platform.get().configureTlsExtensions(sslSocket, null, listOf(Protocol.HTTP_2)) sslSocket.startHandshake() return sslSocket } override fun onStream(stream: Http2Stream) { try { val requestHeaders = stream.takeHeaders() var path: String? = nullRegistered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 6.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
builder = builder.protocols(listOf(Protocol.HTTP_1_1)) builder = builder.connectionSpecs(listOf(ConnectionSpec.MODERN_TLS)) val interceptors: List<Interceptor> = builder.interceptors() builder = builder.addInterceptor(Interceptor { TODO() }) builder = builder.addInterceptor { it: Interceptor.Chain -> TODO() } val networkInterceptors: List<Interceptor> = builder.networkInterceptors()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 46.5K bytes - Viewed (0) -
.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) -
.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) -
.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) -
okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 13K bytes - Viewed (0)