- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for MapOf (0.02 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/HeadersTest.kt
@Test fun ofMapThrowsOnEmptyName() { assertFailsWith<IllegalArgumentException> { mapOf("" to "OkHttp").toHeaders() } } @Test fun ofMapThrowsOnBlankName() { assertFailsWith<IllegalArgumentException> { mapOf(" " to "OkHttp").toHeaders() } } @Test fun ofMapAcceptsEmptyValue() { val headers = mapOf("User-Agent" to "").toHeaders() assertThat(headers.value(0)).isEqualTo("") }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.7K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/DistributionTest.kt
include("**/*.pom") include("**/*.xml") include("**/*.module") } override fun asArguments() = if (!localRepo.isEmpty) mapOf("integTest.localRepository" to localRepo.singleFile).asSystemPropertyJvmArguments() else emptyList() @Internal override fun getName() = "libsRepository" }
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Aug 18 18:02:41 UTC 2025 - 7.7K bytes - Viewed (0) -
regression-test/build.gradle.kts
// Make sure to use the AndroidJUnitRunner (or a sub-class) in order to hook in the JUnit 5 Test Builder testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunnerArguments += mapOf( "notClass" to "org.conscrypt.KitKatPlatformOpenSSLSocketImplAdapter,org.bouncycastle.pqc.crypto.qtesla.QTeslaKeyEncodingTests" ) } compileOptions { targetCompatibility(JavaVersion.VERSION_11)Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Mar 17 15:11:24 UTC 2025 - 1.6K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PrimitiveKotlinTypeStrings.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.kotlin.dsl.internal.sharedruntime.codegen val primitiveTypeStrings = mapOf( "java.lang.Object" to "Any", "java.lang.String" to "String", "java.lang.Character" to "Char", "char" to "Char", "java.lang.Boolean" to "Boolean", "boolean" to "Boolean",Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Sep 19 08:18:50 UTC 2025 - 1.4K bytes - Viewed (0) -
build-logic/jvm/src/main/kotlin/gradlebuild/jvm/argumentproviders/CiEnvironmentProvider.kt
override fun asArguments(): Iterable<String> { return if (BuildEnvironment.isCiServer) { getRepoMirrorSystemProperties() + getToolchainInstallationPathsProperty() + mapOf( "org.gradle.test.maxParallelForks" to test.maxParallelForks, "org.gradle.ci.agentCount" to 2, "org.gradle.ci.agentNum" to BuildEnvironment.agentNumRegistered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Aug 19 10:37:27 UTC 2025 - 2.5K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/kotlindsl/kotlin-compiler-configuration.kt
CommonConfigurationKeys.LANGUAGE_VERSION_SETTINGS, LanguageVersionSettingsImpl( languageVersion = LanguageVersion.KOTLIN_2_2, apiVersion = ApiVersion.KOTLIN_2_2, analysisFlags = mapOf( JvmAnalysisFlags.javaTypeEnhancementState to JavaTypeEnhancementState( Jsr305Settings(ReportLevel.STRICT, ReportLevel.STRICT) ) { ReportLevel.STRICT }, )Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Jul 08 12:31:49 UTC 2025 - 2.6K bytes - Viewed (0) -
android-test/build.gradle.kts
// Make sure to use the AndroidJUnitRunner (or a sub-class) in order to hook in the JUnit 5 Test Builder testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunnerArguments += mapOf( "runnerBuilder" to "de.mannodermaus.junit5.AndroidJUnit5Builder", "notPackage" to "org.bouncycastle", "configurationParameters" to "junit.jupiter.extensions.autodetection.enabled=true" ) }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Nov 21 12:33:41 UTC 2025 - 3.9K bytes - Viewed (2) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-jar.gradle.kts
tasks.withType<Jar>().configureEach { archiveBaseName = gradleModule.identity.baseName archiveVersion = gradleModule.identity.version.map { it.baseVersion.version } manifest.attributes( mapOf( Attributes.Name.IMPLEMENTATION_TITLE.toString() to "Gradle", Attributes.Name.IMPLEMENTATION_VERSION.toString() to gradleModule.identity.version.map { it.baseVersion.version } )
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri May 16 18:26:52 UTC 2025 - 4.4K bytes - Viewed (0) -
build-logic-commons/publishing/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle.gradle.kts
destinationFile = futurePluginVersionsPropertiesFile } val futurePluginVersionsDestDir = futurePluginVersionsPropertiesFile.map { it.asFile.parentFile } sourceSets.main { output.dir(mapOf("builtBy" to writeFuturePluginVersions), futurePluginVersionsDestDir) } configurations.runtimeElements { outgoing { variants.named("resources") { artifact(futurePluginVersionsDestDir) {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Jul 02 12:28:02 UTC 2025 - 6.1K bytes - Viewed (0) -
okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt
url: HttpUrl, cookies: List<Cookie>, ) { val cookieStrings = mutableListOf<String>() for (cookie in cookies) { cookieStrings.add(cookieToString(cookie, true)) } val multimap = mapOf("Set-Cookie" to cookieStrings) try { cookieHandler.put(url.toUri(), multimap) } catch (e: IOException) { Platform.get().log("Saving cookies failed for " + url.resolve("/...")!!, WARN, e) } }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 3.8K bytes - Viewed (0)