Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 52 for classesDir (0.23 sec)

  1. platforms/documentation/docs/src/snippets/buildCache/integration-tests/kotlin/build.gradle.kts

    }
    
    sourceSets {
        create("integTest")
    }
    
    val taskProvider = tasks.register<Test>("integTest") {
        classpath = sourceSets["integTest"].runtimeClasspath
        testClassesDirs = sourceSets["integTest"].output.classesDirs
    }
    
    val TaskContainer.integTest: TaskProvider<Test> get() = taskProvider // define accessor we would get if 'integTest' was defined in plugin
    
    // tag::integTest[]
    tasks.integTest {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/samples/java/modules-multi-project-with-integration-tests/kotlin/buildSrc/src/main/kotlin/myproject.java-conventions.gradle.kts

    }
    
    val integrationTestTask = tasks.register<Test>("integrationTest") {
        description = "Runs integration tests."
        group = "verification"
        useJUnitPlatform()
    
        testClassesDirs = integrationTest.output.classesDirs
        // Make sure we run the 'Jar' containing the tests (and not just the 'classes' folder) so that test resources are also part of the test module
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/samples/build-organization/gradle-plugin/groovy/greeting-plugin/build.gradle

    configurations[functionalTest.implementationConfigurationName].extendsFrom(configurations.testImplementation)
    
    def functionalTestTask = tasks.register('functionalTest', Test) {
        testClassesDirs = functionalTest.output.classesDirs
        classpath = configurations[functionalTest.runtimeClasspathConfigurationName] + functionalTest.output
    }
    
    tasks.check.configure {
        // Run the functional tests as part of `check`
        dependsOn(functionalTestTask)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. testing/smoke-ide-test/build.gradle.kts

    }
    
    tasks.register<SmokeIdeTest>("smokeIdeTest") {
        group = "Verification"
        maxParallelForks = 1
        systemProperties["org.gradle.integtest.executer"] = "forking"
        testClassesDirs = smokeIdeTestSourceSet.output.classesDirs
        classpath = smokeIdeTestSourceSet.runtimeClasspath
        dependsOn(unzipIdeStarter)
    }
    
    dependencies {
        ideStarter(libs.gradleIdeStarter)
        smokeIdeTestDistributionRuntimeOnly(project(":distributions-full")) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 08 18:13:31 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/buildCache/integration-tests/groovy/build.gradle

    plugins {
        id('java-library')
    }
    
    sourceSets {
        integTest
    }
    
    tasks.register("integTest", Test) {
        classpath = sourceSets.integTest.runtimeClasspath
        testClassesDirs = sourceSets.integTest.output.classesDirs
    }
    
    // tag::integTest[]
    tasks.named('integTest') {
        inputs.property("operatingSystem") {
            System.getProperty("os.name")
        }
    }
    // end::integTest[]
    
    // tag::distributionPathInput[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/JUnit4TestTaskIntegrationTest.groovy

                }
    
                tasks.create('customTest', Test) {
                    classpath = sourceSets.customTest.runtimeClasspath
                    testClassesDirs = sourceSets.customTest.output.classesDirs
                    options {
                        excludeCategories = ["MyTest\\\$Slow"]
                    }
                    $configureTestFramework
                }
            """.stripIndent()
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top