Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 335 for broken1 (0.62 sec)

  1. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleKotlinDslIntegrationTest.kt

            withBuildScript(
                """
                tasks {
                    register<Task>("broken") {
                        val prop = objects.property(String::class.java)
                        // broken by https://youtrack.jetbrains.com/issue/KT-36297
                        prop.set(provider { "abc" })
                        doLast { println("$S{name} -> value = $S{prop.get()}") }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 18:26:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/RuleSourceAppliedAsProjectPluginIntegrationTest.groovy

                class MyPlugin {
                    static class Rules extends RuleSource {
                        @Model
                        String string() { "foo" }
    
                        @Mutate
                        void broken(String s) {
                            throw new RuntimeException("oh no!")
                        }
                    }
                }
    
                apply type: MyPlugin
    
                model {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/toolchain/DaemonJavaToolchainQueryServiceTest.groovy

        }
    
        def "ignores invalid toolchains when finding a matching one"() {
            given:
            def queryService = createQueryServiceWithInstallations(["8.0", "8.0.242.hs-adpt", "8.0.broken"])
    
            when:
            def filter = createSpec(JavaLanguageVersion.of(8))
            def toolchain = queryService.findMatchingToolchain(filter)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/PublishArtifactNotationParserFactoryTest.groovy

                @Override
                String toString() {
                    return "broken"
                }
            }
    
            when:
            publishArtifact.file
    
            then:
            def e = thrown(UnsupportedNotationException)
            e.message.startsWith("Cannot convert the provided notation to a File or URI: broken.")
        }
    
        def createArtifactFromFileInMap() {
            Task task = Mock()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperHttpIntegrationTest.groovy

        def "recovers from failed download"() {
            given:
            server.expect(server.head("/$TEST_DISTRIBUTION_URL"))
            prepareWrapper(getDefaultBaseUrl())
            server.expect(server.get("/$TEST_DISTRIBUTION_URL").broken())
    
            when:
            wrapperExecuter.withStackTraceChecksDisabled()
            def failure = wrapperExecuter.runWithFailure()
    
            then:
            failure.error.contains('Server returned HTTP response code: 500')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildIdentityIntegrationTest.groovy

                classes.doLast {
                    throw new RuntimeException("broken")
                }
            """
    
            when:
            fails(buildA, ":assemble")
    
            then:
            failure.assertHasDescription("Execution failed for task ':${buildName}:classes'.")
            failure.assertHasCause("broken")
    
            where:
            settings                     | buildName | dependencyName | display
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. plugin/pkg/admission/certificates/ctbattest/admission_test.go

    			},
    			allowed: false,
    		},
    		{
    			description:                      "should always allow no-op update",
    			clusterTrustBundleFeatureEnabled: true,
    			authzErr:                         errors.New("broken"),
    			attributes: &testAttributes{
    				resource: certificatesapi.Resource("clustertrustbundles"),
    				oldObj: &certificatesapi.ClusterTrustBundle{
    					Spec: certificatesapi.ClusterTrustBundleSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGLoggingOutputCaptureIntegrationTest.groovy

    </suite>"""
    
            when: succeeds "test"
    
            then:
            if (VersionNumber.parse(version.toString()) > VersionNumber.parse('5.12.1')) {
                // Broken in 5.12.1, fixed in 5.13
                assert containsLinesThatMatch(result.output,
                    "Gradle Test Executor \\d+ -> static out",
                    "Gradle Test Executor \\d+ -> static err",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 18:51:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_body/test_tutorial001.py

            }
        )
    
    
    def test_post_broken_body(client: TestClient):
        response = client.post(
            "/items/",
            headers={"content-type": "application/json"},
            content="{some broken json}",
        )
        assert response.status_code == 422, response.text
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "json_invalid",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_body/test_tutorial001_py310.py

            }
        )
    
    
    @needs_py310
    def test_post_broken_body(client: TestClient):
        response = client.post(
            "/items/",
            headers={"content-type": "application/json"},
            content="{some broken json}",
        )
        assert response.status_code == 422, response.text
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "json_invalid",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top