- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 465 for testCases (0.13 sec)
-
build-logic/performance-testing/src/main/groovy/gradlebuild/performance/tasks/PerformanceTest.groovy
static String collectFailures(JUnitTestCase testCase) { List<JUnitFailure> failures = testCase.failures ?: [] return failures.collect { it.value }.join("\n") } private List<ScenarioBuildResultData> extractResultFromTestSuite(JUnitTestSuite testSuite, String testProject) { List<JUnitTestCase> testCases = testSuite.testCases ?: [] return testCases.findAll { !it.skipped }.collect {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Dec 03 03:46:18 UTC 2022 - 12.7K bytes - Viewed (0) -
cmd/bucket-policy-handlers_test.go
}, } // Iterating over the cases, fetching the policy and validating the response. for i, testCase := range testCases { // expected bucket policy json string. expectedBucketPolicyStr := fmt.Sprintf(testCase.expectedBucketPolicy, testCase.bucketName, testCase.bucketName) // initialize HTTP NewRecorder, this records any mutations to response writer inside the handler. recV4 := httptest.NewRecorder()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 32.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go
// ======================================================================= func TestPrefix(t *testing.T) { testcases := map[string]string{ "custom/prefix": "/custom/prefix/", "/custom//prefix//": "/custom/prefix/", "/registry": "/registry/", } for configuredPrefix, effectivePrefix := range testcases { _, store, _ := testSetup(t, withPrefix(configuredPrefix)) if store.pathPrefix != effectivePrefix {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 12:45:33 UTC 2024 - 26.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/metrics/metrics_test.go
testAPIServerIDHash = "sha256:14f9d63e669337ac6bfda2e2162915ee6a6067743eddd4e5c374b572f951ff37" ) var ( errCode = "empty" ) func TestRecordKMSOperationLatency(t *testing.T) { testCases := []struct { name string methodName string duration time.Duration operationErr error want string }{ { name: "operation success",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Sep 09 22:31:32 UTC 2023 - 31.9K bytes - Viewed (0) -
security/pkg/nodeagent/caclient/providers/citadel/client_test.go
} if err := file.Copy(filepath.Join(certDir, "key.pem"), dir, "key.pem"); err != nil { t.Fatal(err) } checkSign(t, cli, false) }) } func TestCitadelClient(t *testing.T) { testCases := map[string]struct { server mockCAServer expectedCert []string expectedErr string expectRetry bool }{ "Valid certs": { server: mockCAServer{Certs: fakeCert, Err: nil},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 24 21:03:23 UTC 2024 - 11.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/healthz/healthz_test.go
} for _, tc := range testCases { result := checkerNames(tc.have...) t.Run(tc.desc, func(t *testing.T) { if !reflect.DeepEqual(tc.want, result) { t.Errorf("want %#v, got %#v", tc.want, result) } }) } } func TestFormatQuoted(t *testing.T) { n1 := "n1" n2 := "n2" testCases := []struct { desc string names []string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 15 20:43:16 UTC 2023 - 11.4K bytes - Viewed (0) -
istioctl/pkg/workload/workload_test.go
} cmdWithClusterID := []string{ "entry", "configure", "-f", path.Join("testdata/vmconfig", dir.Name(), "workloadgroup.yaml"), "--internalIP", testCases[dir.Name()]["internalIP"], "--ingressIP", testCases[dir.Name()]["ingressIP"], "--clusterID", constants.DefaultClusterName, "--revision", "rev-1", "-o", testdir, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 27 16:59:05 UTC 2024 - 14.6K bytes - Viewed (0) -
security/pkg/k8s/configutil_test.go
gvr := schema.GroupVersionResource{ Resource: "configmaps", Version: "v1", } caBundle := "test-data" testData := map[string]string{ constants.CACertNamespaceConfigMapDataName: "test-data", } testCases := []struct { name string existingConfigMap *v1.ConfigMap expectedActions []ktesting.Action expectedErr string }{ { name: "non-existing ConfigMap",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 08 21:58:25 UTC 2024 - 13K bytes - Viewed (0) -
src/encoding/xml/xml_test.go
} s := &Test{Ns: "http://example.com/ns", Body: "hello world"} return Marshal(s) } func TestIssue11405(t *testing.T) { testCases := []string{ "<root>", "<root><foo>", "<root><foo></foo>", } for _, tc := range testCases { d := NewDecoder(strings.NewReader(tc)) var err error for { _, err = d.Token() if err != nil { break } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 36.9K bytes - Viewed (0) -
pkg/registry/core/pod/storage/storage_test.go
} binding := validNewBinding() binding.UID = testCase.podUIDGetter(podCreated.(*api.Pod)) binding.ResourceVersion = testCase.podResourceVersionGetter(podCreated.(*api.Pod)) if _, err := bindingStorage.Create(ctx, binding.Name, binding, rest.ValidateAllObjectFunc, &metav1.CreateOptions{}); !testCase.errOK(err) { t.Errorf("%s: unexpected error: %v", k, err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 07:18:44 UTC 2024 - 38.8K bytes - Viewed (0)