Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,985 for Warningf (0.17 sec)

  1. pkg/config/validation/validation.go

    				in.Action == security_beta.AuthorizationPolicy_DENY {
    				warning := fmt.Errorf("configured AuthorizationPolicy will deny all traffic " +
    					"to TCP ports under its scope due to the use of only HTTP attributes in a DENY rule; " +
    					"it is recommended to explicitly specify the port")
    				warnings = appendErrors(warnings, warning)
    
    			}
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileProblemsIntegrationTest.groovy

            }
            verifyAll(receivedProblem(1)) {
                assertProblem(it, "WARNING", true)
                fqid == 'compilation:java:java-compilation-warning'
                details == 'redundant cast to java.lang.String'
            }
    
            result.error.contains("2 warnings\n")
        }
    
        def "problems are received when a multi-file warning happens"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 16:15:29 UTC 2024
    - 24K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top