Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 760 for Warningf (0.39 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ResultAssertion.java

                    expectedDeprecationWarnings.stream()
                        .map(warning -> " - " + warning)
                        .collect(joining("\n"))));
            }
            if (expectedGenericDeprecationWarnings > 0) {
                throw new AssertionError(String.format("Expected %d more deprecation warnings", expectedGenericDeprecationWarnings));
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/typechecking_test.go

    		}
    		for i, w := range warnings {
    			if !strings.Contains(w.Warning, substring) {
    				t.Errorf("warning %d does not contain %q, got %v", i, substring, w)
    			}
    		}
    	}
    }
    
    func toHaveLengthOf(expected int) func(warnings []v1.ExpressionWarning, t *testing.T) {
    	return func(warnings []v1.ExpressionWarning, t *testing.T) {
    		got := len(warnings)
    		if expected != got {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/plugins/JavaGradlePluginPluginIntegrationTest.groovy

            ! output.contains(INVALID_DESCRIPTOR_WARNING_PREFIX)
        }
    
        def "jar issues warning if built jar does not contain any plugin descriptors" () {
            given:
            buildFile()
            goodPlugin()
    
            expect:
            succeeds "jar"
            output.contains(NO_DESCRIPTOR_WARNING)
        }
    
        def "jar issues warning if built jar does not contain declared plugin" () {
            given:
            buildFile()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleExecuter.java

        /**
         * Expects the given deprecation warning, allowing to pass documentation url with /current/ version and asserting against the actual current version instead.
         */
        default GradleExecuter expectDocumentedDeprecationWarning(String warning) {
            return expectDeprecationWarning(normalizeDocumentationLink(warning));
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  5. pkg/kube/adapter.go

    	// warnings is a list of warning messages to return to the requesting API client.
    	// Warning messages describe a problem the client making the API request should correct or be aware of.
    	// Limit warnings to 120 characters if possible.
    	// Warnings over 256 characters and large numbers of warnings may be truncated.
    	Warnings []string `json:"warnings,omitempty"`
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 10 16:40:00 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/registry/rest/update.go

    	// WarningsOnUpdate returns warnings to the client performing the update.
    	// WarningsOnUpdate is invoked after default fields in the object have been filled in
    	// and after ValidateUpdate has passed, before Canonicalize is called, and before the object is persisted.
    	// This method must not mutate either object.
    	//
    	// Be brief; limit warnings to 120 characters if possible.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 27 11:48:28 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  7. plugin/pkg/admission/security/podsecurity/admission_test.go

    		ctxWithRecorder := warning.WithWarningRecorder(ctx, &dc)
    		if err := p.Validate(ctxWithRecorder, attrs, nil); err != nil {
    			b.Fatal(err)
    		}
    		// should either be a single aggregated warning, or a unique warning per pod
    		if dc.count != (1+namespaceWarningCount) && dc.count != (podCount+namespaceWarningCount) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 15 01:29:47 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/typechecking.go

    		if len(results) != 0 {
    			warnings = append(warnings, v1.ExpressionWarning{
    				FieldRef: fieldRef.Index(i).Child("expression").String(),
    				Warning:  results.String(),
    			})
    		}
    		// Note that MessageExpression is optional
    		if v.MessageExpression == "" {
    			continue
    		}
    		results = c.CheckExpression(ctx, v.MessageExpression)
    		if len(results) != 0 {
    			warnings = append(warnings, v1.ExpressionWarning{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/mapping/ResolutionBackedVariantDependencyResolver.java

                return ResolvedCoordinates.create(resolved);
            }
    
            if (mappings.incompatibleModules.contains(key)) {
                // TODO: We should enhance this warning to list the conflicting dependencies.
                warnings.addIncompatible(String.format(
                    "Cannot determine variant coordinates for dependency '%s' since " +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 22:25:49 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/authoring-builds/logging.adoc

    `-S` or `--full-stacktrace`::
    The full stacktraces are printed out. This option renders stacktraces for deprecation warnings.
    
    <No stacktrace options>::
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 18:32:47 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top