- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for barValue (0.28 sec)
-
pkg/apis/apps/validation/validation_test.go
tweakOrdinalsStart(-2), ), errs: field.ErrorList{ field.Invalid(field.NewPath("spec", "ordinals.start"), nil, ""), }, }, } cmpOpts := []cmp.Option{cmpopts.IgnoreFields(field.Error{}, "BadValue", "Detail"), cmpopts.SortSlices(func(a, b *field.Error) bool { return a.Error() < b.Error() })} for _, testCase := range append(successCases, errorCases...) { name := testCase.name var testTitle string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 111.9K bytes - Viewed (0) -
pkg/apis/batch/validation/validation_test.go
timeZoneBadPrefix = " Europe/Rome" timeZoneBadSuffix = "Europe/Rome " timeZoneBadName = "Europe/InvalidRome" timeZoneEmptySpace = " " ) var ignoreErrValueDetail = cmpopts.IgnoreFields(field.Error{}, "BadValue", "Detail") func getValidManualSelector() *metav1.LabelSelector { return &metav1.LabelSelector{ MatchLabels: map[string]string{"a": "b"}, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 20:49:09 UTC 2024 - 124.3K bytes - Viewed (0) -
pkg/registry/batch/job/strategy_test.go
_ "k8s.io/kubernetes/pkg/apis/batch/install" api "k8s.io/kubernetes/pkg/apis/core" "k8s.io/kubernetes/pkg/features" "k8s.io/utils/ptr" ) var ignoreErrValueDetail = cmpopts.IgnoreFields(field.Error{}, "BadValue", "Detail") // TestJobStrategy_PrepareForUpdate tests various scenarios for PrepareForUpdate func TestJobStrategy_PrepareForUpdate(t *testing.T) { validSelector := getValidLabelSelector()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 101.5K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go
for i := range errs { // Ignore unchecked fields for this test errs[i].Detail = "" errs[i].BadValue = nil } require.ElementsMatch(t, tt.errors, errs) }) } } func TestValidateFieldPath(t *testing.T) { sts := schema.Structural{ Generic: schema.Generic{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 17:14:10 UTC 2024 - 159.9K bytes - Viewed (0)