- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 50 for testcover (0.23 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/tls_test.go
metav1.AddToGroupVersion(scheme, metav1.SchemeGroupVersion) utilruntime.Must(example.AddToScheme(scheme)) utilruntime.Must(examplev1.AddToScheme(scheme)) } func TestTLSConnection(t *testing.T) { codec := apitesting.TestCodec(codecs, examplev1.SchemeGroupVersion) certFile, keyFile, caFile := configureTLSCerts(t) defer os.RemoveAll(filepath.Dir(certFile)) // override server config to be TLS-enabled
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:57:37 UTC 2024 - 3.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/example/fuzzer/fuzzer.go
types := []runtime.Object{&example.Pod{}} obj := types[c.Rand.Intn(len(types))] c.Fuzz(obj) // Convert the object to raw bytes bytes, err := runtime.Encode(apitesting.TestCodec(codecs, examplev1.SchemeGroupVersion), obj) if err != nil { panic(fmt.Sprintf("Failed to encode object: %v", err)) } // Set the bytes field on the RawExtension r.Raw = bytes }, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 01 19:31:12 UTC 2018 - 3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/fuzzer/fuzzer.go
types := []runtime.Object{&testapigroup.Carp{}} obj := types[c.Rand.Intn(len(types))] c.Fuzz(obj) // Convert the object to raw bytes bytes, err := runtime.Encode(apitesting.TestCodec(codecs, v1.SchemeGroupVersion), obj) if err != nil { panic(fmt.Sprintf("Failed to encode object: %v", err)) } // Set the bytes field on the RawExtension r.Raw = bytes }, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 01 19:31:12 UTC 2018 - 3.1K bytes - Viewed (0) -
test/typeparam/listimp2.dir/main.go
panic(fmt.Sprintf("e.value = %d, want 1", e.Value)) } if e.Next() != nil { panic(fmt.Sprintf("e.Next() != nil")) } if e.Prev() != nil { panic(fmt.Sprintf("e.Prev() != nil")) } } func TestMove() { l := a.New[int]() e1 := l.PushBack(1) e2 := l.PushBack(2) e3 := l.PushBack(3) e4 := l.PushBack(4) l.MoveAfter(e3, e3) a.CheckListPointers(l, []*(a.Element[int]){e1, e2, e3, e4})
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 7.4K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformEnvironmentIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 11.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_testing_utils_test.go
func newEtcdTestStorage(t *testing.T, prefix string) (*etcd3testing.EtcdTestServer, storage.Interface) { server, _ := etcd3testing.NewUnsecuredEtcd3TestClientServer(t) storage := etcd3.New( server.V3Client, apitesting.TestCodec(codecs, examplev1.SchemeGroupVersion), newPod, newPodList, prefix, "/pods", schema.GroupResource{Resource: "pods"}, identity.NewEncryptCheckTransformer(), etcd3.NewDefaultLeaseManagerConfig())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 20 20:43:52 UTC 2023 - 3.8K bytes - Viewed (0) -
pilot/pkg/config/kube/crd/conversion_test.go
if _, err := ConvertObject(collections.VirtualService, &IstioKind{Spec: json.RawMessage(`{"x":1}`)}, "local"); err != nil { t.Errorf("error for converting object: %s", err) } } func TestConvert(t *testing.T) { cases := []struct { name string cfg config.Config }{ { name: "istio", cfg: config.Config{ Meta: config.Meta{ GroupVersionKind: gvk.VirtualService,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 25 18:26:16 UTC 2024 - 4.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/audit_test.go
// fixtures simpleFoo := &genericapitesting.Simple{Other: "foo"} simpleFooJSON, _ := runtime.Encode(testCodec, simpleFoo) simpleCPrime := &genericapitesting.Simple{ ObjectMeta: metav1.ObjectMeta{Name: "c", Namespace: "other"}, Other: "bla", } simpleCPrimeJSON, _ := runtime.Encode(testCodec, simpleCPrime) userAgent := "audit-test" // event checks noRequestBody := func(i int) eventCheck {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 14 23:04:34 UTC 2022 - 12.1K bytes - Viewed (0) -
plugin/pkg/admission/resourcequota/admission_test.go
if expectedValue != actualValue { t.Errorf("Usage Used: Key: %v, Expected: %v, Actual: %v", k, expectedValue, actualValue) } } } func removeListWatch(in []testcore.Action) []testcore.Action { decimatedActions := []testcore.Action{} // list and watch resource quota is done to maintain our cache, so that's expected. Remove them from results for i := range in {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 84.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/conversion/queryparams/convert_test.go
} } delete(local, k) } if len(local) > 0 { t.Errorf("%#v: expected map has keys that were not found in actual map: %#v", input, local) } } func TestConvert(t *testing.T) { sinceSeconds := int64(123) tailLines := int64(0) sinceTime := metav1.Date(2000, 1, 1, 12, 34, 56, 0, time.UTC) tests := []struct { input interface{} expected url.Values }{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 03 07:01:02 UTC 2018 - 6.2K bytes - Viewed (0)