Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 337 for broken1 (0.14 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/process/internal/SingleRequestWorkerProcessIntegrationTest.groovy

            builder.baseName = 'broken worker'
            builder.javaCommand.jvmArgs("-broken")
            def worker = builder.build()
            worker.run(12.toLong())
    
            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
    - 5.3K bytes
    - Viewed (0)
  2. 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)
  3. subprojects/core-api/src/test/groovy/org/gradle/internal/typeconversion/ErrorHandlingNotationParserTest.groovy

      - format 1
      - format 2
    
    <broken>''')
    
            1 * target.describe(!null) >> { DiagnosticsVisitor visitor -> visitor.candidate("format 1"); visitor.candidate("format 2") }
            0 * target._  //no parsing
        }
    
        def "reports unable to parse non-null"() {
            given:
            target.parseNotation("bad") >> { throw new UnsupportedNotationException("broken-part") }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:08 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  4. test/fixedbugs/issue4585.go

    	if a != b {
    		panic("broken equality: a != b")
    	}
    
    	m[a] = 1
    	m[b] = 2
    	if len(m) == 2 {
    		panic("broken hash: len(m) == 2")
    	}
    	if m[a] != 2 {
    		panic("m[a] != 2")
    	}
    }
    
    func test3() {
    	var a, b USmall
    	copy((*[12]byte)(unsafe.Pointer(&a))[:], "hello world!")
    	a.A, a.B = 1, 2
    	b.A, b.B = 1, 2
    	if a != b {
    		panic("broken equality: a != b")
    	}
    }
    
    func test4() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 2.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/documentation/docs/src/snippets/buildlifecycle/taskExecutionEvents/tests-groovy/taskExecutionEvents.groovy.out

    executing task ':ok' ...
    done
    executing task ':broken' ...
    FAILED
    
    FAILURE: Build failed with an exception.
    
    * Where:
    Build file '/home/user/gradle/samples/build.gradle' line: 6
    
    * What went wrong:
    Execution failed for task ':broken'.
    > broken
    
    * Try:
    > Run with --stacktrace option to get the stack trace.
    > Run with --info or --debug option to get more log output.
    > Run with --scan to get full insights.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 471 bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/cacher/metrics/metrics.go

    			StabilityLevel: compbasemetrics.ALPHA,
    		},
    		[]string{"resource"},
    	)
    
    	TerminatedWatchersCounter = compbasemetrics.NewCounterVec(
    		&compbasemetrics.CounterOpts{
    			Namespace:      namespace,
    			Name:           "terminated_watchers_total",
    			Help:           "Counter of watchers closed due to unresponsiveness broken by resource type.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 07:39:23 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top