Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for test_app (0.2 sec)

  1. api/openapi-spec/v3/apis__apiextensions.k8s.io__v1_openapi.json

    relative JSON path (i.e. with array notation) scoped to the location of this x-kubernetes-validations extension in the schema and refer to an existing field. e.g. when validation checks if a specific attribute `foo` under a map `testMap`, the fieldPath could be set to `.testMap.foo` If the validation checks two lists must have unique attributes, the fieldPath could be set to either of the list: e.g. `.testList` It does not support list numeric index. It supports child operation to refer to an existing...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 178.6K bytes
    - Viewed (0)
  2. src/reflect/all_test.go

    	}
    }
    
    func TestNilPtrValueSub(t *testing.T) {
    	var pi *int
    	if pv := ValueOf(pi); pv.Elem().IsValid() {
    		t.Error("ValueOf((*int)(nil)).Elem().IsValid()")
    	}
    }
    
    func TestMap(t *testing.T) {
    	m := map[string]int{"a": 1, "b": 2}
    	mv := ValueOf(m)
    	if n := mv.Len(); n != len(m) {
    		t.Errorf("Len = %d, want %d", n, len(m))
    	}
    	keys := mv.MapKeys()
    	newmap := MakeMap(mv.Type())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
Back to top