Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for hasErrors (0.12 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/FunctionCallResolver.kt

            val argResolutions = lazy {
                var hasErrors = false
                val result = buildMap<FunctionArgument.ValueArgument, ObjectOrigin> {
                    functionCall.args.filterIsInstance<FunctionArgument.ValueArgument>().forEach {
                        val resolution = expressionResolver.doResolveExpression(context, it.expr)
                        if (resolution == null) {
                            hasErrors = true
                        } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 14:27:23 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. pkg/registry/policy/poddisruptionbudget/strategy_test.go

    				},
    			}
    
    			errs := StatusStrategy.ValidateUpdate(ctx, newPdb, oldPdb)
    			hasErrors := len(errs) > 0
    			if !tc.validation && hasErrors {
    				t.Errorf("Validation failed when no validation should happen")
    			}
    			if tc.validation && !hasErrors {
    				t.Errorf("Expected validation errors but didn't get any")
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsBuilder.java

                }
            }
    
            if (hasErrors(problems)) {
                throw new SettingsBuilderException("Error building settings", problems);
            }
    
            return new DefaultSettingsBuilderResult(effective, problems);
        }
    
        private boolean hasErrors(List<BuilderProblem> problems) {
            if (problems != null) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            }
    
            eventCatapult.fire(ExecutionEvent.Type.ProjectDiscoveryStarted, session, null);
    
            Result<? extends ProjectDependencyGraph> graphResult = buildGraph(session);
    
            if (graphResult.hasErrors()) {
                return addExceptionToResult(
                        result, graphResult.getProblems().iterator().next().getException());
            }
    
            try {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  5. pkg/kubelet/lifecycle/handlers_test.go

    			container.Lifecycle.PostStart.HTTPGet.Port = tt.Port
    			pod.Spec.Containers = []v1.Container{container}
    			_, err := handlerRunner.Run(ctx, containerID, &pod, &container, container.Lifecycle.PostStart)
    
    			if hasError := (err != nil); hasError != tt.ExpectError {
    				t.Errorf("unexpected error: %v", err)
    			}
    
    			if fakeHTTPDoer.url != tt.Expected {
    				t.Errorf("unexpected url: %s", fakeHTTPDoer.url)
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ResolvedConfigurationIntegrationTest.groovy

                }
    
                task validate {
                    doLast {
                        def compileClasspath = configurations.compileClasspath.resolvedConfiguration
                        assert compileClasspath.hasError()
                        println "evaluating:"
                        compileClasspath.${expression}
                    }
                }
            """
    
            m1.allowAll()
            m2.allowAll()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top