Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for assertTasksSkipped (0.7 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. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheScriptTaskDefinitionIntegrationTest.groovy

            then:
            result.assertTasksExecutedAndNotSkipped(":a")
            outputFile.assertIsFile()
    
            when:
            configurationCacheRun "a"
    
            then:
            result.assertTasksSkipped(":a")
    
            when:
            outputFile.delete()
            configurationCacheRun "a"
    
            then:
            result.assertTasksExecutedAndNotSkipped(":a")
            outputFile.assertIsFile()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/InProcessGradleExecuter.java

            @Override
            public ExecutionResult assertTasksSkipped(Object... taskPaths) {
                Set<String> expected = new TreeSet<>(flattenTaskPaths(taskPaths));
                assertThat(skippedTasks, equalTo(expected));
                outputResult.assertTasksSkipped(expected);
                return this;
            }
    
            @Override
            public ExecutionResult assertTaskSkipped(String taskPath) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheJavaIntegrationTest.groovy

            this.result.assertTasksExecuted(":compileJava", ":processResources", ":classes", ":jar", ":compileTestJava", ":processTestResources", ":testClasses", ":test", ":assemble", ":check", ":build")
            result.assertTasksSkipped(":processResources", ":processTestResources")
            classFile.isFile()
            testClassFile.isFile()
            testResults.isDirectory()
            assertTestsExecuted("ThingTest", "ok")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy

        protected void noneSkipped() {
            assertHasResult()
            result.assertTasksSkipped()
        }
    
        protected void allSkipped() {
            assertHasResult()
            result.assertTasksNotSkipped()
        }
    
        protected void skipped(String... tasks) {
            assertHasResult()
            tasks.each {
                result.assertTaskSkipped(it)
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDependencyResolutionIntegrationTest.groovy

            result.assertTaskOrder(":a:producer", ":resolve")
            result.assertTaskOrder(":b:producer", ":resolve")
            result.assertTaskSkipped(":additionalFile")
            result.assertTaskSkipped(":a:producer")
            result.assertTaskSkipped(":b:producer")
            outputContains("result = [a.thing, b.thing, a.out, b.out, lib1-6500.jar]")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top