Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 279 for broken3 (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. subprojects/core/src/test/groovy/org/gradle/internal/classpath/ClasspathWalkerTest.groovy

            0 * visitor._
        }
    
        @Requires(UnitTestPreconditions.Jdk11OrLater)
        def "throws FileException on badly formed JAR"() {
            def visitor = Mock(ClasspathEntryVisitor)
            def file = tmpDir.file("broken").createFile()
    
            when:
            walker.visit(file, visitor)
    
            then:
            thrown(FileException)
    
            0 * visitor._
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 11:15:22 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. pkg/scheduler/metrics/resources/resources.go

    }
    
    var podResourceDesc = resourceMetricsDescriptors{
    	requests: resourceLifecycleDescriptors{
    		total: metrics.NewDesc("kube_pod_resource_request",
    			"Resources requested by workloads on the cluster, broken down by pod. This shows the resource usage the scheduler and kubelet expect per pod for resources along with the unit for the resource if any.",
    			[]string{"namespace", "pod", "node", "scheduler", "priority", "resource", "unit"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 09 23:15:53 UTC 2023
    - 6.8K bytes
    - Viewed (0)
Back to top