Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 38 for assertTasksSkipped (0.23 sec)

  1. 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)
  2. 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)
  3. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParametersKotlinIntegrationTest.groovy

            then: 'it runs as expected'
            outputContains expectedOutput
    
            when: 'task runs for the 2nd time'
            runWork()
    
            then: 'it is skipped because UP-TO-DATE'
            result.assertTaskSkipped ':runWork'
            outputContains ':runWork UP-TO-DATE'
    
            and:
            outputDoesNotContain expectedOutput
    
            when: 'the outputs are deleted'
            file('build').deleteDir()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 20:22:02 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileTreeIntegrationTest.groovy

            )
    
            when:
            file('files/b/other.txt').createFile() // not an input
            run 'copy'
    
            then:
            result.assertTaskSkipped(':copy')
            file('dest').assertHasDescendants(
                'one.txt',
                'two.txt'
            )
    
            when:
            file('files/a/three.txt').createFile()
            run 'copy'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7K bytes
    - Viewed (0)
  5. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/ConfigurableFileTreeIntegrationTest.groovy

                'b/not one to IGNORE.txt'
            )
    
            when:
            file('files/a/more-ignore.txt').createFile() // not an input
            run 'copy'
    
            then:
            result.assertTaskSkipped(':copy')
            file('dest').assertHasDescendants(
                'one.txt',
                'a/one.txt',
                'b/not one to IGNORE.txt'
            )
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  6. 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)
  7. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/fixtures/StaleOutputJavaProject.groovy

            result.assertTaskNotSkipped(getJarTaskPath())
        }
    
        void assertBuildTasksSkipped(ExecutionResult result) {
            result.assertTaskSkipped(getCompileTaskPath())
            result.assertTaskSkipped(getJarTaskPath())
        }
    
        boolean assertJarHasDescendants(String... relativePaths) {
            new JarTestFixture(jarFile).hasDescendants(relativePaths)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/state/UpToDateIntegTest.groovy

        }
    }
    '''
    
            expect:
            succeeds("checkCreated")
            succeeds("checkCreated")
            result.assertTaskSkipped(":createEmpty")
    
            succeeds("clean", "checkCreated")
            result.assertTaskNotSkipped(":createEmpty")
    
            succeeds("checkCreated")
            result.assertTaskSkipped(":createEmpty")
        }
    
        @Issue("https://github.com/gradle/gradle/issues/13554")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 13 12:00:09 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top