Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 200 for broken1 (0.45 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftLibraryIntegrationTest.groovy

        }
    
        def "build fails when compilation fails"() {
            given:
            buildFile << """
                apply plugin: 'swift-library'
             """
    
            and:
            file("src/main/swift/broken.swift") << "broken!"
    
            expect:
            fails "assemble"
            failure.assertHasDescription("Execution failed for task ':compileDebugSwift'.")
            failure.assertHasCause("A build operation failed.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 15:17:55 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheSupportedTypesIntegrationTest.groovy

                    }
                }
    
                task broken(type: SomeTask) {
                }
            """
    
            when:
            configurationCacheFails "broken"
    
            then:
            configurationCache.assertStateStoreFailed()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. 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)
  4. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonStateCoordinatorTest.groovy

            when:
            coordinator.runCommand(command, "command")
    
            then:
            DaemonUnavailableException unavailableException = thrown()
            unavailableException.message == 'This daemon is in a broken state and will stop.'
        }
    
        def "cannot run command after finish command action has failed"() {
            Runnable command = Mock()
            RuntimeException failure = new RuntimeException()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/DefaultGradleDistribution.groovy

            return new NoDaemonGradleExecuter(this, testDirectoryProvider, version, buildContext).withWarningMode(null);
        }
    
        @Override
        boolean worksWith(Jvm jvm) {
            // Milestone 4 was broken on the IBM jvm
            if (jvm.isIbmJvm() && isVersion("1.0-milestone-4")) {
                return false;
            }
    
            JavaVersion javaVersion = jvm.getJavaVersion();
            if (javaVersion == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 16:09:27 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. internal/logger/config.go

    				break
    			}
    			brokers = append(brokers, *host)
    		}
    		if err != nil {
    			return cfg, err
    		}
    
    		clientAuthCfgVal := getCfgVal(EnvKafkaTLSClientAuth, k, kv.Get(KafkaTLSClientAuth))
    		clientAuth, err := strconv.Atoi(clientAuthCfgVal)
    		if err != nil {
    			return cfg, err
    		}
    
    		kafkaArgs := kafka.Config{
    			Enabled: enabled,
    			Brokers: brokers,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/MissingTaskDependenciesIntegrationTest.groovy

      - A Directory instance.
      - A RegularFile instance.
      - A URI or URL instance.
      - A TextResource instance."""
    
            when:
            fails "broken"
            then:
            executedAndNotSkipped ":broken"
            failureDescriptionContains("Execution failed for task ':broken'.")
            failureCauseContains(cause)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 08:14:44 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  8. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildPluginDevelopmentIntegrationTest.groovy

            buildA.file("a/build.gradle") << """
                plugins { id("java-gradle-plugin") }
                gradlePlugin {
                    plugins {
                        broken {
                            id = "a-plugin"
                            implementationClass = "org.test.Broken"
                        }
                    }
                }
            """
            buildA.file("b/build.gradle") << """
                plugins {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 13:37:31 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top