- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 21 for failureDescriptionStartsWith (0.4 sec)
-
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaToolchainBuildOperationsIntegrationTest.groovy
public class Foo extends Oops {} """ when: withInstallations(jdkMetadata).fails(task) def events = toolchainEvents(task) then: failureDescriptionStartsWith("Execution failed for task '${task}'.") failureHasCause("Compilation failed; see the compiler error output for details.") result.assertHasErrorOutput("Foo.java:2: error: cannot find symbol")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 06:42:07 UTC 2024 - 28.7K bytes - Viewed (0) -
platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/DeployedPortalIntegrationSpec.groovy
plugins { id "org.gradle.non-existing" version "1.0" } """ then: fails("dependencies") and: failureDescriptionStartsWith("Plugin [id: 'org.gradle.non-existing', version: '1.0'] was not found in any of the following sources:") failureDescriptionContains("""
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 7.5K bytes - Viewed (0) -
platforms/core-configuration/flow-services/src/integTest/groovy/org/gradle/internal/flow/services/FlowScopeIntegrationTest.groovy
failureHasCause "Cannot access the value of 'BuildWorkResult' before it becomes available!" if (GradleContextualExecuter.configCache) { failureDescriptionStartsWith "Configuration cache problems found in this build" } } enum ScriptTarget { SETTINGS, PROJECT; String getFileName() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 15:01:34 UTC 2024 - 9.2K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileToolchainIntegrationTest.groovy
} when: withInstallations(currentJdk, otherJdk).runAndFail(":compileJava") then: failureDescriptionStartsWith("Execution failed for task ':compileJava'.") failureHasCause("Toolchain from `${errorFor}` property on `ForkOptions` does not match toolchain from `javaCompiler` property") where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 10:21:26 UTC 2024 - 23.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheEncryptionIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 13K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildIntegrationTest.groovy
input = file("input.txt") output = file("build/output.txt") } """ when: fails "customTask" then: failureDescriptionStartsWith("Some problems were found with the configuration of task ':customTask' (type 'CustomTask').") failureDescriptionContains(implementationUnknown { implementationOfTask(':customTask')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 36.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentMetadataRulesIntegrationTest.groovy
void doSomething(String s) { } } """ when: fails "resolve" then: fails 'resolveConf' failureDescriptionStartsWith("A problem occurred evaluating root project") failure.assertHasCause("""Type BadRuleSource is not a valid rule source:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 18.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/LambdaInputsIntegrationTest.groovy
} """ buildFile.makeOlder() when: fails 'myTask' then: executedAndNotSkipped(':myTask') failureDescriptionStartsWith("A problem was found with the configuration of task ':myTask' (type 'TaskWithConsumerProperty').") failureDescriptionContains(implementationUnknown { nestedProperty('consumer')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 09:08:49 UTC 2023 - 18.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyManagementResultsAsInputsIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 19:04:04 UTC 2024 - 26.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy
failure.assertHasCause(cause) } protected void failureHasCause(Pattern pattern) { failure.assertThatCause(matchesRegexp(pattern)) } protected void failureDescriptionStartsWith(String description) { failure.assertThatDescription(containsNormalizedString(description)) } protected void failureDescriptionContains(String description) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:07:53 UTC 2024 - 32.9K bytes - Viewed (0)