Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 2,290 for Warningf (0.24 sec)

  1. platforms/documentation/docs/src/snippets/java/sourceSets-badConfNames/tests/badConfNames.sample.conf

    executable: gradle
    args: build
    # Demonstrate deprecation warnings in output
    flags: "--warning-mode=all"
    expected-output-file: badConfNames.out
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 173 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/kotlinDsl/applying-plugins-imperative/tests/sanityCheck.sample.conf

    executable: gradle
    args: tasks
    # Do not fail for deprecation warnings: Project.getConvention; Spring boot 3.0.2+ no longer uses that API
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 166 bytes
    - Viewed (0)
  3. pkg/config/analysis/analyzers/schema/validation_test.go

    	"istio.io/istio/pkg/config/validation"
    )
    
    func TestCorrectArgs(t *testing.T) {
    	g := NewWithT(t)
    
    	m1 := &v1alpha3.VirtualService{}
    
    	testSchema := schemaWithValidateFn(func(cfg config.Config) (warnings validation.Warning, errs error) {
    		g.Expect(cfg.Name).To(Equal("name"))
    		g.Expect(cfg.Namespace).To(Equal("ns"))
    		g.Expect(cfg.Spec).To(Equal(m1))
    		return nil, nil
    	})
    	ctx := &fixtures.Context{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. pkg/registry/core/node/strategy_test.go

    			t.Errorf("%d: Wrong warning message: %v", i, warnings[0])
    		}
    
    		warnings = (nodeStrategy{}).WarningsOnCreate(context.Background(), &test.node)
    		if (test.warningText != "" && len(warnings) != 1) || (test.warningText == "" && len(warnings) != 0) {
    			t.Errorf("%d: Unexpected warnings count: %v", i, warnings)
    			t.Logf("%#v vs %#v", test.oldNode.ObjectMeta, test.node.ObjectMeta)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                    warnings << "Return nullability changed from nullable to non-nullable"
                }
            }
    
            if (!errors.isEmpty()) {
                def changes = errors + warnings
                return acceptOrReject(member, changes, Violation.error(member, changes.join(" ")))
            }
            if (!warnings.isEmpty()) {
                return Violation.warning(member, warnings.join(" "))
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 13 10:04:28 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/plugin/internal/DeprecatedPluginValidator.java

        private String logDeprecatedMojo(MojoDescriptor mojoDescriptor) {
            return messageBuilderFactory
                    .builder()
                    .warning("Goal '")
                    .warning(mojoDescriptor.getGoal())
                    .warning("' is deprecated: ")
                    .warning(mojoDescriptor.getDeprecated())
                    .toString();
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  7. 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)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProblemsServiceIntegTest.groovy

                contextualLabel == "registration of listener on 'Gradle.buildFinished' is unsupported"
                definition.severity == Severity.WARNING
                definition.documentationLink != null
            }
        }
    
        def "max problems are still reported as warnings"() {
            given:
            buildFile """
                gradle.buildFinished { }
    
                task run
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:04:02 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/registry/rest/create.go

    	// WarningsOnCreate returns warnings to the client performing a create.
    	// WarningsOnCreate is invoked after default fields in the object have been filled in
    	// and after Validate has passed, before Canonicalize is called, and the object is persisted.
    	// This method must not mutate the 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
    - 9.1K bytes
    - Viewed (0)
  10. 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)
Back to top