Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 50 for testClassesDirs (0.29 sec)

  1. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/api/plugins/JavaPluginTest.groovy

            task.classpath.files == project.sourceSets.test.runtimeClasspath.files
            task.testClassesDirs.contains(project.sourceSets.test.java.destinationDirectory.get().asFile)
            task.workingDir == project.projectDir
        }
    
        def "applies mappings to tasks added by the build script"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/TestTest.groovy

            test.setClasspath(classpathMock)
        }
    
        def 'fails if custom executable does not exist'() {
            def task = project.tasks.create("test", Test)
            task.testClassesDirs = TestFiles.fixed(new File("tmp"))
            task.binaryResultsDirectory.fileValue(new File("out"))
            def invalidExecutable = temporaryFolder.file("invalidExecutable")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  3. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

            description = "Runs ${testType.prefix} with $executer executer"
            systemProperties["org.gradle.integtest.executer"] = executer
            addDebugProperties()
            testClassesDirs = sourceSet.output.classesDirs
            classpath = sourceSet.runtimeClasspath
            extraConfig.execute(this)
            if (integTest.usesJavadocCodeSnippets.get()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 23:14:25 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/TestLauncherSpec.groovy

                    }
                }
    
                task secondTest(type:Test) {
                    classpath = sourceSets.moreTests.runtimeClasspath
                    ${separateClassesDirs(targetVersion) ? "testClassesDirs" : "testClassesDir"} = sourceSets.moreTests.output.${separateClassesDirs(targetVersion) ? "classesDirs" : "classesDir"}
                }
    
                build.dependsOn secondTest
            """
            addDefaultTests()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:42:44 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r26/TestLauncherCrossVersionSpec.groovy

                    }
                }
    
                task secondTest(type:Test) {
                    classpath = sourceSets.moreTests.runtimeClasspath
                    ${separateClassesDirs(targetVersion) ? "testClassesDirs" : "testClassesDir"} = sourceSets.moreTests.output.${separateClassesDirs(targetVersion) ? "classesDirs" : "classesDir"}
                }
    
                build.dependsOn secondTest
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc

    By default, when applying the link:java_plugin.html[`java`] plugin, the `testClassesDirs`and `classpath` of all `Test` tasks have the same convention.
    Unless otherwise changed, the default behavior is to execute the tests from the default `test` link:jvm_test_suite_plugin.html[`TestSuite`] by configuring the task with the `classpath` and `testClassesDirs` from the `test` suite.
    This behavior will be removed in Gradle 9.0.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 17:01:07 UTC 2024
    - 90.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/ProjectSchemaAccessorsIntegrationTest.kt

                tasks {
                    val integTest by registering(Test::class) {
                        description = "Runs the integration tests."
                        group = "verification"
                        testClassesDirs = sourceSets["integTest"].output.classesDirs
                        classpath = sourceSets["integTest"].runtimeClasspath
                        mustRunAfter(project.tasks.test)
                    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 11:39:00 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  8. platforms/documentation/docs/build.gradle

        jvmArgumentProviders.add(installationEnvProvider)
    
        // For unknown reason, this is set to 'sourceSet.getRuntimeClasspath()' in the 'org.gradle.samples' plugin
        testClassesDirs = sourceSets.docsTest.output.classesDirs
        // 'integTest.samplesdir' is set to an absolute path by the 'org.gradle.samples' plugin
        systemProperties.clear()
    
        filter {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 15:37:11 UTC 2024
    - 42K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_4.adoc

     * The `classesDir` property has been removed from both the _JDepend_ task and link:{groovyDslPath}/org.gradle.api.tasks.SourceSetOutput.html[SourceSetOutput]. Use the _JDepend.classesDirs_ and link:{groovyDslPath}/org.gradle.a...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 03:01:48 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/jvm/java_testing.adoc

    include::sample[dir="snippets/java/basic/groovy",files="build.gradle[tags=integ-test-task]"]
    ====
    
    Again, we're accessing a source set to get the relevant information, i.e. where the compiled test classes are — the `testClassesDirs` property — and what needs to be on the classpath when running them — `classpath`.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 16:24:12 UTC 2024
    - 53.1K bytes
    - Viewed (0)
Back to top