Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for assertTasksSkipped (0.27 sec)

  1. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleKotlinDslIntegrationTest.kt

            )
    
            val taskName = ":writeInputToFile"
    
            build(taskName, "-PinputString=string1").assertTasksExecutedAndNotSkipped(taskName)
    
            build(taskName, "-PinputString=string1").assertTasksSkipped(taskName)
    
            build(taskName, "-PinputString=string2").assertTasksExecutedAndNotSkipped(taskName)
        }
    
        @Test
        @Issue("https://youtrack.jetbrains.com/issue/KT-36297")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 18:26:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileIntegrationTest.groovy

            buildFile << """
                // No plugins applied
                task compile(type: JavaCompile)
            """
    
            when:
            run("compile")
    
            then:
            result.assertTasksSkipped(":compile")
        }
    
        @Issue("GRADLE-3152")
        def "can use the task without applying java-base plugin"() {
            buildFile << """
                task compile(type: JavaCompile) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionIntegrationTest.groovy

            file('dest').assertHasDescendants(
                'one.txt'
            )
    
            when:
            file('files/b/ignore.txt').createFile()
            run 'copy'
    
            then:
            result.assertTaskSkipped(':copy')
            file('dest').assertHasDescendants(
                'one.txt'
            )
    
            when:
            file('files/a/three.txt').createFile()
            run 'copy'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 12:54:09 UTC 2024
    - 21K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/userinput/UserInputHandlingIntegrationTest.groovy

            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")
            file("build/out.txt").text == "<default>"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskExecutionIntegrationTest.groovy

            when:
            file("src/main/java/Hello.java").text = ORIGINAL_HELLO_WORLD
            then:
            withBuildCache().run "jar"
            result.assertTaskSkipped ":compileJava"
        }
    
        def "clean doesn't get cached"() {
            withBuildCache().run "assemble"
            withBuildCache().run "clean"
            withBuildCache().run "assemble"
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyIntegrationTest.groovy

            """
    
            when:
            run("thing")
    
            then:
            output.count("calculating value") == 1
    
            when:
            run("thing")
    
            then:
            result.assertTaskSkipped(":thing")
            output.count("calculating value") == 1
    
            when:
            run("help")
    
            then:
            output.count("calculating value") == 0
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  7. platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceIntegrationTest.groovy

            when:
            file("src/main/java/Hello.java").text = ORIGINAL_HELLO_WORLD
            then:
            withBuildCache().run "jar"
            result.assertTaskSkipped ":compileJava"
        }
    
        def "clean doesn't get cached"() {
            withBuildCache().run "assemble"
            withBuildCache().run "clean"
            withBuildCache().run "assemble"
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:20 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  8. 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"() {
            (1..3).each {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftApplicationIntegrationTest.groovy

            succeeds ":app:assemble"
            result.assertTasksExecuted(":greeter:compileDebugSwift", ":greeter:linkDebug", ":app:compileDebugSwift", ":app:linkDebug", ":app:installDebug", ":app:assemble")
            result.assertTaskSkipped(":app:compileDebugSwift")
            result.assertTasksNotSkipped(":greeter:compileDebugSwift", ":greeter:linkDebug", ":app:linkDebug", ":app:installDebug", ":app:assemble")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 12:43:37 UTC 2024
    - 40.2K bytes
    - Viewed (1)
Back to top