- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 532 for testCases (0.13 sec)
-
pkg/serviceaccount/claims_test.go
var saDeletedErr, deletedErr string if deletionTestCase.expectErr { saDeletedErr = "service account ns/saname has been deleted" deletedErr = "service account token has been invalidated" } testcases = append(testcases, claimTestCase{ name: deletionTestCase.name + " serviceaccount", getter: fakeGetter{deletedServiceAccount, nil, nil, nil},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 17.9K bytes - Viewed (0) -
internal/bucket/lifecycle/filter_test.go
"testing" "github.com/dustin/go-humanize" ) // TestUnsupportedFilters checks if parsing Filter xml with // unsupported elements returns appropriate errors func TestUnsupportedFilters(t *testing.T) { testCases := []struct { inputXML string expectedErr error }{ { // Filter with And tags inputXML: ` <Filter> <And> <Prefix>key-prefix</Prefix> </And> </Filter>`,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Feb 27 00:01:20 UTC 2024 - 7.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/load/load_test.go
} if !strings.Contains(err.Error(), "apiserver.config.k8s.io/v99") { t.Fatalf("expected apiVersion error, got %v", err) } } } func TestLoadFromData(t *testing.T) { testcases := []struct { name string data []byte expectErr string expectConfig *api.AuthorizationConfiguration }{ { name: "nil", data: nil,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 02 07:00:31 UTC 2024 - 8.3K bytes - Viewed (0) -
pkg/config/security/security_test.go
if c.wantError == (err == nil) { t.Fatalf("CheckValidPathTemplate(%s): want error (%v) but got (%v)", c.name, c.wantError, err) } } } func TestContainsPathTemplate(t *testing.T) { testCases := []struct { name string path string isPathTemplate bool }{ { name: "matchOneOnly", path: "foo/bar/{*}", isPathTemplate: true, }, {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 20 01:58:53 UTC 2024 - 8.3K bytes - Viewed (0) -
src/image/gif/reader_test.go
// of an existing data sub-block (past the LZW End of Information code) or in // a separate data sub-block. The 0x02 values are arbitrary. const extra = "\x02\x02\x02\x02" testCases := []struct { nPix int // The number of pixels in the image data. // If non-zero, write this many extra bytes inside the data sub-block // containing the LZW end code. extraExisting int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 16:15:54 UTC 2024 - 13.3K bytes - Viewed (0) -
pkg/kubelet/prober/prober_manager_test.go
defer cleanup(t, m) featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.SidecarContainers, true) if err := expectProbes(m, nil); err != nil { t.Error(err) } testCases := []struct { desc string probePaths []probeKey enableSidecarContainers bool }{ { desc: "pod with sidecar (no sidecar containers feature enabled)",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 18.8K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/RuntimeExec3InstrumentationInDynamicGroovyWithIndyIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 2.6K bytes - Viewed (0) -
tests/integration/ambient/wasm_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 21:02:05 UTC 2024 - 7.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/metrics_test.go
validation.Metrics = testMetrics defer func() { validation.Metrics = testMetrics.original }() metricNames := []string{ "apiextensions_apiserver_validation_ratcheting_seconds", } testCases := []struct { desc string obj *unstructured.Unstructured old *unstructured.Unstructured schema apiextensions.JSONSchemaProps iters int // how many times to validate the same update before checking metric
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 10.9K bytes - Viewed (1) -
internal/bucket/lifecycle/lifecycle_test.go
}, } for i, tc := range testCases { t.Run(fmt.Sprintf("Test %d", i+1), func(t *testing.T) { got := ExpectedExpiryTime(tc.modTime, int(tc.days)) if !got.Equal(tc.expected) { t.Fatalf("Expected %v to be equal to %v", got, tc.expected) } }) } } func TestEval(t *testing.T) { testCases := []struct { inputConfig string
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 23 01:12:48 UTC 2024 - 55.1K bytes - Viewed (0)