Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 279 for broken3 (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/result/DefaultBuildableArtifactResolveResultTest.groovy

            result.result
    
            then:
            def e = thrown(ArtifactNotFoundException)
            result.failure == e
        }
    
        def "can have failure result"() {
            def failure = new ArtifactResolveException("broken")
    
            when:
            result.failed(failure)
    
            then:
            result.failure == failure
            result.hasResult()
    
            when:
            result.result
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/DevelocityPluginEndOfBuildCallbackIntegrationTest.groovy

            then:
            plugin.assertEndOfBuildWithFailure(output, null)
            failure.assertHasDescription("broken")
    
            when:
            fails succeedingTaskName, "-Dbuild-listener-failure"
    
            then:
            plugin.assertEndOfBuildWithFailure(output, null)
            failure.assertHasDescription("broken")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 11:17:11 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top