Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for assertTasksSkipped (0.34 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildSymlinkHandlingIntegrationTest.groovy

            given:
            run("work")
            run("work")
            result.assertTasksSkipped(":work")
    
            when:
            inFile.text = 'new content'
            run("work")
    
            then:
            result.assertTasksNotSkipped(":work")
    
            when:
            run("work")
    
            then:
            result.assertTasksSkipped(":work")
        }
    
        def "uses the target of symlink for input directory content"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 14:30:36 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/resource/TextResourceIntegrationTest.groovy

            then:
            result.assertTasksExecuted(":stringText")
            file("output.txt").text == "my config"
    
            when:
            run("stringText")
    
            then:
            result.assertTasksSkipped(":stringText")
        }
    
        @ToBeFixedForConfigurationCache(skip = INVESTIGATE)
        def "file backed text resource"() {
            when:
            run("generateConfigFile")
            run("fileText")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ErrorsOnStdoutScrapingExecutionResult.java

            return this;
        }
    
        @Override
        public ExecutionResult assertTasksSkipped(Object... taskPaths) {
            delegate.assertTasksSkipped(taskPaths);
            return this;
        }
    
        @Override
        public ExecutionResult assertTaskSkipped(String taskPath) {
            delegate.assertTasksSkipped(taskPath);
            return this;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/file/TaskFilePropertiesIntegrationTest.groovy

            when:
            run("transform")
    
            then:
            result.assertTasksSkipped(":transform")
    
            when:
            file("file1.txt").text = "321"
            run("transform")
    
            then:
            result.assertTasksNotSkipped(":transform")
    
            when:
            run("transform")
    
            then:
            result.assertTasksSkipped(":transform")
    
            when:
            file("dir1/file3.txt").text = "new"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/BuildResultLoggerIntegrationTest.groovy

            result.assertHasPostBuildOutput "2 actionable tasks: 2 executed"
    
            when:
            file("build").deleteDir()
            withBuildCache().run "adHocTask", "executedTask"
    
            then:
            result.assertTasksSkipped(":adHocTask")
            result.assertTasksNotSkipped(":executedTask")
            result.assertHasPostBuildOutput "2 actionable tasks: 1 executed, 1 from cache"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ExecutionResult.java

        /**
         * Asserts that exactly the given set of tasks have been skipped.
         */
        ExecutionResult assertTasksSkipped(Object... taskPaths);
    
        /**
         * Asserts the given task has been skipped.
         */
        ExecutionResult assertTaskSkipped(String taskPath);
    
        /**
         * Asserts that exactly the given set of tasks have not been skipped.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. testing/integ-test/src/crossVersionTest/groovy/org/gradle/integtests/TaskUpToDateCrossVersionIntegrationTest.groovy

            version previous withTasks 'compileJava' run() assertTaskSkipped(":compileJava")
    
            version current withTasks 'compileJava' run() assertTaskNotSkipped(":compileJava")
            version current withTasks 'compileJava' run() assertTaskSkipped(":compileJava")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractProjectRelocationIntegrationTest.groovy

            then: "it is UP-TO-DATE"
            result.assertTaskSkipped taskName
    
            when: "it is executed in the new location"
            prepareForRelocation(relocatedDir)
            inDirectory(relocatedDir)
            executer.withJavaHome(relocatedJavaHome)
            withBuildCache().run taskName
            then: "it is loaded from cache"
            result.assertTaskSkipped taskName
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top