Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 2,118 for Warningf (0.33 sec)

  1. subprojects/core/src/main/java/org/gradle/execution/DefaultWorkValidationWarningRecorder.java

        @Override
        public void recordValidationWarnings(UnitOfWork work, Collection<? extends Problem> warnings) {
            workWithFailuresCount.incrementAndGet();
            String uniqueWarnings = warnings.stream()
                .map(warning -> convertToSingleLine(renderMinimalInformationAbout(warning, true, false)))
                .map(warning -> "\n  - " + warning)
                .distinct()
                .collect(joining());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:26:04 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. pkg/controller/validatingadmissionpolicystatus/controller_test.go

    			}
    		}
    	}
    }
    
    func toHaveSubstring(substrings ...string) func(warnings []admissionregistrationv1.ExpressionWarning, t *testing.T) {
    	return func(warnings []admissionregistrationv1.ExpressionWarning, t *testing.T) {
    		if len(substrings) != len(warnings) {
    			t.Fatalf("mismatched length, expect %d, got %d", len(substrings), len(warnings))
    		}
    		for i := range substrings {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/SmokeTestGradleRunner.groovy

         *
         * Does not fail the test if the warning does not appear in the output.
         *
         * WARNING: Only use for warnings that occurs intermittently. For example a deprecation warning for a function
         * that is only called once per Gradle daemon from a third party plugin.
         *
         * @param condition only expect the warning to be produced when this condition is {@code true}.
         * @param warning the text of the warning to match.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging-api/src/main/java/org/gradle/api/logging/configuration/WarningMode.java

    /**
     * Specifies the warning mode a user wants to see.
     *
     * @since 4.5
     */
    public enum WarningMode {
        /**
         * Show all warnings.
         */
        All(true),
    
        /**
         * Display a summary at the end of the build instead of rendering all warnings into the console output.
         */
        Summary(false),
    
        /**
         * No deprecation warnings at all.
         */
        None(false),
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/cli-runtime/pkg/printers/warningprinter.go

    )
    
    type WarningPrinter struct {
    	// out is the writer to output warnings to
    	out io.Writer
    	// opts contains options controlling warning output
    	opts WarningPrinterOptions
    }
    
    // WarningPrinterOptions controls the behavior of a WarningPrinter constructed using NewWarningPrinter()
    type WarningPrinterOptions struct {
    	// Color indicates that warning output can include ANSI color codes
    	Color bool
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 23 11:10:15 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/DeprecationHandlingIntegrationTest.groovy

            'with stacktrace and --warning-mode=all'        | WarningMode.All     | 5             | false           | true
            'without stacktrace and --warning-mode=no'      | WarningMode.None    | 0             | false           | false
            'with stacktrace and --warning-mode=no'         | WarningMode.None    | 0             | false           | true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 16:16:32 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/ValidateStepTest.groovy

                        .severity(Severity.WARNING)
                        .details("Test")
                }
            }
    
            then:
            _ * buildOperationProgressEventEmitter.emitNowIfCurrent(_ as Object) >> {}
            1 * warningReporter.recordValidationWarnings(work, { warnings -> convertToSingleLine(renderMinimalInformationAbout(warnings.first(), true, false)) == expectedWarning })
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:35:05 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/buildCache/caching-android-projects/tests/sanityCheck.sample.conf

    executable: gradle
    args: tasks
    # Kapt produces deprecation warnings
    flags: "--warning-mode=all"
    expected-output-file: sanityCheck.out
    allow-additional-output: true
    
    # Note, upon upgrading Kapt to a version that does not emit a warning,
    # this test will fail. Simply delete this sanityCheck test, as it is
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 20:27:07 UTC 2024
    - 374 bytes
    - Viewed (0)
  9. cmd/kubeadm/app/preflight/checks_test.go

    			warnings, errors := check.Check()
    
    			switch {
    			case warnings != nil && !tc.expectWarnings:
    				t.Errorf("KubeletVersionCheck: unexpected warnings for kubelet version %q and Kubernetes version %q. Warnings: %v", tc.kubeletVersion, tc.k8sVersion, warnings)
    			case warnings == nil && tc.expectWarnings:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  10. pkg/registry/batch/job/storage/storage_test.go

    		},
    		{
    			description:   "deletion: orphan deletion, no warnings",
    			expectWarning: false,
    			deleteOptions: &metav1.DeleteOptions{PropagationPolicy: &orphanDeletionPropagation},
    			requestInfo:   &genericapirequest.RequestInfo{APIGroup: "batch", APIVersion: "v1"},
    		},
    		{
    			description:   "deletion: background deletion, no warnings",
    			expectWarning: false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 14:34:53 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top