Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 862 for broken3 (0.3 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/m5/ToolingApiBuildExecutionCrossVersionSpec.groovy

            then:
            progress.size() >= 2
            progress.removeLast() == ''
            progress.every { it }
        }
    
        def "tooling api reports build failure"() {
            file('build.gradle') << 'broken'
    
            when:
            withConnection {
                it.newBuild().forTasks('jar').run()
            }
    
            then:
            BuildException e = thrown()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryIntegrationTest.groovy

            and:
            file("src/main/cpp/broken.cpp") << """
            #include <iostream>
    
            'broken
    """
    
            expect:
            fails "assemble"
            failure.assertHasDescription("Execution failed for task ':compileDebugCpp'.")
            failure.assertHasCause("A build operation failed.")
            failure.assertThatCause(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
    - 19.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/filters/goaway_test.go

    		}
    
    		return nil, fmt.Errorf("expect response status code: %d, but got: %d. response body: %s", http.StatusOK, resp.StatusCode, body)
    	}
    
    	// encounter watch bytes received, does not expect to be broken
    	if url == urlWatch || url == urlWatchWithGoaway {
    		ch := make(chan watchResponse)
    		go func() {
    			defer resp.Body.Close()
    
    			body := make([]byte, 0)
    			buffer := make([]byte, 1)
    			for {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 17 12:58:54 UTC 2021
    - 13.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/metrics.go

    )
    
    var (
    	regenerationCounter = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Name:           "apiextensions_openapi_v2_regeneration_count",
    			Help:           "Counter of OpenAPI v2 spec regeneration count broken down by causing CRD name and reason.",
    			StabilityLevel: metrics.ALPHA,
    		},
    		[]string{"crd", "reason"},
    	)
    )
    
    func init() {
    	legacyregistry.MustRegister(regenerationCounter)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 27 11:57:45 UTC 2019
    - 1K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/connection/CancellableConsumerConnectionTest.groovy

            def action = Mock(BuildAction)
            def parameters = Stub(ConsumerOperationParameters)
            def failure = new GradleException("broken", new BuildCancelledException("cancelled."))
    
            when:
            connection.run(action, parameters)
    
            then:
            InternalBuildCancelledException e = thrown()
            e.cause == failure
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/samples/ide/problems-api-usage/kotlin/reporters/script-plugin/src/main/kotlin/reporters/script.plugin.gradle.kts

                }
            }
        }
    
        val failingTask by registering {
            doLast {
                problems.forNamespace("buildscript").throwing {
                    id("broken-task", "Task should not be called")
                        .contextualLabel("Task 'failingTask' should not be called")
                        .severity(Severity.ERROR)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:35:05 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/process/internal/BrokenRemoteProcess.java

    import java.io.Serializable;
    
    public class BrokenRemoteProcess implements Action<WorkerProcessContext>, Serializable {
        public void execute(WorkerProcessContext workerProcessContext) {
            throw new RuntimeException("broken");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 06 17:14:50 UTC 2016
    - 992 bytes
    - Viewed (0)
  8. platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/jvm/toolchain/internal/JavaToolchainQueryServiceTest.groovy

            toolchain.get().vendor == "IBM"
        }
    
        def "ignores invalid toolchains when finding a matching one"() {
            given:
            def queryService = setupInstallations(["8.0", "8.0.242.hs-adpt", "8.0.broken"])
    
            when:
            def filter = createSpec()
            filter.languageVersion.set(JavaLanguageVersion.of(8))
            def toolchain = queryService.findMatchingToolchain(filter).get()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:46:10 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/internal/typeconversion/NotationParserBuilderSpec.groovy

            when:
            parser.parseNotation("broken")
    
            then:
            UnsupportedNotationException e = thrown()
            e.message == toPlatformLineSeparators("""Cannot convert the provided notation to an object of type Number: broken.
    The following types/formats are supported:
      - a string containing a greeting, for example 'hello world'.""")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:08 UTC 2021
    - 6.1K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/ParallelActionExecutionCrossVersionSpec.groovy

            then:
            def e = thrown(BuildActionFailureException)
            e.cause instanceof RuntimeException
            TextUtil.normaliseLineSeparators(e.cause.message) == """Multiple build operations failed.
        broken: one
        broken: two"""
        }
    
        def setupBuildWithDependencyResolution() {
            server.start()
    
            settingsFile << """
                rootProject.name = 'root'
                include 'a', 'b'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top