// RoundTripTest runs roundtrip tests for given scheme func RoundTripTest(t *testing.T, scheme *runtime.Scheme, codecs serializer.CodecFactory) { … } // GetRoundtripTestCases returns the testcases for roundtrip testing for given scheme func GetRoundtripTestCases(t *testing.T, scheme *runtime.Scheme, codecs serializer.CodecFactory) []TestCase { … } func roundTrip(t *testing.T, tc TestCase) { … }