Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 337 for broken1 (0.11 sec)

  1. 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)
  2. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildTaskFailureIntegrationTest.groovy

            buildA.buildFile << """
                task broken {
                    doLast {
                        ${server.callFromBuild('buildA')}
                        throw new RuntimeException("broken")
                    }
                }
                processResources.dependsOn(broken)
            """
            dependency("org.test:buildB:1.0")
            buildB.buildFile << """
                task broken {
                    doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 08 20:51:23 UTC 2021
    - 5.1K bytes
    - Viewed (0)
  3. src/internal/poll/fd_mutex_test.go

    func TestMutexLock(t *testing.T) {
    	var mu XFDMutex
    
    	if !mu.Incref() {
    		t.Fatal("broken")
    	}
    	if mu.Decref() {
    		t.Fatal("broken")
    	}
    
    	if !mu.RWLock(true) {
    		t.Fatal("broken")
    	}
    	if mu.RWUnlock(true) {
    		t.Fatal("broken")
    	}
    
    	if !mu.RWLock(false) {
    		t.Fatal("broken")
    	}
    	if mu.RWUnlock(false) {
    		t.Fatal("broken")
    	}
    }
    
    func TestMutexClose(t *testing.T) {
    	var mu XFDMutex
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 08 03:57:40 UTC 2022
    - 4K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/dist_list_missing.txt

    go tool dist list -v
    stdout linux/amd64
    cp stdout tool-v.txt
    
    go tool dist list -broken
    stdout $GOOS/$GOARCH
    cp stdout tool-broken.txt
    
    go tool dist list -json
    stdout '"GOOS": "linux",\n\s*"GOARCH": "amd64",\n'
    cp stdout tool-json.txt
    
    go tool dist list -json -broken
    stdout '"GOOS": "'$GOOS'",\n\s*"GOARCH": "'$GOARCH'",\n'
    cp stdout tool-json-broken.txt
    
    [short] stop
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 22 19:52:13 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/execution/ExceptionAttributionIntegrationTest.groovy

                    }
                }
            """
            file("buildSrc/src/main/resources/META-INF/gradle-plugins/test.broken.properties") << """
                implementation-class=PluginImpl
            """
            buildFile << """
                plugins {
                    id("test.broken")
                }
            """
    
            expect:
            2.times {
                fails("broken")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jan 07 06:23:22 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. subprojects/core/src/integTest/groovy/org/gradle/process/internal/MultiRequestWorkerProcessIntegrationTest.groovy

            builder.baseName = 'broken worker'
            builder.javaCommand.jvmArgs("-broken")
            def worker = builder.build()
            worker.start()
    
            then:
            def e = thrown(WorkerProcessException)
            e.message == 'Failed to run broken worker'
            e.cause instanceof ExecException
            e.cause.message.matches("Process 'broken worker 1' finished with non-zero exit value \\d+")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Mar 15 22:51:06 UTC 2020
    - 6.7K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/std_vendor.txt

    cd broken
    ! go build
    stderr 'cannot find package'
    
    -- go.mod --
    module m
    
    -- x.go --
    package x
    
    -- x_test.go --
    package x
    import "testing"
    import _ "net/http"
    func Test(t *testing.T) {}
    
    -- broken/go.mod --
    module broken
    -- broken/http.go --
    package broken
    
    import (
    	_ "net/http"
    	_ "golang.org/x/net/http/httpproxy"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 975 bytes
    - Viewed (0)
Back to top