Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 237 for broken1 (0.14 sec)

  1. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/ObjectiveCHelloWorldApp.groovy

                }
            """
        }
    
        @Override
        List<String> getPluginList() {
            ['objective-c']
        }
    
        SourceFile getBrokenFile() {
            return sourceFile("objc", "broken.m", """'broken""")
        }
    
        @Override
        String getSourceSetType() {
            return "ObjectiveCSourceSet"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/AbstractSwiftIntegrationTest.groovy

        }
    
        def "build fails when compilation fails"() {
            given:
            makeSingleProject()
    
            and:
            file("src/main/swift/broken.swift") << "broken!"
    
            expect:
            fails "assemble"
            failure.assertHasDescription("Execution failed for task '$developmentBinaryCompileTask'.")
            failure.assertHasCause("A build operation failed.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/SimpleJavaContinuousIntegrationTest.groovy

            then:
            succeeds("test")
    
            when:
            testSourceFile << " broken "
    
            then:
            buildTriggeredAndFailed()
            failureDescriptionStartsWith("Execution failed for task ':compileTestJava'.")
    
            when:
            sourceFile << " broken "
    
            then:
            buildTriggeredAndFailed()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/EvaluationContextTest.groovy

            ex.evaluationCycle.size() == 2
            // Have to use reference check because owner's equals is broken
            ex.evaluationCycle[0] === owner
            ex.evaluationCycle[1] === owner
    
            where:
            evaluator << [evaluateInLambda(), evaluateInBlock()]
        }
    
        def "can handle owner with broken equals in tryEvaluate"() {
            given:
            owner.equals(_) >> { false }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 20:21:33 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/RuleSourceAppliedToModelMapElementIntegrationTest.groovy

            when:
            buildScript '''
                class ThrowingRule extends RuleSource {
                    @Mutate
                    void badRule(Task echo) {
                        throw new RuntimeException("I'm broken")
                    }
                }
    
                class Rules extends RuleSource {
                    @Mutate
                    void addTasks(ModelMap<Task> tasks) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/text/AbstractStyledTextOutputTest.groovy

            then:
            output.value == '[message]\n'
        }
    
        def formatsException() {
            when:
            output.exception(new RuntimeException('broken'))
    
            then:
            output.value == 'java.lang.RuntimeException: broken\n{stacktrace}\n'
        }
    
        def canMixInStyleInformation() {
            when:
            output.style(Style.Info).text('info test').style(Style.Normal)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultCompatibilityRuleChainTest.groovy

            1 * details.producerValue >> "value2"
            1 * details.compatible()
        }
    
        static class BrokenRule implements AttributeCompatibilityRule<String> {
            static failure = new RuntimeException("broken")
    
            @Override
            void execute(CompatibilityCheckDetails<String> details) {
                throw failure
            }
        }
    
        def "wraps failure to execute rule"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/ObjectiveCppHelloWorldApp.groovy

                }
            """
        }
    
        @Override
        List<String> getPluginList() {
            ['objective-cpp']
        }
    
        SourceFile getBrokenFile() {
            return sourceFile("objcpp", "broken.mm", """'broken""")
        }
    
        @Override
        String getSourceSetType() {
            return "ObjectiveCppSourceSet"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/TestClassExecutionEventGeneratorTest.groovy

            when:
            processor.testClassFinished(null)
    
            then:
            1 * target.completed(1, {it.endTime == 1300})
            0 * target._
        }
    
        def "synthesises a broken test when test class fails and no tests have been started"() {
            def failure = TestFailure.fromTestFrameworkFailure(new RuntimeException())
    
            given:
            idGenerator.generateId() >>> [1, 2]
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheCompositeBuildProblemReportingIntegrationTest.groovy

            """
            file("inc/settings.gradle") << """
                include 'sub'
            """
            file("inc/sub/build.gradle") << """
                gradle.buildFinished { }
                tasks.register('broken') {
                    inputs.property('p', project).optional(true)
                    doLast { t -> t.project }
                }
            """
    
            when:
            configurationCacheFails ":inc:sub:broken"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top