- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 238 for broken2 (0.25 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ExecutionTimeTaskConfigurationIntegrationTest.groovy
def anAction = {} as Action task broken1 { doLast { $config } } task broken2 { doLast {} } task broken3 { dependsOn broken2 doLast { broken2.configure { $config } } } """
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-runtime/messaging/src/test/groovy/org/gradle/internal/dispatch/ExceptionTrackingFailureHandlerTest.groovy
RuntimeException failure2 = new RuntimeException('broken2') when: dispatch.dispatchFailed("message1", failure1) dispatch.dispatchFailed("message2", failure2) dispatch.stop() then: def e = thrown(DispatchException) e.cause == failure1 1 * logger.error('broken2', failure2) 0 * logger._ }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 1.8K 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/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) -
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) -
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) -
src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java
@Override protected void setUp() throws Exception { file1 = File.createTempFile("kuromoji_", ".txt"); FileUtil.write( file1.getAbsolutePath(), "token1,seg1,reading1,pos1\ntoken2,seg2,reading2,pos2\ntoken3,seg3,reading3,pos3" .getBytes(Constants.UTF_8)); } @Override protected void tearDown() throws Exception { file1.delete(); } */
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7.3K bytes - Viewed (0)