Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 825 for TASK (0.15 sec)

  1. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FilePropertyLifecycleIntegrationTest.groovy

            outputContains("set failed: The value for task ':producer' property 'output' is final and cannot be changed any further.")
            output.count("prop = " + file("build/text.out")) == 1
        }
    
        @ToBeFixedForConfigurationCache(because = "https://github.com/gradle/gradle/issues/25513")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 22.6K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/ProducerTaskCommandLineOrderIntegrationTest.groovy

            def cleanFooLocal = foo.task('cleanFooLocalState').destroys('build/foo-local')
            def generateFoo = foo.task('generateFoo').outputs('build/foo').localState('build/foo-local')
            def generateBar = bar.task('generateBar').outputs('build/bar').dependsOn(generateFoo)
            def generate = rootBuild.task('generate').dependsOn(generateBar).dependsOn(generateFoo)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:34 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/FinalizerTaskIntegrationTest.groovy

        def "circular dependency detected with complex finalizedBy cycle in the graph"() {
            buildFile """
                task a
                task b
                task c
                task d
                task e
                task f
    
                a.dependsOn b
                b.dependsOn c
                b.finalizedBy d
                d.dependsOn f
                e.dependsOn d
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/TaskContainerDslIntegrationTest.kt

            testTaskContainerVia(
                "api",
                script = """
    
                val t1: Task = tasks.getByName("foo")
                val t2: Task = tasks.getByName("foo", Task::class)
                val t3: Task = tasks.getByName<Task>("foo")
    
                val t4: Task = tasks.getByName("bar") {
                    description += "A"
                }
                val t5: Copy = tasks.getByName("bar", Copy::class) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:27 UTC 2023
    - 15K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r27/TestLauncherCrossVersionSpec.groovy

            assertTestExecuted(className: "example.MyTest", methodName: "foo", task: ":secondTest")
            events.tests.size() == (supportsEfficientClassFiltering() ? 8 : 12)
    
            assertTestNotExecuted(className: "example.MyTest", methodName: "foo2", task: ":secondTest")
            assertTestNotExecuted(className: "example.MyTest", methodName: "foo2", task: ":test")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskErrorExecutionIntegrationTest.groovy

                import org.gradle.api.DefaultTask;
                import org.gradle.api.Task;
    
                public class BrokenTask extends DefaultTask {
                    public BrokenTask() {
                        doFirst(new Action<Task>() {
                            public void execute(Task task) {
                                throw new RuntimeException("broken action");
                            }
                        });
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                assertHasErrors("Method com.example.Task.getFailOnError(): Is not annotated with @since 2.0.")
                assertHasAccepted(
                    "Method com.example.Task.getFailOnError(): Is not annotated with @Incubating. Reason for accepting this: Upgraded property" to listOf("Method added to public class", "Abstract method has been added to this class"),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIntegrationTest.groovy

            "help"         | ["--task", "help"]
            "help"         | ["--rerun"]
        }
    
        def "can store task selection success/failure for :help --task"() {
            def configurationCache = newConfigurationCacheFixture()
            buildFile.text = """
            task aTask
            """
            when:
            configurationCacheFails "help", "--task", "bTask"
            then:
            failure.assertHasCause("Task 'bTask' not found in root project")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTaskFactoryTest.groovy

            def task = expectTaskCreated(TaskWithOutputDir, new File(testDir, "subdir/output"))
            touch(task.outputDir.getParentFile())
    
            when:
            execute(task)
    
            then:
            def e = thrown WorkValidationException
            validateException(task, e, cannotWriteToDir {
                property('outputDir')
                    .dir(task.outputDir)
                    .ancestorIsNotDirectory(task.outputDir.parentFile)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 38.8K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

          "FINE: Q10000 scheduled after 100 µs: task",
          "FINE: Q10000 starting              : task",
          "FINE: Q10000 run again after  50 µs: task",
          "FINE: Q10000 finished run in   0 µs: task",
          "FINE: Q10000 starting              : task",
          "FINE: Q10000 run again after 150 µs: task",
          "FINE: Q10000 finished run in   0 µs: task",
          "FINE: Q10000 starting              : task",
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top