Commit b9e12fd4 authored by Dr. Stefan Schimanski's avatar Dr. Stefan Schimanski Committed by Jordan Liggitt

Add proto roundtrip tests in roundtrip_test.go files

parent 95cd1d59
...@@ -25,4 +25,5 @@ import ( ...@@ -25,4 +25,5 @@ import (
func TestRoundTrip(t *testing.T) { func TestRoundTrip(t *testing.T) {
roundtrip.RoundTripTestForAPIGroup(t, Install, apiextensionsfuzzer.Funcs) roundtrip.RoundTripTestForAPIGroup(t, Install, apiextensionsfuzzer.Funcs)
roundtrip.RoundTripProtobufTestForAPIGroup(t, Install, apiextensionsfuzzer.Funcs)
} }
...@@ -25,4 +25,5 @@ import ( ...@@ -25,4 +25,5 @@ import (
func TestRoundTrip(t *testing.T) { func TestRoundTrip(t *testing.T) {
roundtrip.RoundTripTestForAPIGroup(t, Install, testapigroupfuzzer.Funcs) roundtrip.RoundTripTestForAPIGroup(t, Install, testapigroupfuzzer.Funcs)
roundtrip.RoundTripProtobufTestForAPIGroup(t, Install, testapigroupfuzzer.Funcs)
} }
...@@ -25,4 +25,5 @@ import ( ...@@ -25,4 +25,5 @@ import (
func TestRoundTrip(t *testing.T) { func TestRoundTrip(t *testing.T) {
roundtrip.RoundTripTestForAPIGroup(t, Install, fuzzer.Funcs) roundtrip.RoundTripTestForAPIGroup(t, Install, fuzzer.Funcs)
roundtrip.RoundTripProtobufTestForAPIGroup(t, Install, fuzzer.Funcs)
} }
...@@ -25,4 +25,5 @@ import ( ...@@ -25,4 +25,5 @@ import (
func TestRoundTrip(t *testing.T) { func TestRoundTrip(t *testing.T) {
roundtrip.RoundTripTestForAPIGroup(t, Install, examplefuzzer.Funcs) roundtrip.RoundTripTestForAPIGroup(t, Install, examplefuzzer.Funcs)
roundtrip.RoundTripProtobufTestForAPIGroup(t, Install, examplefuzzer.Funcs)
} }
...@@ -25,4 +25,5 @@ import ( ...@@ -25,4 +25,5 @@ import (
func TestRoundTrip(t *testing.T) { func TestRoundTrip(t *testing.T) {
roundtrip.RoundTripTestForAPIGroup(t, Install, examplefuzzer.Funcs) roundtrip.RoundTripTestForAPIGroup(t, Install, examplefuzzer.Funcs)
roundtrip.RoundTripProtobufTestForAPIGroup(t, Install, examplefuzzer.Funcs)
} }
...@@ -25,4 +25,6 @@ import ( ...@@ -25,4 +25,6 @@ import (
func TestRoundTripTypes(t *testing.T) { func TestRoundTripTypes(t *testing.T) {
roundtrip.RoundTripTestForAPIGroup(t, Install, wardlefuzzer.Funcs) roundtrip.RoundTripTestForAPIGroup(t, Install, wardlefuzzer.Funcs)
// TODO: enable protobuf generation for the sample-apiserver
// roundtrip.RoundTripProtobufTestForAPIGroup(t, Install, wardlefuzzer.Funcs)
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment