Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 580 for evaluations (0.15 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/SettingsScriptErrorIntegrationTest.groovy

        }
    
        def "produces reasonable error message when settings file evaluation fails"() {
            settingsFile << """
    
    throw new RuntimeException('<failure message>')
    """
            when:
            fails()
    
            then:
            failure.assertHasDescription("A problem occurred evaluating settings 'ProjectError'.")
                    .assertHasCause("<failure message>")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r18/BuildActionCrossVersionSpec.groovy

            e.cause.message.contains('A problem occurred evaluating initialization script.')
    
            and:
            failure.assertHasDescription('A problem occurred evaluating initialization script.')
            assertHasConfigureFailedLogging()
        }
    
        @TargetGradleVersion(">=7.3")
        def "action receives failure when settings evaluation fails"() {
            given:
            settingsFile << '''
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/invocation/GradleLifecycleIntegrationTest.groovy

            """
    
            buildFile """
                println("lifecycle: <evaluating> '\${project.path}'")
                subprojects { println("lifecycle: <root>.subprojects '\${it.path}'") }
            """
    
            groovyFile "a/build.gradle", """
                println("lifecycle: <evaluating> " + project)
            """
    
            when:
            succeeds("help")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 16:52:09 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/authorization/cel/metrics.go

    	RecordAuthorizationMatchConditionEvaluation(ctx context.Context, authorizerType, authorizerName string, elapsed time.Duration)
    	// RecordAuthorizationMatchConditionEvaluationFailure increments if any evaluation error was encountered evaluating matchConditions for an Authorize() call to the given authorizer
    	RecordAuthorizationMatchConditionEvaluationFailure(ctx context.Context, authorizerType, authorizerName string)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 22:41:27 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/quota/v1/interfaces.go

    type Configuration interface {
    	// IgnoredResources are ignored by quota.
    	IgnoredResources() map[schema.GroupResource]struct{}
    	// Evaluators for quota evaluation.
    	Evaluators() []Evaluator
    }
    
    // Registry maintains a list of evaluators
    type Registry interface {
    	// Add to registry
    	Add(e Evaluator)
    	// Remove from registry
    	Remove(e Evaluator)
    	// Get by group resource
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 30 21:02:09 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/validator.go

    func auditAnnotationEvaluationForError(f v1.FailurePolicyType) PolicyAuditAnnotationAction {
    	if f == v1.Ignore {
    		return AuditAnnotationActionExclude
    	}
    	return AuditAnnotationActionError
    }
    
    // Validate takes a list of Evaluation and a failure policy and converts them into actionable PolicyDecisions
    // runtimeCELCostBudget was added for testing purpose only. Callers should always use const RuntimeCELCostBudget from k8s.io/apiserver/pkg/apis/cel/config.go as input.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 23:31:44 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/InitScriptErrorIntegrationTest.groovy

            executer.usingInitScript(initScript)
        }
    
        def "produces reasonable error message when init script evaluation fails with GroovyException"() {
            initScript << """
        createTakk('do-stuff')
    """
            when:
            fails()
    
            then:
            failure.assertHasDescription("A problem occurred evaluating initialization script.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 15:16:36 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/expr_test.go

    	// Junk at EOF.
    	{"3 x", 3, false},
    	// Big number
    	{"4611686018427387904", 4611686018427387904, true},
    }
    
    func TestExpr(t *testing.T) {
    	p := NewParser(nil, nil, nil) // Expression evaluation uses none of these fields of the parser.
    	for i, test := range exprTests {
    		p.start(lex.Tokenize(test.input))
    		result := int64(p.expr())
    		if result != test.output {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/ProjectConfigurationIntegrationTest.groovy

            failure.assertHasCause("Cannot run Project.afterEvaluate(Action) when the project is already evaluated.")
        }
    
        @Issue("https://github.com/gradle/gradle/issues/4823")
        @ToBeFixedForIsolatedProjects(because = "evaluationDependsOn is not IP compatible")
        def "evaluationDependsOn deep project forces evaluation of parents"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/ResidualProgram.kt

            /**
             * Causes the target scope to be closed without applying any plugins.
             */
            object CloseTargetScope : StageTransition, Instruction()
    
            /**
             * Causes the evaluation of the compiled [script] against the script host
             * with `buildscript {}` block context, collecting project script dependencies.
             */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top