- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestAddKnownTypesIdemPotent (0.27 sec)
-
staging/src/k8s.io/apimachinery/pkg/runtime/scheme_test.go
for _, s := range []string{"TestType1", "TestType2", "TestType3", "ExternalInternalSame"} { if _, ok := types[s]; !ok { t.Errorf("missing type %q", s) } } } func TestAddKnownTypesIdemPotent(t *testing.T) { s := runtime.NewScheme() gv := schema.GroupVersion{Group: "foo", Version: "v1"} s.AddKnownTypes(gv, &runtimetesting.InternalSimple{}) s.AddKnownTypes(gv, &runtimetesting.InternalSimple{})
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:48:03 UTC 2023 - 38.2K bytes - Viewed (0)