Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for assertTasksSkipped (0.35 sec)

  1. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/AbstractNativeUnitTestIntegrationTest.groovy

            result.assertTasksSkipped(tasksToCompileComponentUnderTest, tasksToBuildAndRunUnitTest, ":test")
    
            when:
            changeTestImplementation()
            succeeds("test")
    
            then:
            result.assertTasksExecuted(tasksToCompileComponentUnderTest, tasksToBuildAndRunUnitTest, ":test")
            result.assertTasksSkipped(tasksToCompileComponentUnderTest + tasksToRelocate)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  2. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/BinariesLifecycleTaskIntegrationTest.groovy

            result.assertTasksExecuted(":assemble")
            result.assertTasksSkipped(":assemble")
        }
    
        def "does not do anything when there are no component binaries" () {
            withStandaloneBinaries("ignoreMe")
    
            when:
            run "assemble"
    
            then:
            result.assertTasksExecuted(":assemble")
            result.assertTasksSkipped(":assemble")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. 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)
  4. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/AbstractCppIntegrationTest.groovy

            expect:
            succeeds "assemble"
            result.assertTasksExecuted(tasksToAssembleDevelopmentBinary, ":assemble")
            // TODO - should skip the task as NO-SOURCE
            result.assertTasksSkipped(tasksToAssembleDevelopmentBinary, ":assemble")
        }
    
        @ToBeFixedForConfigurationCache
        def "build fails when compilation fails"() {
            given:
            makeSingleProject()
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaAnnotationProcessingCompileAvoidanceIntegrationTest.groovy

            succeeds(":b:clean")
            and:
            succeeds(":a:assemble")
    
            then:
            result.assertTasksNotSkipped(":b:compileJava", ":b:processResources", ":b:classes", ":b:jar")
            result.assertTasksSkipped(":a:compileJava", ":a:processResources", ":a:classes", ":a:jar", ":a:assemble")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/AbstractSwiftIntegrationTest.groovy

            expect:
            succeeds "assemble"
            result.assertTasksExecuted(tasksToAssembleDevelopmentBinary, ":assemble")
            // TODO - should skip the task as NO-SOURCE
            result.assertTasksSkipped(tasksToAssembleDevelopmentBinary, ":assemble")
        }
    
        def "build fails when compilation fails"() {
            given:
            makeSingleProject()
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5K 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. platforms/native/language-native/src/integTest/groovy/org/gradle/language/nativeplatform/tasks/AbstractUnexportMainSymbolIntegrationTest.groovy

            succeeds("unexport")
            then:
            result.assertTasksNotSkipped(developmentBinaryCompileTask, ":unexport")
    
            when:
            succeeds("unexport")
            then:
            result.assertTasksSkipped(developmentBinaryCompileTask, ":unexport")
    
            when:
            componentUnderTest.applyChangesToProject(testDirectory)
            succeeds("unexport")
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppIncrementalBuildStaleOutputsIntegrationTest.groovy

            def notSkippedTasks = tasks(":app").debug.allToInstall + [":app:assemble"]
            result.assertTasksExecuted(skippedTasks, notSkippedTasks)
            result.assertTasksNotSkipped(notSkippedTasks)
            result.assertTasksSkipped(skippedTasks)
    
            executable("app/build/exe/main/debug/app").assertDoesNotExist()
            file("app/build/exe/main/debug").assertDoesNotExist()
            file("app/build/obj/main/debug").assertDoesNotExist()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  10. 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)
Back to top