- Sort Score
- Result 10 results
- Languages All
Results 51 - 58 of 58 for failureCauseContains (0.29 sec)
-
subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/DependencyInsightReportVariantDetailsIntegrationTest.groovy
configuration = configurations.compileClasspath } """ when: fails "a:insight" then: failureCauseContains("The configuration 'compileClasspath' is not mutable. In order to use the '--all-variants' option, the configuration must not be resolved before this task is executed.") } def "shows published variant details"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 13 19:52:38 UTC 2024 - 23.3K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaToolchainBuildOperationsIntegrationTest.groovy
when: withInstallations(jdkMetadata).fails(task) def events = toolchainEvents(task) then: failureDescriptionStartsWith("Execution failed for task '${task}'.") failureCauseContains("Javadoc generation failed") assertToolchainUsages(events, jdkMetadata, "JavadocTool") } def "ignores toolchain usages at configuration time"() {
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/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsAccessFromGroovyDslIntegrationTest.groovy
projectsConfigured(":", ":a") problem("Build file 'build.gradle': line $line: Project ':' cannot access the tasks in the task graph that were created by other projects") failureCauseContains("Project ':' cannot access the tasks in the task graph that were created by other projects; tried to access ':x:unknown'") } where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 32.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy
buildFile << """ task test { inputs.properties(input: 1).properties(input2: 2) } """ expect: fails "test" failureCauseContains "Chaining of the TaskInputs.properties(Map) method is not supported since Gradle 5.0." } def "task depends on other task whose outputs are its inputs"() { buildFile << """ task a {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 36.3K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy
} protected void failureDescriptionContains(String description) { failure.assertThatDescription(containsNormalizedString(description)) } protected void failureCauseContains(String description) { failure.assertThatCause(containsNormalizedString(description)) } protected Matcher<String> containsNormalizedString(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) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/TomlDependenciesExtensionIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 33K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformBuildOperationIntegrationTest.groovy
} } """ when: runAndFail ":consumer:resolve" then: failureCauseContains("failed making green: producer.jar") outputContains("Task-only execution plan: [PlannedTask('Task :producer:producer', deps=[]), PlannedTask('Task :consumer:resolve', deps=[Task :producer:producer])]")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 12 16:27:38 UTC 2024 - 67.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/services/BuildServiceIntegrationTest.groovy
Hello, subproject1 """ outputContains """ > Task :subproject2:hello FAILED """ failureDescriptionContains("Execution failed for task ':subproject2:hello'.") failureCauseContains("assert MyService == myService.type") } def "service provided by a plugin can be shared by subprojects with different classloaders when using by-type service references"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 19:15:46 UTC 2024 - 61K bytes - Viewed (0)