Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 279 for broken3 (0.23 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/TokenLookup.java

     */
    class TokenLookup {
        private Set<Expression> broken;
        private Multimap<Expression, Expression> tokensFor;
    
        boolean isUnresolved(Expression expression) {
            return broken != null && broken.contains(expression);
        }
    
        void unresolved(Expression expression) {
            if (broken == null) {
                broken = new HashSet<Expression>();
            }
            broken.add(expression);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. src/go/doc/comment_test.go

    		wantOldText     = "[T] and [U] are types, and [T.M] is a method, but [V] is a broken link.\n[rand.Int] and [crand.Reader] are things. [G.M1] and [G.M2] are generic methods.\n"
    		wantSynopsis    = "T and U are types, and T.M is a method, but [V] is a broken link."
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 06:33:18 UTC 2022
    - 3K bytes
    - Viewed (0)
Back to top