Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for assertTasksSkipped (0.22 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTaskWiringIntegrationTest.groovy

            output.text == "22"
    
            when:
            configurationCacheRun(":transformer")
    
            then:
            configurationCache.assertStateLoaded()
            result.assertTasksSkipped(":producer", ":transformer")
        }
    
        def "task input property can consume the flat mapped output of another task"() {
            taskTypeWithInputFileProperty()
            taskTypeWithIntInputProperty()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheFileSystemDefaultExcludesTest.groovy

            then:
            configurationCache.assertStateLoaded()
            result.assertTaskSkipped(":$spec.copyTask")
    
            when:
            spec.mutateExcludedFiles()
    
            and:
            configurationCacheRun spec.copyTask
    
            then:
            configurationCache.assertStateLoaded()
            result.assertTasksSkipped(":$spec.copyTask")
    
            where:
            spec << DefaultExcludesFixture.specs()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/internal/model/ObjectFactoryNamedTypeIntegrationTest.groovy

            then:
            result.assertTaskSkipped(":a")
    
            when:
            executer.withArgument("-Dname=b")
            run("a")
    
            then:
            result.assertTaskNotSkipped(":a")
            file("out.txt").text == "b"
    
            when:
            executer.withArgument("-Dname=b")
            run("a")
    
            then:
            result.assertTaskSkipped(":a")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 05:39:53 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProcessResourcesIntegrationTest.groovy

            configurationCacheRun 'processResources'
    
            then: 'the 2nd time it is loaded from the cache'
            configurationCache.assertStateLoaded()
    
            and: 'the task is up-to-date'
            result.assertTaskSkipped ':processResources'
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheGroovyIntegrationTest.groovy

            configurationCacheRun "clean"
            configurationCacheRun "build"
    
            then:
            configurationCache.assertStateLoaded()
            result.assertTaskExecuted(":compileGroovy")
            result.assertTaskSkipped(":compileGroovy")
        }
    
        def "assemble on Groovy project with sources but no groovy dependency is executed and fails with a reasonable error message"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTaskExecutionIntegrationTest.groovy

                }
            """
    
            when:
            configurationCacheRun("never", "always")
            configurationCacheRun("never", "always")
    
            then:
            result.assertTaskSkipped(":always")
            result.assertTasksNotSkipped(":never")
        }
    
        def "shouldRunAfter doesn't imply dependency"() {
            given:
            buildFile << '''
                task a
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/caching/configuration/internal/BuildCacheCompositeConfigurationIntegrationTest.groovy

            when:
            file("i1/build").forceDeleteDir()
            file("i2/build").forceDeleteDir()
    
            and:
            succeeds "all", "-i"
    
            then:
            result.assertTaskSkipped(':all')
            result.groupedOutput.task(':i1:customTask').outcome == 'FROM-CACHE'
            result.groupedOutput.task(':i2:customTask').outcome == 'FROM-CACHE'
    
            where:
            by << EnabledBy.values()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top