Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestEstimateMaxLengthJSON (0.15 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/schemas_test.go

    			},
    			ValueValidation: &schema.ValueValidation{
    				Format: format,
    			},
    		},
    		ValueValidation: &schema.ValueValidation{
    			MaxItems: maxItems,
    		},
    	}
    }
    
    func TestEstimateMaxLengthJSON(t *testing.T) {
    	type maxLengthTest struct {
    		Name                string
    		InputSchema         *schema.Structural
    		ExpectedMaxElements int64
    	}
    	tests := []maxLengthTest{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 14K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/openapi/schemas_test.go

    					Type:   []string{arrayType},
    					Format: format,
    				}}},
    			MaxItems: maxItems,
    		},
    	}
    }
    
    func maxPtr(max int64) *int64 {
    	return &max
    }
    
    func TestEstimateMaxLengthJSON(t *testing.T) {
    	type maxLengthTest struct {
    		Name                string
    		InputSchema         *spec.Schema
    		ExpectedMaxElements int64
    	}
    	tests := []maxLengthTest{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 14 17:18:27 UTC 2022
    - 13K bytes
    - Viewed (0)
Back to top