Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 862 for broken3 (0.16 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheValueSourceIntegrationTest.groovy

                    @Override String obtain() {
                        if (Boolean.getBoolean("should.fail")) {
                            throw new RuntimeException("Broken!")
                        }
                        return "not broken"
                    }
                }
    
                providers.of(SometimesBrokenValueSource) {}.get()
            """)
    
            when:
            configurationCacheRun()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestEventsIntegrationTest.groovy

                task broken
            """
    
            when:
            executer.expectDocumentedDeprecationWarning("Listener registration using Gradle.addListener() has been deprecated. This will fail with an error in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/current/userguide/upgrading_version_7.html#task_execution_events")
            run("broken")
    
            then:
            noExceptionThrown()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/api/internal/artifacts/result/ResolutionResultDataBuilder.groovy

            def requested = newSelector(group, module, version)
            org.gradle.internal.Factory<String> broken = { "broken" }
            new DefaultUnresolvedDependencyResult(requested, false, ComponentSelectionReasons.requested(), newModule(group, module, selectedVersion), new ModuleVersionResolveException(newSelector(DefaultModuleIdentifier.newId(group, module), version), broken))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 04:22:29 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/annotations/DefaultTypeMetadataStoreTest.groovy

                context.visitPropertyProblem {
                    it
                        .forProperty(metadata.propertyName)
                        .id("test-problem", "is broken", GradleCoreProblemGroup.validation())
                        .documentedAt(userManual("id", "section"))
                        .severity(Severity.WARNING)
                        .details("Test")
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/AbstractLoggingHooksFunctionalTest.groovy

            !lines.contains('lifecycle')
            !lines.contains('warn')
        }
    
        def "broken listener fails build but does not kill logging output"() {
            buildFile << """
                class BrokenListener implements StandardOutputListener {
                    void onOutput(CharSequence output) {
                        throw new RuntimeException("broken")
                    }
                }
                def output = new BrokenListener()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ResolvedArtifactsApiIntegrationTest.groovy

    dependencies {
        compile files { throw new RuntimeException('broken') }
        compile files('lib.jar')
    }
    
    ${showFailuresTask(expression)}
    """
            when:
            fails 'show'
    
            then:
            failure.assertHasCause("Could not resolve all artifacts for configuration ':compile'.")
            failure.assertHasCause("broken")
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 22:29:19 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  7. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/MappingSourceDependencyIntegrationTest.groovy

            settingsFile << """
                rootProject.name = 'test'
                sourceControl {
                    vcsMappings {
                        withModule("broken") {
                            from(GitVersionControlSpec) {
                            }
                        }
                    }
                }
            """
    
            expect:
            fails('assemble')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/CrashingBuildsArtifactTransformIntegrationTest.groovy

            // maybe killed here
            if (parameters.broken.get()) {
                Runtime.runtime.halt(1)
            }
            def two = outputs.file("two")
            two.text = "two"
        }
    }
    
    dependencies {
        registerTransform(ToColor) {
            from.attribute(type, "jar")
            to.attribute(type, "red")
            parameters {
                color = Color.Red
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. cni/pkg/constants/constants.go

    	RepairDeletePods         = "repair-delete-pods"
    	RepairRepairPods         = "repair-repair-pods"
    	RepairLabelPods          = "repair-label-pods"
    	RepairLabelKey           = "repair-broken-pod-label-key"
    	RepairLabelValue         = "repair-broken-pod-label-value"
    	RepairNodeName           = "repair-node-name"
    	RepairSidecarAnnotation  = "repair-sidecar-annotation"
    	RepairInitContainerName  = "repair-init-container-name"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/mvnsettings/DefaultLocalMavenRepositoryLocatorTest.groovy

            then:
            locator.localMavenRepository == repo2
        }
    
        def "throws exception on broken global settings file with decent error message"() {
            given:
            def settingsFile = locations.globalSettingsFile
            settingsFile << "broken content"
            when:
            locator.localMavenRepository
            then:
            def ex = thrown(CannotLocateLocalMavenRepositoryException);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.5K bytes
    - Viewed (0)
Back to top