Add proto roundtrip tests in roundtrip_test.go files

pull/564/head
Dr. Stefan Schimanski 2019-03-04 21:40:48 +01:00 committed by Jordan Liggitt
parent 95cd1d59e4
commit b9e12fd4db
6 changed files with 7 additions and 0 deletions

View File

@ -25,4 +25,5 @@ import (
func TestRoundTrip(t *testing.T) {
roundtrip.RoundTripTestForAPIGroup(t, Install, apiextensionsfuzzer.Funcs)
roundtrip.RoundTripProtobufTestForAPIGroup(t, Install, apiextensionsfuzzer.Funcs)
}

View File

@ -25,4 +25,5 @@ import (
func TestRoundTrip(t *testing.T) {
roundtrip.RoundTripTestForAPIGroup(t, Install, testapigroupfuzzer.Funcs)
roundtrip.RoundTripProtobufTestForAPIGroup(t, Install, testapigroupfuzzer.Funcs)
}

View File

@ -25,4 +25,5 @@ import (
func TestRoundTrip(t *testing.T) {
roundtrip.RoundTripTestForAPIGroup(t, Install, fuzzer.Funcs)
roundtrip.RoundTripProtobufTestForAPIGroup(t, Install, fuzzer.Funcs)
}

View File

@ -25,4 +25,5 @@ import (
func TestRoundTrip(t *testing.T) {
roundtrip.RoundTripTestForAPIGroup(t, Install, examplefuzzer.Funcs)
roundtrip.RoundTripProtobufTestForAPIGroup(t, Install, examplefuzzer.Funcs)
}

View File

@ -25,4 +25,5 @@ import (
func TestRoundTrip(t *testing.T) {
roundtrip.RoundTripTestForAPIGroup(t, Install, examplefuzzer.Funcs)
roundtrip.RoundTripProtobufTestForAPIGroup(t, Install, examplefuzzer.Funcs)
}

View File

@ -25,4 +25,6 @@ import (
func TestRoundTripTypes(t *testing.T) {
roundtrip.RoundTripTestForAPIGroup(t, Install, wardlefuzzer.Funcs)
// TODO: enable protobuf generation for the sample-apiserver
// roundtrip.RoundTripProtobufTestForAPIGroup(t, Install, wardlefuzzer.Funcs)
}