Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 669 for broken1 (0.44 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. pkg/scheduler/metrics/resources/resources_test.go

    	req, err := http.NewRequest("GET", "/metrics/resources", nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	h.ServeHTTP(r, req)
    
    	expected := `# HELP kube_pod_resource_limit [STABLE] Resources limit for workloads on the cluster, broken down by pod. This shows the resource usage the scheduler and kubelet expect per pod for resources along with the unit for the resource if any.
    # TYPE kube_pod_resource_limit gauge
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 21.6K bytes
    - Viewed (0)
Back to top