Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 335 for broken1 (0.2 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/UndeclaredDependencyResolutionIntegrationTest.groovy

            setupBuildWithProjectArtifactTransforms()
            taskQueriesFilesWithoutDeclaringInput()
    
            when:
            run("broken")
    
            then:
            assertTransformed("a.jar", "b.jar")
            output.contains("result = [a.jar.green, b.jar.green]")
    
            when:
            run("broken")
    
            then:
            assertTransformed()
            output.contains("result = [a.jar.green, b.jar.green]")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenBrokenRemoteResolveIntegrationTest.groovy

        }
    }
    configurations { broken }
    dependencies {
        broken 'group:projectA:1.3'
    }
    task showBroken {
        def files = configurations.broken
        doLast { println files.files }
    }
    """
    
            when:
            module.pom.expectGetBroken()
            fails("showBroken")
    
            then:
            failure.assertResolutionFailure(':broken')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 12K bytes
    - Viewed (0)
  3. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/CustomComponentIntegrationTest.groovy

            failure.assertHasCause("broken")
        }
    
        def "fails when @ComponentType registration is badly formed"() {
            buildFile << """
                @Managed
                interface BrokenComponentSpec extends ComponentSpec {
                }
    
                class Broken extends RuleSource {
                    @ComponentType
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 25.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/MessageTest.groovy

        }
    
        def "transports exception with broken methods"() {
            def broken = new CompletelyBrokenException()
    
            when:
            def transported = transport(broken)
    
            then:
            transported.class == CompletelyBrokenException
        }
    
        def "transports unserializable exception with broken methods"() {
            def broken = new CompletelyBrokenException() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIncompatibleTasksIntegrationTest.groovy

                withProblem("Task `:declared` of type `Broken`: cannot deserialize object of type 'org.gradle.api.artifacts.ConfigurationContainer' as these are not supported with the configuration cache.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/initialization/exception/DefaultExceptionAnalyserTest.groovy

            given:
            def scriptFailure = new GradleScriptException("broken", new RuntimeException())
            def otherFailure1 = new RuntimeException("broken")
            def otherFailure2 = new RuntimeException("broken")
            def failure = new ProjectConfigurationException("broken", [scriptFailure, otherFailure1, otherFailure2])
            def analyser = analyser()
            def result = []
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskDefinitionIntegrationTest.groovy

                include "child"
            """
            file("child/build.gradle") << """
                class Broken extends DefaultTask {
                    Broken() {
                        throw new RuntimeException("broken task")
                    }
                }
                tasks.create("broken", Broken)
            """
    
            expect:
            fails()
            failure.assertHasLineNumber(4)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 14:43:53 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionFailureTest.groovy

    Expected: A failure description which is a string starting with "broken!"
         but: failure descriptions were []''')
    
            when:
            failure.assertHasCause("broken!")
    
            then:
            def e3 = thrown(AssertionError)
            e3.message.trim().startsWith('''No matching cause found
    Expected: A cause which is a string starting with "broken!"
         but: causes were []''')
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestFailureIntegrationTest.groovy

            result.testClass('org.gradle.BrokenTest')
                .assertTestCount(2, 2, 0)
                .assertTestFailed('failure', equalTo(failureAssertionError('failed')))
                .assertTestFailed('broken', equalTo('java.lang.IllegalStateException: html: <> cdata: ]]>'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 18K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheUnsupportedTypesIntegrationTest.groovy

                task other
                task broken(type: SomeTask)
            """
    
            when:
            configurationCacheRunLenient "broken"
    
            then:
            problems.assertResultHasProblems(result) {
                withTotalProblemsCount(6)
                withUniqueProblems(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28.3K bytes
    - Viewed (0)
Back to top