- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 238 for broken1 (0.24 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ExecutionTimeTaskConfigurationIntegrationTest.groovy
when: executer.withArgument("--continue") fails("broken1", "broken2", "broken3") then: failure.assertHasCause("Cannot call ${description} on task ':broken1' after task has started execution.") failure.assertHasCause("Cannot call ${description} on task ':broken2' after task has started execution.") where: config | description
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 5.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/RuleDefinitionRuleExtractorTest.groovy
static class InvalidSignature extends RuleSource { @Rules void broken1(String string, RuleSource ruleSource) { } @Rules void broken2() { } @Rules String broken3(String string) { "broken" } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 5.1K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/resources/org/gradle/api/tasks/compile/broken-utf8.is-a-jar
Tom Tresansky <******@****.***> 1692994246 -0400
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 197 bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r12rc1/BuildModelCrossVersionSpec.groovy
} def "#description means do not run any tasks even when build logic injects tasks to execute"() { file('build.gradle') << """ gradle.startParameter.taskNames = ["broken2"] gradle.taskGraph.whenReady { throw new RuntimeException() } """ when: withConnection { ProjectConnection connection ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 3.1K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/BuildEventsErrorIntegrationTest.groovy
throw new RuntimeException('broken closure') } task broken { doLast { throw new RuntimeException('broken task') } } """ when: fails("broken") then: failure.assertHasFailures(2) failure.assertHasDescription("Execution failed for task ':broken'.") .assertHasCause("broken task")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 6K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/ProjectVariantResolutionIntegrationTest.groovy
broken b.flatMap { it.output } broken b.flatMap { throw new RuntimeException("broken artifact") } } } project(':a') { dependencies { implementation project(':b') } } """ when: run(":a:resolve") then: noExceptionThrown() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 20:50:18 UTC 2024 - 4.9K bytes - Viewed (0) -
platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/AbstractConsoleBuildResultFunctionalTest.groovy
buildFile << """ task broken { doLast { throw new RuntimeException("broken") } } """ expect: executer.withArguments("-Dorg.gradle.logging.level=${level}") fails("broken") and: // Ensure the failure is a location that the fixtures can see
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 5.4K bytes - Viewed (0) -
platforms/software/resources/src/test/groovy/org/gradle/internal/resource/ResourceExceptionsTest.groovy
def location = URI.create("scheme:name") def failure = new RuntimeException() expect: def e = ResourceExceptions.failure(location, "broken", failure) e instanceof ResourceException e.location == location e.message == "broken" e.cause == failure } def "wraps failure with different location"() { def location = URI.create("scheme:name")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/result/DefaultBuildableComponentResolveResultTest.groovy
e.message == 'No result has been specified.' } def "cannot get id when resolve failed"() { org.gradle.internal.Factory<String> broken = { "too bad" } def failure = new ModuleVersionResolveException(newSelector(DefaultModuleIdentifier.newId("a", "b"), "c"), broken) when: result.failed(failure) result.moduleVersionId then: ModuleVersionResolveException e = thrown()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 5.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeferredTaskFailureIntegrationTest.groovy
""" file("child/build.gradle") << """ class Broken extends DefaultTask { Broken() { throw new RuntimeException("broken task") } } tasks.register("broken", Broken) """ expect: fails("broken") failure.assertHasDescription("A problem occurred configuring project ':child'.")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 13:27:33 UTC 2024 - 9.2K bytes - Viewed (0)