Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 337 for broken1 (0.14 sec)

  1. 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)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/result/DefaultBuildableModuleVersionListingResolveResultTest.groovy

            descriptor.versions == ['1.2', '1.3'] as Set
        }
    
        def "can mark as failed"() {
            org.gradle.internal.Factory<String> broken = { "too bad" }
            def failure = new ModuleVersionResolveException(newSelector(DefaultModuleIdentifier.newId("a", "b"), "c"), broken)
    
            when:
            descriptor.failed(failure)
    
            then:
            descriptor.state == Failed
            descriptor.failure == failure
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/testing/testng-java-passing/groovy/src/test/java/org/gradle/OkTest.java

        @org.testng.annotations.Test
        public void passingTest() {
        }
    
        @org.testng.annotations.Test(expectedExceptions = RuntimeException.class)
        public void expectedFailTest() {
            throw new RuntimeException("broken");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 284 bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/rc/WindowsResourcesUnsupportedIntegrationTest.groovy

    }
    
    model {
        components {
            main(NativeExecutableSpec)
        }
    }
             """
    
            and:
            helloWorldApp.writeSources(file("src/main"))
            file("src/main/rc/broken.rc") << """
            #include <stdio.h>
    
            NOT A VALID RESOURCE
    """
    
            when:
            run "mainExecutable"
    
            then:
            notExecuted(":compileMainExecutableMainRc")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/reflect/DirectInstantiatorTest.groovy

            e.cause instanceof RuntimeException
            e.cause.message == 'broken'
        }
    }
    
    class SomeType {
        final Object result
    
        SomeType(CharSequence result) {
            this.result = result
        }
    }
    
    class BrokenType {
        BrokenType(Boolean checked) {
            throw checked ? new Exception("broken") : new RuntimeException("broken")
        }
    }
    
    class SomeTypeWithMultipleConstructors {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/language/assembler/AssemblyLanguageIntegrationTest.groovy

            given:
            buildFile << """
    model {
        components {
            main(NativeExecutableSpec)
        }
    }
            """
    
            and:
            file("src/main/asm/broken.s") << """
    .section    __TEXT,__text,regular,pure_instructions
    .globl  _sum
    .align  4, 0x90
    _sum:
    pushl
    """
    
            expect:
            fails "mainExecutable"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

                    documentationRoot = project.layout.projectDirectory.dir('docsRoot')
                    javadocRoot = documentationRoot.dir('javadoc')
                }
            """
        }
    
        def "finds broken section links"() {
            given:
            sampleDoc << """
    === Dead Section Links
    This section doesn't exist: <<missing_section>>
    Also see this one, which is another dead link: <<other_missing_section>>
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 28 22:01:54 UTC 2022
    - 7.8K bytes
    - Viewed (0)
Back to top