Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for assertTasksSkipped (0.33 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/tasks/IncrementalBuildIntegrationTest.groovy

            then:
            result.assertTasksSkipped(":a", ":b")
    
            // Remove input file
            when:
            file('src/file2.txt').delete()
            succeeds "b"
    
            then:
            result.assertTasksNotSkipped(":a")
            result.assertTasksSkipped(":b")
    
            when:
            succeeds "b"
    
            then:
            result.assertTasksSkipped(":a", ":b")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  3. platforms/jvm/language-groovy/src/integTest/groovy/org/gradle/groovy/compile/IncrementalGroovyCompileIntegrationTest.groovy

            executer.withTasks('compileGroovy').run().assertTasksSkipped(':compileJava')
    
            file('build.gradle').text += '''
                compileGroovy.options.debug = false
    '''
    
            executer.withTasks('compileGroovy').run().assertTasksSkipped(':compileJava')
    
            executer.withTasks('compileGroovy').run().assertTasksSkipped(':compileJava', ':compileGroovy')
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppIncrementalCompileIntegrationTest.groovy

            result.assertTasksExecuted(tasks.debug.allToLink, ":assemble")
            result.assertTasksSkipped(tasks.debug.allToLink, ":assemble")
    
            sharedLibrary("build/lib/main/debug/hello").assertExists()
    
            succeeds "assembleRelease"
            result.assertTasksExecuted(tasks.release.allToLink, tasks.release.extract, ":assembleRelease")
            result.assertTasksSkipped(tasks.release.allToLink, tasks.release.extract, ":assembleRelease")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. 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)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftIncrementalCppInteroperabilityIntegrationTest.groovy

            then:
            result.assertTasksExecuted(":cppGreeter:compileDebugCpp", ":cppGreeter:linkDebug", ":app:compileDebugSwift", ":app:linkDebug", ":app:installDebug", ":app:assemble")
            result.assertTasksSkipped(":cppGreeter:compileDebugCpp", ":cppGreeter:linkDebug", ":app:compileDebugSwift", ":app:linkDebug", ":app:installDebug", ":app:assemble")
        }
    
        @ToBeFixedForConfigurationCache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  9. 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)
  10. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocWorkAvoidanceIntegrationTest.groovy

                assert oldHash != bJar.md5Hash
            }
    
            then:
            result.assertTasksNotSkipped(":b:compileJava", ":b:processResources", ":b:classes", ":b:jar")
            result.assertTasksSkipped(":a:compileJava", ":a:processResources", ":a:classes", ":a:javadoc")
        }
    
        def "order of upstream jar entries does not matter"() {
            given:
            file("a/build.gradle") << '''
                dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 8.5K bytes
    - Viewed (0)
Back to top