Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,344 for valid (0.04 sec)

  1. pkg/config/validation/agent/extensionprovider_test.go

    			err := validateExtensionProviderService(tt.service)
    			valid := err == nil
    			if valid != tt.valid {
    				t.Errorf("Expected valid=%v, got valid=%v for %v", tt.valid, valid, tt.service)
    			}
    		})
    	}
    }
    
    func TestValidateExtensionProviderTracingZipkin(t *testing.T) {
    	cases := []struct {
    		name   string
    		config *meshconfig.MeshConfig_ExtensionProvider_ZipkinTracingProvider
    		valid  bool
    	}{
    		{
    			name: "zipkin normal",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/dependencies/JavaConfigurationSetupIntegrationTest.groovy

            'java'         | 'annotationProcessor'          | VALID
            'java'         | 'api'                          | DOES_NOT_EXIST
            'java'         | 'compileOnlyApi'               | DOES_NOT_EXIST
    
            'java-library' | 'compileOnly'                  | VALID
            'java-library' | 'runtimeOnly'                  | VALID
            'java-library' | 'implementation'               | VALID
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  3. pkg/config/validation/virtualservice_test.go

    				t.Fatalf("got valid=%v but wanted valid=%v: %v", err.Err == nil, tc.valid, err)
    			}
    		})
    	}
    }
    
    func TestValidateDelegateHTTPRoute(t *testing.T) {
    	testCases := []struct {
    		name  string
    		route *networking.HTTPRoute
    		valid bool
    	}{
    		{name: "empty", route: &networking.HTTPRoute{ // nothing
    		}, valid:                                     false},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 15:33:55 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. pkg/config/validation/agent/validation_test.go

    			valid: true,
    			name:  "standard kubernetes FQDN",
    		},
    		{
    			fqdn:  "istio-pilot.istio-system.svc.cluster.local.",
    			valid: true,
    			name:  "unambiguous kubernetes FQDN",
    		},
    	}
    	for _, tt := range tests {
    		tt := tt
    		t.Run(tt.name, func(t *testing.T) {
    			err := ValidateFQDN(tt.fqdn)
    			valid := err == nil
    			if valid != tt.valid {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  5. istioctl/pkg/validate/validate_test.go

    			valid: false,
    		},
    		{
    			name:  "port name missing service",
    			in:    portNameMissingSvc,
    			valid: false,
    		},
    		{
    			name:  "version label missing deployment",
    			in:    versionLabelMissingDeployment,
    			valid: true,
    		},
    		{
    			name:  "valid port naming service",
    			in:    validPortNamingSvc,
    			valid: true,
    		},
    		{
    			name:  "valid port naming with suffix service",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 25 08:08:36 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/binding/DefaultStructBindingsStoreTest.groovy

            ex.message == """Type ${fullyQualifiedNameOf(WithInstanceScopedField)} is not a valid managed type:
    - Field name is not valid: Fields must be static final.
    - Field age is not valid: Fields must be static final."""
        }
    
        @Managed
        static abstract class WithInstanceScopedFieldInSuperclass extends WithInstanceScopedField {
        }
    
        def "instance scoped fields are not allowed in super-class"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/syntax/parser_test.go

    		{"//line foo :123:1\n", valid, "foo ", 123, 1},
    		{"//line ::123\n", valid, ":", 123, 0},
    
    		// effect of valid //line directives on columns
    		{"//line :x:1:10\n", valid, ":x", 1, 10},
    		{"//line foo ::1:2\n", valid, "foo :", 1, 2},
    		{"//line foo:123abc:1:1000\n", valid, "foo:123abc", 1, 1000},
    		{"//line foo :123:1000\n\n", valid, "foo ", 124, 1},
    		{"//line ::123:1234\n", valid, ":", 123, 1234},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 16:30:19 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. pkg/apis/core/validation/events_test.go

    			newEvent := oldEvent.DeepCopy()
    			newEvent.EventTime = tc.New
    
    			updateErrs := ValidateEventUpdate(newEvent, oldEvent, eventsv1.SchemeGroupVersion)
    			if e, a := tc.Valid, len(updateErrs) == 0; e != a {
    				t.Errorf("%v: expected valid=%v, got %v: %v", tc.Valid, e, a, updateErrs)
    			}
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 01 19:47:37 UTC 2022
    - 37.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleExtractorTest.groovy

    - Method notOk() is not a valid rule method: Cannot have type variables (i.e. cannot be a generic method)
    - Method notOk() is not a valid rule method: A method annotated with @Mutate must have at least one parameter
    - Method notARule() is not a valid rule method: A method that is not annotated as a rule must be private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  10. pkg/proxy/ipvs/ipset/ipset_test.go

    			valid:    false,
    		},
    		{ // case[5]
    			protocol: "TCP",
    			valid:    false,
    			desc:     "should be low case",
    		},
    		{ // case[6]
    			protocol: "UDP",
    			valid:    false,
    			desc:     "should be low case",
    		},
    		{ // case[7]
    			protocol: "",
    			valid:    false,
    		},
    		{ // case[8]
    			protocol: ProtocolSCTP,
    			valid:    true,
    		},
    	}
    	for i := range testCases {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 41.5K bytes
    - Viewed (0)
Back to top