kubernetes/staging/src/k8s.io/apimachinery/pkg/runtime/scheme_test.go

type testConversions

func (c *testConversions) internalToExternalSimple(in *runtimetesting.InternalSimple, out *runtimetesting.ExternalSimple, scope conversion.Scope) error {}

func (c *testConversions) externalToInternalSimple(in *runtimetesting.ExternalSimple, out *runtimetesting.InternalSimple, scope conversion.Scope) error {}

func (c *testConversions) registerConversions(s *runtime.Scheme) error {}

func TestScheme(t *testing.T) {}

func TestBadJSONRejection(t *testing.T) {}

func TestExternalToInternalMapping(t *testing.T) {}

func TestExtensionMapping(t *testing.T) {}

func TestEncode(t *testing.T) {}

func TestUnversionedTypes(t *testing.T) {}

// Returns a new Scheme set up with the test objects.
func GetTestScheme() *runtime.Scheme {}

func TestKnownTypes(t *testing.T) {}

func TestAddKnownTypesIdemPotent(t *testing.T) {}

type InternalSimple

func (s *InternalSimple) DeepCopyObject() runtime.Object {}

func TestConflictingAddKnownTypes(t *testing.T) {}

func TestConvertToVersionBasic(t *testing.T) {}

type testGroupVersioner

func (m testGroupVersioner) KindForGroupVersionKinds(kinds []schema.GroupVersionKind) (schema.GroupVersionKind, bool) {}

func (m testGroupVersioner) Identifier() string {}

func TestConvertToVersion(t *testing.T) {}

func TestConvert(t *testing.T) {}

func TestMetaValues(t *testing.T) {}

func TestMetaValuesUnregisteredConvert(t *testing.T) {}