Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,510 for nvalid (0.33 sec)

  1. tools/istio-iptables/pkg/config/validation_test.go

    	cases := []struct {
    		name string
    		cidr string
    	}{
    		{
    			name: "invalid IPv4 loopback CIDR",
    			cidr: "192.168.1.1/24",
    		},
    		{
    			name: "invalid CIDR with mask below range",
    			cidr: "10.0.0.1/7",
    		},
    		{
    			name: "invalid CIDR with mask above range",
    			cidr: "172.16.0.1/40",
    		},
    	}
    
    	for _, tc := range cases {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 11 02:38:28 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. pkg/registry/resource/resourceclassparameters/storage/storage_test.go

    	test := genericregistrytest.New(t, storage.Store)
    	resourceClass := validNewResourceClassParameters("foo")
    	resourceClass.ObjectMeta = metav1.ObjectMeta{}
    	test.TestCreate(
    		// valid
    		resourceClass,
    		// invalid
    		&resource.ResourceClassParameters{
    			ObjectMeta: metav1.ObjectMeta{Name: "*BadName!"},
    		},
    	)
    }
    
    func TestUpdate(t *testing.T) {
    	storage, server := newStorage(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:21:16 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/util/template_test.go

    				Arch:            "amd64",
    			},
    			output:      doNothing,
    			errExpected: false,
    		},
    		{
    			name:        "invalid syntax, passing nil",
    			template:    invalidTmpl1,
    			data:        nil,
    			output:      "",
    			errExpected: true,
    		},
    		{
    			name:        "invalid syntax",
    			template:    invalidTmpl2,
    			data:        struct{}{},
    			output:      "",
    			errExpected: true,
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 07:02:51 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. platforms/jvm/jvm-services/src/test/groovy/org/gradle/internal/jvm/inspection/InvalidInstallationWarningReporterTest.groovy

        def mockLogger = Mock(Logger)
    
        def 'reporter logs only invalid installations'() {
            given:
            def reporter = new InvalidInstallationWarningReporter(mockLogger)
            def location = InstallationLocation.userDefined(new File("_"), "_")
            def metadata = Mock(JvmInstallationMetadata) {
                isValidInstallation() >> isValid
            }
    
            when:
            reporter.accept(location, metadata)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 18:25:34 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/defaulting/validation.go

    				allErrs = append(allErrs, field.Invalid(pth.Child("default"), s.Default.Object, fmt.Sprintf("must result in valid metadata: %v", err)))
    			} else if errs := schemaobjectmeta.Validate(nil, obj, rootSchema, true); len(errs) > 0 {
    				allErrs = append(allErrs, field.Invalid(pth.Child("default"), s.Default.Object, fmt.Sprintf("must result in valid metadata: %v", errs.ToAggregate())))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 22:34:13 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentMetadataRulesErrorHandlingIntegrationTest.groovy

            failure.assertHasFileName("Build file '$buildFile.path'")
            failure.assertHasLineNumber(lines + 3)
            failureHasCause("""Type BadRuleSource is not a valid rule source:
    - Method process(java.lang.String) is not a valid rule method: First parameter of a rule method must be of type org.gradle.api.artifacts.ComponentMetadataDetails""")
    
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/union.go

    		}
    		if len(terms) >= maxTermCount {
    			if isValid(u) {
    				check.errorf(x, InvalidUnion, "cannot handle more than %d union terms (implementation limitation)", maxTermCount)
    				u = Typ[Invalid]
    			}
    		} else {
    			terms = append(terms, term)
    			u = &Union{terms}
    		}
    
    		if i > 0 {
    			check.recordTypeAndValue(blist[i-1], typexpr, u, nil)
    		}
    	}
    
    	if !isValid(u) {
    		return u
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 15 16:16:58 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  8. platforms/jvm/jvm-services/src/integTest/groovy/org/gradle/jvm/toolchain/InvalidJvmInstallationReportingIntegrationTest.groovy

        def "invalid JDK is cached only for current build if in daemon"() {
            // Require a different JDK to be able to find the logs of its probing for system properties
            def existingJdk = AvailableJavaHomes.differentJdk
    
            // Use two invalid installation paths to verify that the implementation reports a warning on each of them
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  9. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishValidationIntegTest.groovy

            metadata        | message
            "branch ''"     | "Invalid publication 'ivy': branch cannot be an empty string. Use null instead"
            "branch 'a\tb'" | "Invalid publication 'ivy': branch cannot contain ISO control character '\\u0009'"
            "status ''"     | "Invalid publication 'ivy': status cannot be an empty string. Use null instead"
            "status 'a\tb'" | "Invalid publication 'ivy': status cannot contain ISO control character '\\u0009'"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/rules/RuleSourceBackedRuleActionTest.groovy

                                                          "Method theRule(java.util.List<java.lang.Integer>) is not a valid rule method: First parameter of a rule method must be of type java.util.List<java.lang.String>",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.4K bytes
    - Viewed (0)
Back to top