Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 36 of 36 for assertTasksSkipped (0.14 sec)

  1. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocCachingIntegrationTest.groovy

            executer.requireOwnGradleUserHomeDir()
            withBuildCache().run "javadoc"
            then:
            taskIsCached()
        }
    
        void taskIsCached() {
            result.assertTaskSkipped(":javadoc")
            file("build/docs/javadoc/index.html").assertExists()
        }
    
        void taskIsNotCached() {
            result.assertTaskNotSkipped(":javadoc")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. 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)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractIncrementalTestIntegrationTest.groovy

            outputDoesNotContain("executed Test ${maybeParentheses('test')}(FooTest)")
    
            when:
            succeeds("test", "--tests", "Bar*")
    
            then:
            result.assertTaskSkipped(":test")
        }
    
        def "does not re-run tests when parameter of disabled report changes"() {
            buildFile << """
                test {
                    reports.html {
                        required = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ProcessOutputProviderIntegrationTest.groovy

                }
            """
    
            when:
            run("-q", ":printScriptOutput")
            def result = run(":printScriptOutput")
    
            then:
            result.assertTaskSkipped(":printScriptOutput")
        }
    
        def "task with providers.exec provider input is not up to date if script output changes"() {
            given:
            def testScriptName = "script"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8K bytes
    - Viewed (0)
  5. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoPluginMultiVersionIntegrationTest.groovy

        }
    
        def "jacoco test report is skipped if no coverage data available"() {
            when:
            def executionResult = succeeds('jacocoTestReport')
            then:
            executionResult.assertTaskSkipped(':jacocoTestReport')
        }
    
        def "can use coverage data from previous run for coverage report"() {
            when:
            succeeds('jacocoTestReport')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:19:29 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. 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