Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 409 for broken1 (0.53 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectMethod.java

            replaceBody(new SendFixedContent(404, "not found"), null);
            return this;
        }
    
        @Override
        public BuildableExpectedRequest broken() {
            replaceBody(new SendFixedContent(500, "broken"), null);
            return this;
        }
    
        @Override
        public BuildableExpectedRequest send(String content) {
            replaceBody(new SendFixedContent(200, content), null);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/worker/TestEventSerializerTest.groovy

        }
    
        def "serializes Throwable"() {
            def failure = new GradleException("broken", new RuntimeException("cause"))
    
            when:
            def result = serialize(failure, Throwable)
    
            then:
            result.class == GradleException
            result.message == "broken"
            result.cause.class == RuntimeException
            result.cause.message == "cause"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/dynamicresources/structured/namedresources/namedresourcesmodel_test.go

    		expectCreateErr   bool
    		expectAllocation  []string
    		expectAllocateErr bool
    	}{
    		"empty": {},
    
    		"broken-filter": {
    			filter: filterBrokenType,
    
    			expectCreateErr: true,
    		},
    
    		"broken-request": {
    			requests: []*resourceapi.NamedResourcesRequest{requestBrokenType},
    
    			expectCreateErr: true,
    		},
    
    		"no-resources": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 27 09:27:01 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r86/StreamingBuildActionCrossVersionTest.groovy

            models[1] instanceof CustomModel
        }
    
        def "listener is isolated when it fails with an exception"() {
            when:
            def listener = { throw new RuntimeException("broken") } as StreamedValueListener
    
            withConnection {
                def builder = it.action(new ModelStreamingBuildAction())
                collectOutputs(builder)
                builder.setStreamedValueListener(listener)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 03:20:59 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/NestedSourceDependencyIdentityIntegrationTest.groovy

            repoC.file("settings.gradle") << """
                ${settings}
            """
            repoC.file("build.gradle") << """
                classes.doLast {
                    throw new RuntimeException("broken")
                }
            """
            repoC.commit("initial version")
            repoC.createLightWeightTag("1.2")
    
            dependency(dependencyName)
            repoB.commit("initial version")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperIntegrationTest.groovy

    import java.nio.file.Files
    
    @Requires(value = IntegTestPreconditions.NotEmbeddedExecutor, reason = NOT_EMBEDDED_REASON)
    class WrapperIntegrationTest extends AbstractWrapperIntegrationSpec {
        def "can recover from a broken distribution"() {
            buildFile << "task hello"
            prepareWrapper()
            def gradleUserHome = testDirectory.file('some-custom-user-home')
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpServer.groovy

                }
            }
        }
    
        /**
         * Adds a broken resource at the given URL.
         */
        void addBroken(String path) {
            allow(path, true, null, broken())
        }
    
        /**
         * Expects one GET request, which fails with a 500 status code
         */
        void expectGetBroken(String path) {
            expect(path, false, ['GET'], broken())
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/userinput/UserInputHandlingIntegrationTest.groovy

            gradleHandle.waitForFinish()
            gradleHandle.standardOutput.contains("result = true")
    
            where:
            input    | _
            ""       | _
            "broken" | _
            "false"  | _
            "nope"   | _
            "y"      | _
            "n"      | _
        }
    
        @ToBeFixedForIsolatedProjects(because = "subprojects")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/SourceDependencyIdentityIntegrationTest.groovy

                    throw new RuntimeException("broken")
                }
            """
            repo.commit("initial version")
            repo.createLightWeightTag("1.2")
            dependency(dependencyName)
    
            when:
            fails(":assemble")
    
            then:
            failure.assertHasDescription("Execution failed for task ':${buildName}:classes'.")
            failure.assertHasCause("broken")
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. internal/event/target/mqtt.go

    	EnvMQTTQueueLimit        = "MINIO_NOTIFY_MQTT_QUEUE_LIMIT"
    )
    
    // MQTTArgs - MQTT target arguments.
    type MQTTArgs struct {
    	Enable               bool           `json:"enable"`
    	Broker               xnet.URL       `json:"broker"`
    	Topic                string         `json:"topic"`
    	QoS                  byte           `json:"qos"`
    	User                 string         `json:"username"`
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top