Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for assertTaskNotSkipped (0.2 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/rules/OverlappingOutputsIntegrationTest.groovy

            result.assertTaskNotSkipped(second)
    
            when:
            withBuildCache().run(first)
            then:
            // first overwrites second's output if executed on its own
            sharedOutput.text == "Generated by ${first}"
            // first is not loaded from cache because of overlap
            result.assertTaskNotSkipped(first)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 20:54:14 UTC 2024
    - 30K bytes
    - Viewed (0)
  2. platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceIntegrationTest.groovy

            expect:
            withBuildCache().run "jar" assertTaskNotSkipped ":compileJava" assertTaskNotSkipped ":jar"
    
            when:
            file("src/main/java/Hello.java").text = CHANGED_HELLO_WORLD
            then:
            withBuildCache().run "jar" assertTaskNotSkipped ":compileJava" assertTaskNotSkipped ":jar"
    
            when:
            file("src/main/java/Hello.java").text = ORIGINAL_HELLO_WORLD
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:20 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedCustomTaskExecutionIntegrationTest.groovy

            withBuildCache().run "customTask"
            then:
            result.assertTaskNotSkipped(":customTask")
            file("build/output.txt").text == "input"
    
            when:
            taskSourceFile.text = defineCachedTask(" modified")
    
            cleanBuildDir()
            withBuildCache().run "customTask"
            then:
            result.assertTaskNotSkipped(":customTask")
            file("build/output.txt").text == "input modified"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionIntegrationTest.groovy

            file('dest').assertHasDescendants(
                'one.txt'
            )
    
            when:
            file('files/a/three.txt').createFile()
            run 'copy'
    
            then:
            result.assertTaskNotSkipped(':copy')
            file('dest').assertHasDescendants(
                'one.txt',
                'three.txt'
            )
        }
    
        def "can filter the elements of a file collection using a closure"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 12:54:09 UTC 2024
    - 21K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/userinput/UserInputHandlingIntegrationTest.groovy

            then:
            result.assertTaskNotSkipped(":generate")
            file("build/out.txt").text == "value"
    
            when:
            runWithInput("generate", prompt, "value")
    
            then:
            result.assertTaskSkipped(":generate")
    
            when:
            runWithInput("generate", prompt, "")
    
            then:
            result.assertTaskNotSkipped(":generate")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/InProcessGradleExecuter.java

                outputResult.assertTasksNotSkipped(expected);
                return this;
            }
    
            @Override
            public ExecutionResult assertTaskNotSkipped(String taskPath) {
                assertThat(getNotSkippedTasks(), hasItem(taskPath));
                outputResult.assertTaskNotSkipped(taskPath);
                return this;
            }
    
            private Set<String> getNotSkippedTasks() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy

                }
    
                class Foo {
                    int x
                    String toString() { "xxx" }
                }
            """
    
            expect:
            run("foo").assertTaskNotSkipped(":foo")
            run("foo").assertTaskSkipped(":foo")
        }
    
        @Issue("https://issues.gradle.org/browse/GRADLE-3435")
        def "task is not up-to-date after file moved between input properties"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy

            }
    
            return failure
        }
    
        protected void executedAndNotSkipped(String... tasks) {
            assertHasResult()
            tasks.each {
                result.assertTaskNotSkipped(it)
            }
        }
    
        protected void noneSkipped() {
            assertHasResult()
            result.assertTasksSkipped()
        }
    
        protected void allSkipped() {
            assertHasResult()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 32.9K bytes
    - Viewed (0)
Back to top