Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for assertTaskNotSkipped (0.23 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/swiftpm/SwiftPackageManagerIncrementalExportIntegrationTest.groovy

            then:
            result.assertTaskNotSkipped(":generateSwiftPmManifest")
    
            when:
            run("generateSwiftPmManifest")
    
            then:
            result.assertTaskSkipped(":generateSwiftPmManifest")
    
            when:
            file("app/build.gradle").text = """"""
            run("generateSwiftPmManifest")
    
            then:
            result.assertTaskNotSkipped(":generateSwiftPmManifest")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  2. 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)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskExecutionIntegrationTest.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: Wed Apr 03 15:21:23 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/software/testing-base/src/testFixtures/groovy/org/gradle/testing/AbstractTestFrameworkIntegrationTest.groovy

    
            when:
            run(testTaskName, "--tests", "${testSuite('SomeTest')}.${removeParentheses(passingTestCaseName)}")
    
            then:
            result.assertTaskNotSkipped(":$testTaskName")
            testResult.testClass("SomeTest").assertTestsExecuted(passingTestCaseName)
        }
    
        @ToBeFixedForConfigurationCache(bottomSpecs = "XCTestTestFrameworkIntegrationTest")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionResultTest.groovy

            result.skippedTasks == [":b"] as Set
    
            and:
            result.assertTasksNotSkipped(":a")
            result.assertTasksNotSkipped(":a", ":a", [":a"])
    
            and:
            result.assertTaskNotSkipped(":a")
    
            and:
            result.assertTasksSkipped(":b")
            result.assertTasksSkipped(":b", ":b", [":b"])
    
            and:
            result.assertTaskSkipped(":b")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  10. 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)
Back to top