Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 292 for broken2 (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/result/DefaultBuildableComponentResolveResultTest.groovy

            e.message == 'No result has been specified.'
        }
    
        def "cannot get id when resolve failed"() {
            org.gradle.internal.Factory<String> broken = { "too bad" }
            def failure = new ModuleVersionResolveException(newSelector(DefaultModuleIdentifier.newId("a", "b"), "c"), broken)
    
            when:
            result.failed(failure)
            result.moduleVersionId
    
            then:
            ModuleVersionResolveException e = thrown()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_std_vendor.txt

    -- 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/http2/hpack"
    )
    
    -- importcmd/go.mod --
    module importcmd
    -- importcmd/x.go --
    package importcmd
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 22 16:11:33 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeferredTaskFailureIntegrationTest.groovy

            """
            file("child/build.gradle") << """
                class Broken extends DefaultTask {
                    Broken() {
                        throw new RuntimeException("broken task")
                    }
                }
                tasks.register("broken", Broken)
            """
    
            expect:
            fails("broken")
            failure.assertHasDescription("A problem occurred configuring project ':child'.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top