- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 72 for assertTasksSkipped (0.91 sec)
-
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheScriptTaskDefinitionIntegrationTest.groovy
then: result.assertTasksExecutedAndNotSkipped(":a") outputFile.assertIsFile() when: configurationCacheRun "a" then: result.assertTasksSkipped(":a") when: outputFile.delete() configurationCacheRun "a" then: result.assertTasksExecutedAndNotSkipped(":a") outputFile.assertIsFile() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 11.3K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/rules/OverlappingOutputsIntegrationTest.groovy
dirTaskOutput.assertExists() // Both can be from the cache because the dirTask ran first and the fileTask doesn't directly overlap with a file produced by dirTask result.assertTasksSkipped(dirTask, fileTask) } def "overlapping output with fileTask, dirTask then dirTask only"() { def (String fileTask, TestFile fileTaskOutput,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 20:54:14 UTC 2024 - 30K bytes - Viewed (0) -
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) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ArchiveIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 30.2K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppIncrementalBuildIntegrationTest.groovy
appSourceFile.replace("world", "planet") and: run installApp then: result.assertTasksExecuted(libraryDebug.allToLink, appDebug.allToInstall) result.assertTasksSkipped(libraryDebug.allToLink) result.assertTasksNotSkipped(appDebug.allToInstall) and: libObjects.noneRecompiled() appObjects.recompiledFile(appSourceFile)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 40.4K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftLibraryIntegrationTest.groovy
""" expect: succeeds "assemble" result.assertTasksExecuted(":compileDebugSwift", ":linkDebug", ":assemble") // TODO - should skip the task as NO-SOURCE result.assertTasksSkipped(":compileDebugSwift", ":linkDebug", ":assemble") } def "build fails when compilation fails"() { given: buildFile << """ apply plugin: 'swift-library' """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 06 15:17:55 UTC 2024 - 13.1K bytes - Viewed (0)