Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 337 for broken2 (0.15 sec)

  1. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/MainTest.groovy

        def reportsActionExecutionFailure() {
            given:
            def thrownFailure = new RuntimeException('broken')
            action { throw thrownFailure }
    
            when:
            main.run()
    
            then:
            outputs.stdErr.contains('FAILURE: Build failed with an exception')
            outputs.stdErr.contains('broken')
            completedWithFailure
            failure == thrownFailure
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm-infrastructure/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassProcessorData.groovy

        static def failure = TestFailure.fromTestFrameworkFailure(new RuntimeException('broken'))
    
        public static junit.framework.Test suite() {
            throw failure.rawFailure
        }
    }
    
    public class ATestSetUpWithBrokenSetUp extends TestSetup {
        static def failure = TestFailure.fromTestFrameworkFailure(new RuntimeException('broken'))
    
        def ATestSetUpWithBrokenSetUp() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  3. src/cmd/go/internal/tool/tool.go

    			if !*brokenFlag && platform.Broken(p.GOOS, p.GOARCH) {
    				continue
    			}
    			fmt.Println(p)
    		}
    		return true
    	}
    
    	type jsonResult struct {
    		GOOS         string
    		GOARCH       string
    		CgoSupported bool
    		FirstClass   bool
    		Broken       bool `json:",omitempty"`
    	}
    
    	var results []jsonResult
    	for _, p := range platform.List {
    		broken := platform.Broken(p.GOOS, p.GOARCH)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 18:02:11 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/filters/metrics_test.go

    			desc: "auth ok",
    			response: &authenticator.Response{
    				User: &user.DefaultInfo{Name: "admin"},
    			},
    			status: true,
    			want: `
    				# HELP authenticated_user_requests [ALPHA] Counter of authenticated requests broken out by username.
    				# TYPE authenticated_user_requests counter
    				authenticated_user_requests{username="admin"} 1
            # HELP authentication_attempts [ALPHA] Counter of authenticated attempts.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 20 13:35:55 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/UnavailableNativePlatformToolProviderTest.groovy

        def reason = new ToolChainAvailability().unavailable("broken")
        def toolChain = new UnavailablePlatformToolProvider(Stub(OperatingSystemInternal), reason)
    
        def "is not available"() {
            expect:
            !toolChain.available
    
            def visitor = Mock(DiagnosticsVisitor)
    
            when:
            toolChain.explain(visitor)
    
            then:
            1 * visitor.node("broken")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/atomic/atomic.go

    	if len(call.Args) != 2 {
    		return
    	}
    	arg := call.Args[0]
    	broken := false
    
    	gofmt := func(e ast.Expr) string { return analysisutil.Format(pass.Fset, e) }
    
    	if uarg, ok := arg.(*ast.UnaryExpr); ok && uarg.Op == token.AND {
    		broken = gofmt(left) == gofmt(uarg.X)
    	} else if star, ok := left.(*ast.StarExpr); ok {
    		broken = gofmt(star.X) == gofmt(arg)
    	}
    
    	if broken {
    		pass.ReportRangef(left, "direct assignment to atomic value")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/c/CLanguageIntegrationTest.groovy

                    components {
                        main(NativeExecutableSpec)
                    }
                }
             """
    
            and:
            file("src/main/c/broken.c") << """
            #include <stdio.h>
    
            'broken
    """
            expect:
            fails "mainExecutable"
            failure.assertHasDescription("Execution failed for task ':compileMainExecutableMainC'.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/events/BuildExecutionEventsIntegrationTest.groovy

                $path($listener)
                task broken
            """
    
            when:
            executer.expectDocumentedDeprecationWarning("Listener registration using ${registrationPoint}() has been deprecated. This will fail with an error in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/current/userguide/upgrading_version_7.html#task_execution_events")
            run("broken")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/AbstractCppIntegrationTest.groovy

            and:
            file("src/main/cpp/broken.cpp") << "broken!"
    
            expect:
            fails "assemble"
            failure.assertHasDescription("Execution failed for task '$developmentBinaryCompileTask'.")
            failure.assertHasCause("A build operation failed.")
            failure.assertThatCause(Matchers.containsText("C++ compiler failed while compiling broken.cpp"))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. 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)
Back to top