Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for useJUnitPlatform (0.23 sec)

  1. mockwebserver-junit5/build.gradle.kts

      id("binary-compatibility-validator")
    }
    
    tasks {
      jar {
        manifest {
          attributes("Automatic-Module-Name" to "mockwebserver3.junit5")
        }
      }
      test {
        useJUnitPlatform()
        systemProperty("junit.jupiter.extensions.autodetection.enabled", "true")
      }
    }
    
    dependencies {
      api(projects.mockwebserver3)
      api(libs.junit.jupiter.api)
      compileOnly(libs.animalsniffer.annotations)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Jan 04 05:32:07 GMT 2024
    - 833 bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/build.gradle.kts

                )
            )
            freeCompilerArgs.add("-Xcontext-receivers")
        }
    }
    
    
    projectTest(jUnitMode = JUnitMode.JUnit5) {
        dependsOn(":dist")
        workingDir = rootDir
        useJUnitPlatform()
    }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Mar 28 16:10:07 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  3. build-logic/integration-testing/src/main/kotlin/gradlebuild.cross-version-tests.gradle.kts

                this.setSystemPropertiesOfTestJVM("latest")
                this.systemProperties["org.gradle.integtest.crossVersion"] = "true"
    
                // We should always be using JUnitPlatform at this point, so don't call useJUnitPlatform(), else this will
                // discard existing options configuration and add a deprecation warning.  Just set the existing options.
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  4. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.groovy-dsl-gradle-plugin.gradle.kts

            //allow ProjectBuilder to inject legacy types into the system classloader
            jvmArgs("--add-opens", "java.base/java.lang=ALL-UNNAMED")
            jvmArgs("--illegal-access=deny")
        }
        useJUnitPlatform()
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Oct 03 15:32:00 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  5. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.kotlin-dsl-gradle-plugin.gradle.kts

    }
    
    tasks.named("codeQuality") {
        dependsOn("ktlintCheck")
    }
    
    tasks.validatePlugins {
        failOnWarning = true
        enableStricterValidation = true
    }
    
    tasks.withType<Test>().configureEach {
        useJUnitPlatform()
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Oct 03 15:32:00 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  6. container-tests/build.gradle.kts

    plugins {
      kotlin("jvm")
    }
    
    val platform = System.getProperty("okhttp.platform", "jdk9")
    val testJavaVersion = System.getProperty("test.java.version", "21").toInt()
    
    tasks.withType<Test> {
      useJUnitPlatform()
      onlyIf("By default not in CI") {
        System.getenv("CI") == null
          || (project.hasProperty("containerTests") && project.property("containerTests").toString().toBoolean())
      }
    
      jvmArgs(
        "-Dokhttp.platform=$platform",
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Mar 17 14:46:34 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/build.gradle.kts

            projectDefault()
            generatedTestDir()
        }
    }
    
    optInToUnsafeDuringIrConstructionAPI()
    
    projectTest(jUnitMode = JUnitMode.JUnit5) {
        dependsOn(":dist")
        workingDir = rootDir
        useJUnitPlatform()
    }.also { confugureFirPluginAnnotationsDependency(it) }
    
    testsJar()
    
    allprojects {
        tasks.withType<KotlinJvmCompile>().configureEach {
            compilerOptions.optIn.addAll(
                listOf(
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 05 16:42:25 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  8. build.gradle.kts

      dependencies {
        testRuntimeOnly(rootProject.libs.junit.jupiter.engine)
        testRuntimeOnly(rootProject.libs.junit.vintage.engine)
      }
    
      tasks.withType<Test> {
        useJUnitPlatform()
        jvmArgs(
          "-Dokhttp.platform=$platform",
        )
    
        if (platform == "loom") {
          jvmArgs(
            "-Djdk.tracePinnedThreads=short",
          )
        }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 18 01:32:42 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  9. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

                                    parentFile.mkdirs()
                                    createNewFile()
                                }
                            }
                        }
                        useJUnitPlatform()
                    }
                }
    
                project(":failed-report-with-leftover") {
                    registerTestWithLeftover()
                }
                project(":successful-report") {
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Jun 14 12:35:52 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  10. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

                }
                doFirst {
                    logger.lifecycle("maxParallelForks for '$path' is $maxParallelForks")
                }
            }
    
            useJUnitPlatform()
            configureSpock()
            configureFlakyTest()
    
            extensions.findByType<TestDistributionExtension>()?.apply {
                this as TestDistributionExtensionInternal
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Wed Jan 17 13:36:27 GMT 2024
    - 15.7K bytes
    - Viewed (0)
Back to top