- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 229 for assertHasDescription (0.63 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/initialization/buildsrc/BuildSrcEventsIntegrationTest.groovy
} """ when: fails() then: outputContains("root build finished") failure.assertHasDescription("buildSrc") failure.assertHasDescription("root build") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 13 02:04:27 UTC 2022 - 3.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/BuildScriptErrorIntegrationTest.groovy
buildFile << """ createTakk('do-stuff') """ when: fails() then: failure.assertHasDescription("A problem occurred evaluating root project 'ProjectError'.") .assertHasCause("Could not find method createTakk() for arguments [do-stuff] on root project 'ProjectError")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 17:01:37 UTC 2024 - 5.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/CollectionPropertyIntegrationTest.groovy
then: failure.assertHasDescription("Execution failed for task ':wrongValueTypeDsl'.") failure.assertHasCause("Cannot set the value of a property of type java.util.List using an instance of type java.lang.Integer.") when: fails("wrongRuntimeElementType") then: failure.assertHasDescription("Execution failed for task ':wrongRuntimeElementType'.")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 12 19:57:00 UTC 2024 - 15K bytes - Viewed (0) -
subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildEventsIntegrationTest.groovy
failure.assertHasFailures(3) failure.assertHasDescription("build A broken") .assertHasFileName("Build file '${buildA.buildFile}'") .assertHasLineNumber(17) failure.assertHasDescription("build B broken") .assertHasFileName("Build file '${buildB.buildFile}'") .assertHasLineNumber(13) failure.assertHasDescription("build C broken")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 15 15:38:24 UTC 2023 - 17.9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r18/BuildActionCrossVersionSpec.groovy
BuildActionFailureException e = thrown() e.message == /The supplied build action failed with an exception./ e.cause instanceof BrokenAction.CustomException and: failure.assertHasDescription('this is a custom exception') assertHasConfigureFailedLogging() } @TargetGradleVersion(">=3.0 <5.1")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 7.2K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/integTest/groovy/org/gradle/internal/exceptions/DefaultMultiCauseExceptionIntegrationTest.groovy
throw new TestResolutionProviderException('resolution1') } } """ when: fails 'myTask' then: failure.assertHasDescription("Execution failed for task ':myTask'.") .assertHasResolution('resolution1') } def 'when tasks throw multi cause exceptions with resolutions offered by the causes, those resolutions are included'() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 3.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/RecoverFromBrokenResolutionIntegrationTest.groovy
then: run 'retrieve' when: server.resetExpectations() server.addBroken("/") then: fails 'retrieve' and: failure.assertHasDescription("Execution failed for task ':retrieve'.") failure.assertHasCause("Could not resolve all files for configuration ':compile'.")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 10.8K bytes - Viewed (0) -
platforms/software/resources-gcs/src/integTest/groovy/org/gradle/integtests/resource/gcs/maven/MavenGcsRepoErrorsIntegrationTest.groovy
setup: buildFile << mavenGcsRepoDsl() when: module.pom.expectDownloadAuthenticationError() then: fails 'retrieve' and: failure.assertHasDescription("Execution failed for task ':retrieve'.") .assertHasCause("Could not resolve all files for configuration ':compile'.") .assertHasCause('Could not resolve org.gradle:test:1.85.')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 4.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskEventsErrorIntegrationTest.groovy
buildFile << """ gradle.taskGraph.beforeTask { throw new RuntimeException("beforeTask failure") } task test """ then: fails('test') failure.assertHasDescription("Execution failed for task ':test'.") .assertHasCause("beforeTask failure") .assertHasFileName("Build file '${buildFile}'") .assertHasLineNumber(3) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 03 03:20:08 UTC 2023 - 3K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyBrokenRemoteResolveIntegrationTest.groovy
} task showMissing { doLast { println configurations.missing.files } } """ when: module.ivy.expectGetMissing() then: fails("showMissing") failure.assertHasDescription('Execution failed for task \':showMissing\'.') .assertResolutionFailure(':missing') .assertHasCause("""Could not find group:projectA:1.2. Searched in the following locations: - ${module.ivy.uri}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 13.7K bytes - Viewed (0)