Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 864 for broken1 (0.22 sec)

  1. 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)
  2. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeErrorIntegrationTest.groovy

        @ToBeFixedForConfigurationCache
        def "fails to build when project code is broken"() {
            useXcodebuildTool()
    
            given:
            buildFile << """
                apply plugin: 'swift-application'
             """
    
            and:
            file("src/main/swift/broken.swift") << "broken!"
    
            and:
            succeeds("xcode")
    
            expect:
            def failure = xcodebuild
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/PluginApplicationErrorIntegrationTest.groovy

            pluginBuilder.publishTo(executer, file('external.jar'))
    
            buildFile << '''
    buildscript {
        dependencies {
            classpath files('external.jar')
        }
    }
    apply plugin: 'broken'
    '''
    
            when:
            fails()
    
            then:
            failure.assertHasCause("Failed to apply plugin 'broken'")
            failure.assertHasCause("throwing plugin")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. src/internal/platform/zosarch_test.go

    // including known-broken ports.
    var List = []OSArch{
    {{range .}}	{ {{ printf "%q" .GOOS }}, {{ printf "%q" .GOARCH }} },
    {{end}}
    }
    
    var distInfo = map[OSArch]osArchInfo {
    {{range .}}	{ {{ printf "%q" .GOOS }}, {{ printf "%q" .GOARCH }} }:
    { {{if .CgoSupported}}CgoSupported: true, {{end}}{{if .FirstClass}}FirstClass: true, {{end}}{{if .Broken}} Broken: true, {{end}} },
    {{end}}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 22 19:44:52 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top