- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestEncode_Ptr (0.41 sec)
-
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/codec_test.go
if err := runtime.DecodeInto(codec, data, into); err != nil { t.Fatalf("unexpected error: %v", err) } if !semantic.DeepEqual(expect, into) { t.Errorf("unexpected object: %#v", obj) } } func TestEncode_Ptr(t *testing.T) { _, codec := GetTestScheme() tt := &runtimetesting.TestType1{A: "I am a pointer object"} data, err := runtime.Encode(codec, tt) obj2, err2 := runtime.Decode(codec, data)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 13.2K bytes - Viewed (0)