Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 2,290 for Warningf (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/go/testdata/script/list_symlink_issue35941.txt

    [!symlink] skip
    env GO111MODULE=off
    
    # Issue 35941: suppress symlink warnings when running 'go list all'.
    symlink goproj/css -> $GOPATH/src/css
    
    go list all
    ! stderr 'warning: ignoring symlink'
    
    # Show symlink warnings when patterns contain '...'.
    go list goproj/...
    stderr 'warning: ignoring symlink'
    
    -- goproj/a.go --
    package a
    
    -- css/index.css --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 27 18:17:01 UTC 2021
    - 360 bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top