Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 337 for broken1 (0.21 sec)

  1. platforms/core-configuration/model-groovy/src/integTest/groovy/org/gradle/model/dsl/ManagedTypeDslIntegrationTest.groovy

    @Managed interface Person {
        @Unmanaged
        InputStream getInput()
        void setInput(InputStream name)
    }
    
    model {
        barry(Person)
        barry {
            input {
                println "broken"
            }
        }
    }
    '''
    
            when:
            fails "model"
    
            then:
            failure.assertHasLineNumber(11)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  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. 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)
  7. 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)
  8. 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)
  9. subprojects/core/src/integTest/groovy/org/gradle/process/internal/NotDeserializable.java

    import java.io.Serializable;
    
    public class NotDeserializable implements Action<WorkerProcessContext>, Serializable {
        private void readObject(ObjectInputStream instr) throws IOException {
            throw new IOException("Broken");
        }
    
        public void execute(WorkerProcessContext workerProcessContext) {
            throw new UnsupportedOperationException();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 06 17:14:50 UTC 2016
    - 1.2K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/ActionRunsBrokenNestedActions.java

            public BrokenAction(String name) {
                this.name = name;
            }
    
            @Override
            public Object execute(BuildController controller) {
                throw new RuntimeException("broken: " + name);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top