Unverified Commit fb9fdb33 authored by Kubernetes Prow Robot's avatar Kubernetes Prow Robot Committed by GitHub

Merge pull request #74937 from liggitt/proto-verify

Add proto roundtrip tests in roundtrip_test.go files
parents 21b0cacd b9e12fd4
...@@ -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