Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 36 for assertTasksSkipped (0.19 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  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/jvm/language-jvm/src/testFixtures/groovy/org/gradle/api/tasks/compile/AbstractCachedCompileIntegrationTest.groovy

            executer.requireOwnGradleUserHomeDir()
            withBuildCache().run compilationTask
            then:
            compileIsCached()
        }
    
        void compileIsCached() {
            result.assertTaskSkipped(compilationTask)
            assert file(compiledFile).exists()
        }
    
        void compileIsNotCached() {
            result.assertTaskNotSkipped(compilationTask)
        }
    
        def populateCache() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. 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)
Back to top