Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for barValue (0.34 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/IvySpecificComponentMetadataRulesIntegrationTest.groovy

                'org.test:projectA:1.0' {
                    withModule {
                        withExtraInfo((IvySpecificComponentMetadataRulesIntegrationTest.ns('foo')): "fooValue", (IvySpecificComponentMetadataRulesIntegrationTest.ns('bar')): "barValue")
                        withBranch('someBranch')
                        withStatus('release')
                    }
                }
            }
    
            buildFile <<
                """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  2. platforms/software/ivy/src/test/groovy/org/gradle/api/publish/ivy/internal/publisher/IvyDescriptorFileGeneratorTest.groovy

            then:
            ivyXml.info."foo".size() == 1
            ivyXml.info."foo"[0].namespaceURI() == "http://namespace/foo"
            ivyXml.info."foo"[0].text() == 'fooValue'
            ivyXml.info."bar".size() == 1
            ivyXml.info."bar"[0].namespaceURI() == "http://namespace/bar"
            ivyXml.info."bar"[0].text() == 'barValue'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/common/equality_test.go

                    foo:
                    - bar: fizz
                      val: fizzValue
                    - bar: baz
                      val: barValue
                `),
    			Schema: mustSchema(`
                    properties:
                      foo:
                        type: array
                        items:
                          type: object
                          properties:
                            bar:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 13 21:36:46 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/labels/selector_test.go

    				&field.Error{
    					Type:     field.ErrorTypeInvalid,
    					Field:    "values",
    					BadValue: []string{},
    				},
    			},
    		},
    		{
    			Key:  "x2",
    			Op:   selection.NotIn,
    			Vals: sets.NewString(),
    			WantErr: field.ErrorList{
    				&field.Error{
    					Type:     field.ErrorTypeInvalid,
    					Field:    "values",
    					BadValue: []string{},
    				},
    			},
    		},
    		{
    			Key:  "x3",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 14 16:39:04 UTC 2022
    - 29.9K bytes
    - Viewed (0)
  5. pkg/apis/resource/validation/validation_podschedulingcontext_test.go

    	}
    }
    
    func TestValidatePodSchedulingContexts(t *testing.T) {
    	goodName := "foo"
    	goodNS := "ns"
    	goodPodSchedulingSpec := resource.PodSchedulingContextSpec{}
    	now := metav1.Now()
    	badName := "!@#$%^"
    	badValue := "spaces not allowed"
    
    	scenarios := map[string]struct {
    		schedulingCtx *resource.PodSchedulingContext
    		wantFailures  field.ErrorList
    	}{
    		"good-schedulingCtx": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 09:18:08 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  6. pkg/apis/resource/validation/validation_resourceclaimtemplate_test.go

    	goodName := "foo"
    	badName := "!@#$%^"
    	goodNS := "ns"
    	goodClaimSpec := resource.ResourceClaimSpec{
    		ResourceClassName: goodName,
    		AllocationMode:    validMode,
    	}
    	now := metav1.Now()
    	badValue := "spaces not allowed"
    	badAPIGroup := "example.com/v1"
    	goodAPIGroup := "example.com"
    
    	scenarios := map[string]struct {
    		template     *resource.ResourceClaimTemplate
    		wantFailures field.ErrorList
    	}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. pkg/apis/resource/validation/validation_resourceclaimparameters_test.go

    		},
    		DriverRequests: requests,
    	}
    }
    
    var goodRequests []resource.DriverRequests
    
    func TestValidateResourceClaimParameters(t *testing.T) {
    	goodName := "foo"
    	badName := "!@#$%^"
    	badValue := "spaces not allowed"
    	now := metav1.Now()
    
    	scenarios := map[string]struct {
    		parameters   *resource.ResourceClaimParameters
    		wantFailures field.ErrorList
    	}{
    		"good": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:21:16 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. pkg/apis/resource/validation/validation_resourceclassparameters_test.go

    			Namespace: namespace,
    		},
    		Filters: filters,
    	}
    }
    
    var goodFilters []resource.ResourceFilter
    
    func TestValidateResourceClassParameters(t *testing.T) {
    	goodName := "foo"
    	badName := "!@#$%^"
    	badValue := "spaces not allowed"
    	now := metav1.Now()
    
    	scenarios := map[string]struct {
    		parameters   *resource.ResourceClassParameters
    		wantFailures field.ErrorList
    	}{
    		"good": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:21:16 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. pkg/apis/resource/validation/validation_resourceclass_test.go

    	goodName := "foo"
    	now := metav1.Now()
    	goodParameters := resource.ResourceClassParametersReference{
    		Name:      "valid",
    		Namespace: "valid",
    		Kind:      "foo",
    	}
    	badName := "!@#$%^"
    	badValue := "spaces not allowed"
    	badAPIGroup := "example.com/v1"
    	goodAPIGroup := "example.com"
    
    	scenarios := map[string]struct {
    		class        *resource.ResourceClass
    		wantFailures field.ErrorList
    	}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/validation/field/errors.go

    	case v.Type == ErrorTypeForbidden:
    		s = v.Type.String()
    	case v.Type == ErrorTypeTooLong:
    		s = v.Type.String()
    	case v.Type == ErrorTypeInternal:
    		s = v.Type.String()
    	case v.BadValue == omitValue:
    		s = v.Type.String()
    	default:
    		value := v.BadValue
    		valueType := reflect.TypeOf(value)
    		if value == nil || valueType == nil {
    			value = "null"
    		} else if valueType.Kind() == reflect.Pointer {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 11.1K bytes
    - Viewed (0)
Back to top