- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 55 for failureHasCause (0.15 sec)
-
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorErrorHandlingIntegrationTest.groovy
} """.stripIndent() when: fails("runInWorker") then: failureHasCause("A failure occurred while executing ${workAction.packageName}.${workAction.name}") failureHasCause("Could not isolate value ") failureHasCause("Could not serialize value of type FooWithUnserializableBar") and: executedAndNotSkipped(":runAgainInWorker")
Registered: 2024-06-12 18:38 - Last Modified: 2023-09-22 09:36 - 14.1K bytes - Viewed (0) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParallelIntegrationTest.groovy
and: failureHasCause("Multiple task action failures occurred") and: failureHasCause("A failure occurred while executing ${failingWorkAction.name}") failureHasCause("Failure from workItem1") and: failureHasCause("A failure occurred while executing ${failingWorkAction.name}") failureHasCause("Failure from workItem2") where:
Registered: 2024-06-12 18:38 - Last Modified: 2023-10-24 06:54 - 31.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CacheTaskArchiveErrorIntegrationTest.groovy
file('build/output/output.txt').text = file('input.txt').text } } """ then: fails "customTask" failureHasCause(~/Failed to store cache entry $CACHE_KEY_PATTERN for task ':customTask': Could not pack tree 'output': Expected '${escapeString(file('build/output'))}' to be a file/) errorOutput =~ /Could not pack tree 'output'/
Registered: 2024-06-12 18:38 - Last Modified: 2024-04-03 15:21 - 9.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentMetadataRulesErrorHandlingIntegrationTest.groovy
failure.assertHasFileName("Build file '$buildFile.path'") failure.assertHasLineNumber(lines + 3) failureHasCause("The closure provided is not valid as a rule for 'ComponentMetadataHandler'.") failureHasCause(message) where: parameters | message
Registered: 2024-06-12 18:38 - Last Modified: 2023-10-10 21:10 - 7.2K bytes - Viewed (0) -
platforms/core-runtime/build-configuration/src/integTest/groovy/org/gradle/interal/buildconfiguration/tasks/UpdateDaemonJvmIntegrationTest.groovy
fails "updateDaemonJvm", "--jvm-version=$invalidVersion" then: failureDescriptionContains("Problem configuring option 'jvm-version' on task ':updateDaemonJvm' from command line.") failureHasCause("Could not determine Java version from '${invalidVersion}'") where: invalidVersion << ["0", "-10", 'asdf'] }
Registered: 2024-06-12 18:38 - Last Modified: 2024-04-25 13:41 - 8.5K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/execution/ExceptionAttributionIntegrationTest.groovy
failure.assertHasFileName("Build file '$buildFile'") failure.assertHasLineNumber(4) failure.assertHasFailure("Execution failed for task ':broken'.") { failureHasCause("broken") } } } def "blames build script for an exception thrown when applying a plugin"() { file("buildSrc/src/main/groovy/PluginImpl.groovy") << """
Registered: 2024-06-12 18:38 - Last Modified: 2023-01-07 06:23 - 3.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyDynamicRevisionResolveIntegrationTest.groovy
when: repositoryInteractions { 'org.test:projectA' { expectVersionListing() } } runAndFail 'checkDeps' then: failureHasCause 'Could not find any matches for org.test:projectA:latest.integration as no versions of org.test:projectA are available.' when: resetExpectations() repository { 'org.test:projectA' {
Registered: 2024-06-12 18:38 - Last Modified: 2023-10-10 21:10 - 18.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyHttpRepoResolveIntegrationTest.groovy
module1.ivy.expectGetBlocking() then: fails 'checkDeps' failureHasCause("Could not resolve group:projectA:1.0") failureHasCause("Could not GET '$repo1.uri/group/projectA/1.0/ivy-1.0.xml'") failureHasCause('Read timed out') when: server.resetExpectations() module1.ivy.expectGetMissing()
Registered: 2024-06-12 18:38 - Last Modified: 2023-10-10 21:10 - 7.3K bytes - Viewed (0) -
platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/JavaIncompatiblePluginsIntegrationTest.groovy
Registered: 2024-06-12 18:38 - Last Modified: 2023-09-28 12:15 - 1.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/ComponentSelectionRulesErrorHandlingIntegTest.groovy
failure.assertHasFileName("Build file '$buildFile.path'") failure.assertHasLineNumber(lines + 9) failureHasCause("The closure provided is not valid as a rule for 'ComponentSelectionRules'.") failureHasCause(message) where: parameters | message
Registered: 2024-06-12 18:38 - Last Modified: 2023-10-10 21:10 - 12.2K bytes - Viewed (0)