- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 787 for broken1 (0.12 sec)
-
platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/AbstractCppIntegrationTest.groovy
and: file("src/main/cpp/broken.cpp") << "broken!" expect: fails "assemble" failure.assertHasDescription("Execution failed for task '$developmentBinaryCompileTask'.") failure.assertHasCause("A build operation failed.") failure.assertThatCause(Matchers.containsText("C++ compiler failed while compiling broken.cpp")) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/buildlifecycle/taskExecutionEvents/tests-kotlin/taskExecutionEvents.kotlin.sample.conf
# tag::cli[] # gradle --quiet broken # end::cli[] executable: gradle args: broken flags: --quiet expect-failure: true expected-output-file: taskExecutionEvents.kotlin.out
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 201 bytes - Viewed (0) -
platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeErrorIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyJvmLibraryArtifactResolutionIntegrationTest.groovy
Searched in the following locations: ${javadocArtifact.uri}""") } def "resolves and recovers from broken artifacts"() { given: module.artifact(type: "source", classifier: "broken-sources", ext: "jar", conf: "sources") module.publish() fixture.expectSourceArtifact("my-sources") .expectSourceArtifactFailure()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 14.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/AttributeValuesIntegrationTest.groovy
configurations { broken } configurations.broken.attributes.attribute(attr, $value) """ when: fails() then: failure.assertHasCause("Could not isolate value ") failure.assertHasCause("Could not serialize value of type ") where: type | value "Thing" | "new Thing(name: 'broken')" "Project" | "project"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/PluginApplicationErrorIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 01 03:07:53 UTC 2023 - 2.5K bytes - Viewed (0) -
testing/integ-test/src/integTest/groovy/org/gradle/integtests/BuildAggregationIntegrationTest.groovy
failure.assertThatDescription(CoreMatchers.startsWith("A problem occurred evaluating project ':other'")) failure.assertHasCause('broken') } def reportsBuildSrcFailure() { when: file('buildSrc/src/main/java/Broken.java') << 'broken!' then: fails() and: failure.assertHasDescription("Execution failed for task ':buildSrc:compileJava'.") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.8K bytes - Viewed (0) -
testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskErrorExecutionIntegrationTest.groovy
throw new ArithmeticException('broken') } """ expect: fails "do-stuff" failure.assertHasFileName(String.format("Build file '%s'", buildFile)) failure.assertHasLineNumber(3) failure.assertHasDescription("Execution failed for task ':do-stuff'.") failure.assertHasCause("broken") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 12.5K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/buildlifecycle/taskExecutionEvents/groovy/build.gradle
tasks.register('ok') tasks.register('broken') { dependsOn ok doLast { throw new RuntimeException('broken') } } gradle.taskGraph.beforeTask { Task task -> println "executing $task ..." } gradle.taskGraph.afterTask { Task task, TaskState state -> if (state.failure) { println "FAILED" } else { println "done" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 370 bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FilePropertyLifecycleIntegrationTest.groovy
def "cannot query strict task output file property until task starts execution"() { taskTypeWithOutputFileProperty() settingsFile << "rootProject.name = 'broken'" buildFile """ task producer(type: FileProducer) { output.disallowUnsafeRead() output = layout.buildDir.file("text.out") def other = file('ignore')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 22.6K bytes - Viewed (0)