Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 78 for classesDir (0.37 sec)

  1. platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.SourceSetOutput.xml

                    <tr>
                        <td>Name</td>
                        <td>Default with <literal>java</literal> plugin</td>
                    </tr>
                </thead>
                <tr>
                    <td>classesDirs</td>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/java/basic/groovy/build.gradle

    // tag::integ-test-task[]
    tasks.register('integrationTest', Test) {
        description = 'Runs integration tests.'
        group = 'verification'
    
        testClassesDirs = sourceSets.intTest.output.classesDirs
        classpath = sourceSets.intTest.runtimeClasspath
        shouldRunAfter test
    
        useJUnitPlatform()
    
        testLogging {
            events "passed"
        }
    }
    
    check.dependsOn integrationTest
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. build-logic/buildquality/src/main/kotlin/gradlebuild.arch-test.gradle.kts

                    all {
                        testTask.configure {
                            testClassesDirs += sharedArchTestClasses.filter { it.isDirectory }
                            classpath += sourceSets.main.get().output.classesDirs
                            systemProperty("package.cycle.exclude.patterns", packageCyclesExtension.excludePatterns.get().joinToString(","))
                            extensions.findByType<DevelocityTestConfiguration>()?.apply {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:29:44 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-jvm-test-fixtures/src/integTest/groovy/org/gradle/java/fixtures/StandaloneTestFixturesIntegrationTest.groovy

                plugins {
                    id 'java-test-fixtures'
                }
    
                task verify {
                    dependsOn tasks.compileTestFixturesJava
                    def files = sourceSets.testFixtures.output.classesDirs
                    doLast {
                        assert files.singleFile.listFiles()*.name == ['Example.class']
                    }
                }
            """
            file("src/testFixtures/java/Example.java") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 13 11:38:02 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. platforms/jvm/jacoco/src/testFixtures/groovy/org/gradle/testing/jacoco/plugins/fixtures/JavaProjectUnderTest.groovy

                        runtimeClasspath += output + compileClasspath
                    }
                }
    
                task integrationTest(type: Test) {
                    testClassesDirs = sourceSets.integrationTest.output.classesDirs
                    classpath = sourceSets.integrationTest.runtimeClasspath
                }
    
                task jacocoIntegrationTestReport(type: JacocoReport) {
                    executionData integrationTest
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  6. testing/precondition-tester/build.gradle.kts

        }
    }
    
    fun Test.setupPreconditionTesting() {
        // We only want to execute our special tests
        // so we override what classes are going to run
        testClassesDirs = sourceSets.test.get().output.classesDirs
        // All test should have this project's "test" source set on their classpath
        classpath += sourceSets.test.get().output
    
        // These tests should not be impacted by the predictive selection
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 08 04:59:12 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorServicesIntegrationTest.groovy

            buildFile << """
                apply plugin: "java"
    
                task runInWorker(type: WorkerTask) {
                    isolationMode = $isolationMode
                    def classpath = sourceSets.main.output.classesDirs
                    def projectDir = project.projectDir
                    def testFile = project.file("\$buildDir/\$name")
                    additionalParameters = {
                        it.classpath.from(classpath)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestClassDetectionIntegrationTest.groovy

                task othertestsTest(type:Test){
                    ${configureTestFramework}
                    classpath = sourceSets.othertests.runtimeClasspath
                    testClassesDirs = sourceSets.othertests.output.classesDirs
                }
            """.stripIndent()
    
            and:
            file("src/othertests/java/SomeTestClass.java") << """
                ${testFrameworkImports}
                public class SomeTestClass {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.testing.Test.xml

                    </tr>
                </thead>
                <tr>
                    <td>testClassesDirs</td>
                    <td><literal>project.sourceSets.test.output.classesDirs</literal></td>
                </tr>
                <tr>
                    <td>classpath</td>
                    <td><literal>project.sourceSets.test.runtimeClasspath</literal></td>
                </tr>
                <tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/java/basic/kotlin/build.gradle.kts

    // tag::integ-test-task[]
    val integrationTest = task<Test>("integrationTest") {
        description = "Runs integration tests."
        group = "verification"
    
        testClassesDirs = sourceSets["intTest"].output.classesDirs
        classpath = sourceSets["intTest"].runtimeClasspath
        shouldRunAfter("test")
    
        useJUnitPlatform()
    
        testLogging {
            events("passed")
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top