Bumping k8s dependencies to 1.13
This commit is contained in:
156
vendor/github.com/gogo/protobuf/test/enumstringer/enumstringer.pb.go
generated
vendored
156
vendor/github.com/gogo/protobuf/test/enumstringer/enumstringer.pb.go
generated
vendored
@@ -1,18 +1,6 @@
|
||||
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
||||
// source: enumstringer.proto
|
||||
|
||||
/*
|
||||
Package enumstringer is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
enumstringer.proto
|
||||
|
||||
It has these top-level messages:
|
||||
NidOptEnum
|
||||
NinOptEnum
|
||||
NidRepEnum
|
||||
NinRepEnum
|
||||
*/
|
||||
package enumstringer
|
||||
|
||||
import proto "github.com/gogo/protobuf/proto"
|
||||
@@ -68,17 +56,40 @@ func (x *TheTestEnum) UnmarshalJSON(data []byte) error {
|
||||
*x = TheTestEnum(value)
|
||||
return nil
|
||||
}
|
||||
func (TheTestEnum) EnumDescriptor() ([]byte, []int) { return fileDescriptorEnumstringer, []int{0} }
|
||||
|
||||
type NidOptEnum struct {
|
||||
Field1 TheTestEnum `protobuf:"varint,1,opt,name=Field1,enum=enumstringer.TheTestEnum" json:"Field1"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
func (TheTestEnum) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_enumstringer_cc4e1499449a36f3, []int{0}
|
||||
}
|
||||
|
||||
func (m *NidOptEnum) Reset() { *m = NidOptEnum{} }
|
||||
func (m *NidOptEnum) String() string { return proto.CompactTextString(m) }
|
||||
func (*NidOptEnum) ProtoMessage() {}
|
||||
func (*NidOptEnum) Descriptor() ([]byte, []int) { return fileDescriptorEnumstringer, []int{0} }
|
||||
type NidOptEnum struct {
|
||||
Field1 TheTestEnum `protobuf:"varint,1,opt,name=Field1,enum=enumstringer.TheTestEnum" json:"Field1"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *NidOptEnum) Reset() { *m = NidOptEnum{} }
|
||||
func (m *NidOptEnum) String() string { return proto.CompactTextString(m) }
|
||||
func (*NidOptEnum) ProtoMessage() {}
|
||||
func (*NidOptEnum) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_enumstringer_cc4e1499449a36f3, []int{0}
|
||||
}
|
||||
func (m *NidOptEnum) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_NidOptEnum.Unmarshal(m, b)
|
||||
}
|
||||
func (m *NidOptEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_NidOptEnum.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *NidOptEnum) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_NidOptEnum.Merge(dst, src)
|
||||
}
|
||||
func (m *NidOptEnum) XXX_Size() int {
|
||||
return xxx_messageInfo_NidOptEnum.Size(m)
|
||||
}
|
||||
func (m *NidOptEnum) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_NidOptEnum.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_NidOptEnum proto.InternalMessageInfo
|
||||
|
||||
func (m *NidOptEnum) GetField1() TheTestEnum {
|
||||
if m != nil {
|
||||
@@ -88,14 +99,35 @@ func (m *NidOptEnum) GetField1() TheTestEnum {
|
||||
}
|
||||
|
||||
type NinOptEnum struct {
|
||||
Field1 *TheTestEnum `protobuf:"varint,1,opt,name=Field1,enum=enumstringer.TheTestEnum" json:"Field1,omitempty"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
Field1 *TheTestEnum `protobuf:"varint,1,opt,name=Field1,enum=enumstringer.TheTestEnum" json:"Field1,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *NinOptEnum) Reset() { *m = NinOptEnum{} }
|
||||
func (m *NinOptEnum) String() string { return proto.CompactTextString(m) }
|
||||
func (*NinOptEnum) ProtoMessage() {}
|
||||
func (*NinOptEnum) Descriptor() ([]byte, []int) { return fileDescriptorEnumstringer, []int{1} }
|
||||
func (m *NinOptEnum) Reset() { *m = NinOptEnum{} }
|
||||
func (m *NinOptEnum) String() string { return proto.CompactTextString(m) }
|
||||
func (*NinOptEnum) ProtoMessage() {}
|
||||
func (*NinOptEnum) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_enumstringer_cc4e1499449a36f3, []int{1}
|
||||
}
|
||||
func (m *NinOptEnum) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_NinOptEnum.Unmarshal(m, b)
|
||||
}
|
||||
func (m *NinOptEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_NinOptEnum.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *NinOptEnum) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_NinOptEnum.Merge(dst, src)
|
||||
}
|
||||
func (m *NinOptEnum) XXX_Size() int {
|
||||
return xxx_messageInfo_NinOptEnum.Size(m)
|
||||
}
|
||||
func (m *NinOptEnum) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_NinOptEnum.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_NinOptEnum proto.InternalMessageInfo
|
||||
|
||||
func (m *NinOptEnum) GetField1() TheTestEnum {
|
||||
if m != nil && m.Field1 != nil {
|
||||
@@ -105,14 +137,35 @@ func (m *NinOptEnum) GetField1() TheTestEnum {
|
||||
}
|
||||
|
||||
type NidRepEnum struct {
|
||||
Field1 []TheTestEnum `protobuf:"varint,1,rep,name=Field1,enum=enumstringer.TheTestEnum" json:"Field1,omitempty"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
Field1 []TheTestEnum `protobuf:"varint,1,rep,name=Field1,enum=enumstringer.TheTestEnum" json:"Field1,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *NidRepEnum) Reset() { *m = NidRepEnum{} }
|
||||
func (m *NidRepEnum) String() string { return proto.CompactTextString(m) }
|
||||
func (*NidRepEnum) ProtoMessage() {}
|
||||
func (*NidRepEnum) Descriptor() ([]byte, []int) { return fileDescriptorEnumstringer, []int{2} }
|
||||
func (m *NidRepEnum) Reset() { *m = NidRepEnum{} }
|
||||
func (m *NidRepEnum) String() string { return proto.CompactTextString(m) }
|
||||
func (*NidRepEnum) ProtoMessage() {}
|
||||
func (*NidRepEnum) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_enumstringer_cc4e1499449a36f3, []int{2}
|
||||
}
|
||||
func (m *NidRepEnum) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_NidRepEnum.Unmarshal(m, b)
|
||||
}
|
||||
func (m *NidRepEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_NidRepEnum.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *NidRepEnum) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_NidRepEnum.Merge(dst, src)
|
||||
}
|
||||
func (m *NidRepEnum) XXX_Size() int {
|
||||
return xxx_messageInfo_NidRepEnum.Size(m)
|
||||
}
|
||||
func (m *NidRepEnum) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_NidRepEnum.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_NidRepEnum proto.InternalMessageInfo
|
||||
|
||||
func (m *NidRepEnum) GetField1() []TheTestEnum {
|
||||
if m != nil {
|
||||
@@ -122,14 +175,35 @@ func (m *NidRepEnum) GetField1() []TheTestEnum {
|
||||
}
|
||||
|
||||
type NinRepEnum struct {
|
||||
Field1 []TheTestEnum `protobuf:"varint,1,rep,name=Field1,enum=enumstringer.TheTestEnum" json:"Field1,omitempty"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
Field1 []TheTestEnum `protobuf:"varint,1,rep,name=Field1,enum=enumstringer.TheTestEnum" json:"Field1,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *NinRepEnum) Reset() { *m = NinRepEnum{} }
|
||||
func (m *NinRepEnum) String() string { return proto.CompactTextString(m) }
|
||||
func (*NinRepEnum) ProtoMessage() {}
|
||||
func (*NinRepEnum) Descriptor() ([]byte, []int) { return fileDescriptorEnumstringer, []int{3} }
|
||||
func (m *NinRepEnum) Reset() { *m = NinRepEnum{} }
|
||||
func (m *NinRepEnum) String() string { return proto.CompactTextString(m) }
|
||||
func (*NinRepEnum) ProtoMessage() {}
|
||||
func (*NinRepEnum) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_enumstringer_cc4e1499449a36f3, []int{3}
|
||||
}
|
||||
func (m *NinRepEnum) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_NinRepEnum.Unmarshal(m, b)
|
||||
}
|
||||
func (m *NinRepEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_NinRepEnum.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (dst *NinRepEnum) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_NinRepEnum.Merge(dst, src)
|
||||
}
|
||||
func (m *NinRepEnum) XXX_Size() int {
|
||||
return xxx_messageInfo_NinRepEnum.Size(m)
|
||||
}
|
||||
func (m *NinRepEnum) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_NinRepEnum.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_NinRepEnum proto.InternalMessageInfo
|
||||
|
||||
func (m *NinRepEnum) GetField1() []TheTestEnum {
|
||||
if m != nil {
|
||||
@@ -541,9 +615,9 @@ func encodeVarintPopulateEnumstringer(dAtA []byte, v uint64) []byte {
|
||||
return dAtA
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("enumstringer.proto", fileDescriptorEnumstringer) }
|
||||
func init() { proto.RegisterFile("enumstringer.proto", fileDescriptor_enumstringer_cc4e1499449a36f3) }
|
||||
|
||||
var fileDescriptorEnumstringer = []byte{
|
||||
var fileDescriptor_enumstringer_cc4e1499449a36f3 = []byte{
|
||||
// 208 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4a, 0xcd, 0x2b, 0xcd,
|
||||
0x2d, 0x2e, 0x29, 0xca, 0xcc, 0x4b, 0x4f, 0x2d, 0xd2, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2,
|
||||
|
145
vendor/github.com/gogo/protobuf/test/enumstringer/enumstringerpb_test.go
generated
vendored
145
vendor/github.com/gogo/protobuf/test/enumstringer/enumstringerpb_test.go
generated
vendored
@@ -1,25 +1,14 @@
|
||||
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
||||
// source: enumstringer.proto
|
||||
|
||||
/*
|
||||
Package enumstringer is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
enumstringer.proto
|
||||
|
||||
It has these top-level messages:
|
||||
NidOptEnum
|
||||
NinOptEnum
|
||||
NidRepEnum
|
||||
NinRepEnum
|
||||
*/
|
||||
package enumstringer
|
||||
|
||||
import testing "testing"
|
||||
import rand "math/rand"
|
||||
import math_rand "math/rand"
|
||||
import time "time"
|
||||
import github_com_gogo_protobuf_proto "github.com/gogo/protobuf/proto"
|
||||
import github_com_gogo_protobuf_jsonpb "github.com/gogo/protobuf/jsonpb"
|
||||
import proto "github.com/gogo/protobuf/proto"
|
||||
import jsonpb "github.com/gogo/protobuf/jsonpb"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "github.com/gogo/protobuf/gogoproto"
|
||||
@@ -31,14 +20,14 @@ var _ = math.Inf
|
||||
|
||||
func TestNidOptEnumProto(t *testing.T) {
|
||||
seed := time.Now().UnixNano()
|
||||
popr := rand.New(rand.NewSource(seed))
|
||||
popr := math_rand.New(math_rand.NewSource(seed))
|
||||
p := NewPopulatedNidOptEnum(popr, false)
|
||||
dAtA, err := proto.Marshal(p)
|
||||
dAtA, err := github_com_gogo_protobuf_proto.Marshal(p)
|
||||
if err != nil {
|
||||
t.Fatalf("seed = %d, err = %v", seed, err)
|
||||
}
|
||||
msg := &NidOptEnum{}
|
||||
if err := proto.Unmarshal(dAtA, msg); err != nil {
|
||||
if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil {
|
||||
t.Fatalf("seed = %d, err = %v", seed, err)
|
||||
}
|
||||
littlefuzz := make([]byte, len(dAtA))
|
||||
@@ -59,20 +48,20 @@ func TestNidOptEnumProto(t *testing.T) {
|
||||
littlefuzz = append(littlefuzz, byte(popr.Intn(256)))
|
||||
}
|
||||
// shouldn't panic
|
||||
_ = proto.Unmarshal(littlefuzz, msg)
|
||||
_ = github_com_gogo_protobuf_proto.Unmarshal(littlefuzz, msg)
|
||||
}
|
||||
}
|
||||
|
||||
func TestNinOptEnumProto(t *testing.T) {
|
||||
seed := time.Now().UnixNano()
|
||||
popr := rand.New(rand.NewSource(seed))
|
||||
popr := math_rand.New(math_rand.NewSource(seed))
|
||||
p := NewPopulatedNinOptEnum(popr, false)
|
||||
dAtA, err := proto.Marshal(p)
|
||||
dAtA, err := github_com_gogo_protobuf_proto.Marshal(p)
|
||||
if err != nil {
|
||||
t.Fatalf("seed = %d, err = %v", seed, err)
|
||||
}
|
||||
msg := &NinOptEnum{}
|
||||
if err := proto.Unmarshal(dAtA, msg); err != nil {
|
||||
if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil {
|
||||
t.Fatalf("seed = %d, err = %v", seed, err)
|
||||
}
|
||||
littlefuzz := make([]byte, len(dAtA))
|
||||
@@ -93,20 +82,20 @@ func TestNinOptEnumProto(t *testing.T) {
|
||||
littlefuzz = append(littlefuzz, byte(popr.Intn(256)))
|
||||
}
|
||||
// shouldn't panic
|
||||
_ = proto.Unmarshal(littlefuzz, msg)
|
||||
_ = github_com_gogo_protobuf_proto.Unmarshal(littlefuzz, msg)
|
||||
}
|
||||
}
|
||||
|
||||
func TestNidRepEnumProto(t *testing.T) {
|
||||
seed := time.Now().UnixNano()
|
||||
popr := rand.New(rand.NewSource(seed))
|
||||
popr := math_rand.New(math_rand.NewSource(seed))
|
||||
p := NewPopulatedNidRepEnum(popr, false)
|
||||
dAtA, err := proto.Marshal(p)
|
||||
dAtA, err := github_com_gogo_protobuf_proto.Marshal(p)
|
||||
if err != nil {
|
||||
t.Fatalf("seed = %d, err = %v", seed, err)
|
||||
}
|
||||
msg := &NidRepEnum{}
|
||||
if err := proto.Unmarshal(dAtA, msg); err != nil {
|
||||
if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil {
|
||||
t.Fatalf("seed = %d, err = %v", seed, err)
|
||||
}
|
||||
littlefuzz := make([]byte, len(dAtA))
|
||||
@@ -127,20 +116,20 @@ func TestNidRepEnumProto(t *testing.T) {
|
||||
littlefuzz = append(littlefuzz, byte(popr.Intn(256)))
|
||||
}
|
||||
// shouldn't panic
|
||||
_ = proto.Unmarshal(littlefuzz, msg)
|
||||
_ = github_com_gogo_protobuf_proto.Unmarshal(littlefuzz, msg)
|
||||
}
|
||||
}
|
||||
|
||||
func TestNinRepEnumProto(t *testing.T) {
|
||||
seed := time.Now().UnixNano()
|
||||
popr := rand.New(rand.NewSource(seed))
|
||||
popr := math_rand.New(math_rand.NewSource(seed))
|
||||
p := NewPopulatedNinRepEnum(popr, false)
|
||||
dAtA, err := proto.Marshal(p)
|
||||
dAtA, err := github_com_gogo_protobuf_proto.Marshal(p)
|
||||
if err != nil {
|
||||
t.Fatalf("seed = %d, err = %v", seed, err)
|
||||
}
|
||||
msg := &NinRepEnum{}
|
||||
if err := proto.Unmarshal(dAtA, msg); err != nil {
|
||||
if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil {
|
||||
t.Fatalf("seed = %d, err = %v", seed, err)
|
||||
}
|
||||
littlefuzz := make([]byte, len(dAtA))
|
||||
@@ -161,21 +150,21 @@ func TestNinRepEnumProto(t *testing.T) {
|
||||
littlefuzz = append(littlefuzz, byte(popr.Intn(256)))
|
||||
}
|
||||
// shouldn't panic
|
||||
_ = proto.Unmarshal(littlefuzz, msg)
|
||||
_ = github_com_gogo_protobuf_proto.Unmarshal(littlefuzz, msg)
|
||||
}
|
||||
}
|
||||
|
||||
func TestNidOptEnumJSON(t *testing.T) {
|
||||
seed := time.Now().UnixNano()
|
||||
popr := rand.New(rand.NewSource(seed))
|
||||
popr := math_rand.New(math_rand.NewSource(seed))
|
||||
p := NewPopulatedNidOptEnum(popr, true)
|
||||
marshaler := jsonpb.Marshaler{}
|
||||
marshaler := github_com_gogo_protobuf_jsonpb.Marshaler{}
|
||||
jsondata, err := marshaler.MarshalToString(p)
|
||||
if err != nil {
|
||||
t.Fatalf("seed = %d, err = %v", seed, err)
|
||||
}
|
||||
msg := &NidOptEnum{}
|
||||
err = jsonpb.UnmarshalString(jsondata, msg)
|
||||
err = github_com_gogo_protobuf_jsonpb.UnmarshalString(jsondata, msg)
|
||||
if err != nil {
|
||||
t.Fatalf("seed = %d, err = %v", seed, err)
|
||||
}
|
||||
@@ -188,15 +177,15 @@ func TestNidOptEnumJSON(t *testing.T) {
|
||||
}
|
||||
func TestNinOptEnumJSON(t *testing.T) {
|
||||
seed := time.Now().UnixNano()
|
||||
popr := rand.New(rand.NewSource(seed))
|
||||
popr := math_rand.New(math_rand.NewSource(seed))
|
||||
p := NewPopulatedNinOptEnum(popr, true)
|
||||
marshaler := jsonpb.Marshaler{}
|
||||
marshaler := github_com_gogo_protobuf_jsonpb.Marshaler{}
|
||||
jsondata, err := marshaler.MarshalToString(p)
|
||||
if err != nil {
|
||||
t.Fatalf("seed = %d, err = %v", seed, err)
|
||||
}
|
||||
msg := &NinOptEnum{}
|
||||
err = jsonpb.UnmarshalString(jsondata, msg)
|
||||
err = github_com_gogo_protobuf_jsonpb.UnmarshalString(jsondata, msg)
|
||||
if err != nil {
|
||||
t.Fatalf("seed = %d, err = %v", seed, err)
|
||||
}
|
||||
@@ -209,15 +198,15 @@ func TestNinOptEnumJSON(t *testing.T) {
|
||||
}
|
||||
func TestNidRepEnumJSON(t *testing.T) {
|
||||
seed := time.Now().UnixNano()
|
||||
popr := rand.New(rand.NewSource(seed))
|
||||
popr := math_rand.New(math_rand.NewSource(seed))
|
||||
p := NewPopulatedNidRepEnum(popr, true)
|
||||
marshaler := jsonpb.Marshaler{}
|
||||
marshaler := github_com_gogo_protobuf_jsonpb.Marshaler{}
|
||||
jsondata, err := marshaler.MarshalToString(p)
|
||||
if err != nil {
|
||||
t.Fatalf("seed = %d, err = %v", seed, err)
|
||||
}
|
||||
msg := &NidRepEnum{}
|
||||
err = jsonpb.UnmarshalString(jsondata, msg)
|
||||
err = github_com_gogo_protobuf_jsonpb.UnmarshalString(jsondata, msg)
|
||||
if err != nil {
|
||||
t.Fatalf("seed = %d, err = %v", seed, err)
|
||||
}
|
||||
@@ -230,15 +219,15 @@ func TestNidRepEnumJSON(t *testing.T) {
|
||||
}
|
||||
func TestNinRepEnumJSON(t *testing.T) {
|
||||
seed := time.Now().UnixNano()
|
||||
popr := rand.New(rand.NewSource(seed))
|
||||
popr := math_rand.New(math_rand.NewSource(seed))
|
||||
p := NewPopulatedNinRepEnum(popr, true)
|
||||
marshaler := jsonpb.Marshaler{}
|
||||
marshaler := github_com_gogo_protobuf_jsonpb.Marshaler{}
|
||||
jsondata, err := marshaler.MarshalToString(p)
|
||||
if err != nil {
|
||||
t.Fatalf("seed = %d, err = %v", seed, err)
|
||||
}
|
||||
msg := &NinRepEnum{}
|
||||
err = jsonpb.UnmarshalString(jsondata, msg)
|
||||
err = github_com_gogo_protobuf_jsonpb.UnmarshalString(jsondata, msg)
|
||||
if err != nil {
|
||||
t.Fatalf("seed = %d, err = %v", seed, err)
|
||||
}
|
||||
@@ -251,11 +240,11 @@ func TestNinRepEnumJSON(t *testing.T) {
|
||||
}
|
||||
func TestNidOptEnumProtoText(t *testing.T) {
|
||||
seed := time.Now().UnixNano()
|
||||
popr := rand.New(rand.NewSource(seed))
|
||||
popr := math_rand.New(math_rand.NewSource(seed))
|
||||
p := NewPopulatedNidOptEnum(popr, true)
|
||||
dAtA := proto.MarshalTextString(p)
|
||||
dAtA := github_com_gogo_protobuf_proto.MarshalTextString(p)
|
||||
msg := &NidOptEnum{}
|
||||
if err := proto.UnmarshalText(dAtA, msg); err != nil {
|
||||
if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil {
|
||||
t.Fatalf("seed = %d, err = %v", seed, err)
|
||||
}
|
||||
if err := p.VerboseEqual(msg); err != nil {
|
||||
@@ -268,11 +257,11 @@ func TestNidOptEnumProtoText(t *testing.T) {
|
||||
|
||||
func TestNidOptEnumProtoCompactText(t *testing.T) {
|
||||
seed := time.Now().UnixNano()
|
||||
popr := rand.New(rand.NewSource(seed))
|
||||
popr := math_rand.New(math_rand.NewSource(seed))
|
||||
p := NewPopulatedNidOptEnum(popr, true)
|
||||
dAtA := proto.CompactTextString(p)
|
||||
dAtA := github_com_gogo_protobuf_proto.CompactTextString(p)
|
||||
msg := &NidOptEnum{}
|
||||
if err := proto.UnmarshalText(dAtA, msg); err != nil {
|
||||
if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil {
|
||||
t.Fatalf("seed = %d, err = %v", seed, err)
|
||||
}
|
||||
if err := p.VerboseEqual(msg); err != nil {
|
||||
@@ -285,11 +274,11 @@ func TestNidOptEnumProtoCompactText(t *testing.T) {
|
||||
|
||||
func TestNinOptEnumProtoText(t *testing.T) {
|
||||
seed := time.Now().UnixNano()
|
||||
popr := rand.New(rand.NewSource(seed))
|
||||
popr := math_rand.New(math_rand.NewSource(seed))
|
||||
p := NewPopulatedNinOptEnum(popr, true)
|
||||
dAtA := proto.MarshalTextString(p)
|
||||
dAtA := github_com_gogo_protobuf_proto.MarshalTextString(p)
|
||||
msg := &NinOptEnum{}
|
||||
if err := proto.UnmarshalText(dAtA, msg); err != nil {
|
||||
if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil {
|
||||
t.Fatalf("seed = %d, err = %v", seed, err)
|
||||
}
|
||||
if err := p.VerboseEqual(msg); err != nil {
|
||||
@@ -302,11 +291,11 @@ func TestNinOptEnumProtoText(t *testing.T) {
|
||||
|
||||
func TestNinOptEnumProtoCompactText(t *testing.T) {
|
||||
seed := time.Now().UnixNano()
|
||||
popr := rand.New(rand.NewSource(seed))
|
||||
popr := math_rand.New(math_rand.NewSource(seed))
|
||||
p := NewPopulatedNinOptEnum(popr, true)
|
||||
dAtA := proto.CompactTextString(p)
|
||||
dAtA := github_com_gogo_protobuf_proto.CompactTextString(p)
|
||||
msg := &NinOptEnum{}
|
||||
if err := proto.UnmarshalText(dAtA, msg); err != nil {
|
||||
if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil {
|
||||
t.Fatalf("seed = %d, err = %v", seed, err)
|
||||
}
|
||||
if err := p.VerboseEqual(msg); err != nil {
|
||||
@@ -319,11 +308,11 @@ func TestNinOptEnumProtoCompactText(t *testing.T) {
|
||||
|
||||
func TestNidRepEnumProtoText(t *testing.T) {
|
||||
seed := time.Now().UnixNano()
|
||||
popr := rand.New(rand.NewSource(seed))
|
||||
popr := math_rand.New(math_rand.NewSource(seed))
|
||||
p := NewPopulatedNidRepEnum(popr, true)
|
||||
dAtA := proto.MarshalTextString(p)
|
||||
dAtA := github_com_gogo_protobuf_proto.MarshalTextString(p)
|
||||
msg := &NidRepEnum{}
|
||||
if err := proto.UnmarshalText(dAtA, msg); err != nil {
|
||||
if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil {
|
||||
t.Fatalf("seed = %d, err = %v", seed, err)
|
||||
}
|
||||
if err := p.VerboseEqual(msg); err != nil {
|
||||
@@ -336,11 +325,11 @@ func TestNidRepEnumProtoText(t *testing.T) {
|
||||
|
||||
func TestNidRepEnumProtoCompactText(t *testing.T) {
|
||||
seed := time.Now().UnixNano()
|
||||
popr := rand.New(rand.NewSource(seed))
|
||||
popr := math_rand.New(math_rand.NewSource(seed))
|
||||
p := NewPopulatedNidRepEnum(popr, true)
|
||||
dAtA := proto.CompactTextString(p)
|
||||
dAtA := github_com_gogo_protobuf_proto.CompactTextString(p)
|
||||
msg := &NidRepEnum{}
|
||||
if err := proto.UnmarshalText(dAtA, msg); err != nil {
|
||||
if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil {
|
||||
t.Fatalf("seed = %d, err = %v", seed, err)
|
||||
}
|
||||
if err := p.VerboseEqual(msg); err != nil {
|
||||
@@ -353,11 +342,11 @@ func TestNidRepEnumProtoCompactText(t *testing.T) {
|
||||
|
||||
func TestNinRepEnumProtoText(t *testing.T) {
|
||||
seed := time.Now().UnixNano()
|
||||
popr := rand.New(rand.NewSource(seed))
|
||||
popr := math_rand.New(math_rand.NewSource(seed))
|
||||
p := NewPopulatedNinRepEnum(popr, true)
|
||||
dAtA := proto.MarshalTextString(p)
|
||||
dAtA := github_com_gogo_protobuf_proto.MarshalTextString(p)
|
||||
msg := &NinRepEnum{}
|
||||
if err := proto.UnmarshalText(dAtA, msg); err != nil {
|
||||
if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil {
|
||||
t.Fatalf("seed = %d, err = %v", seed, err)
|
||||
}
|
||||
if err := p.VerboseEqual(msg); err != nil {
|
||||
@@ -370,11 +359,11 @@ func TestNinRepEnumProtoText(t *testing.T) {
|
||||
|
||||
func TestNinRepEnumProtoCompactText(t *testing.T) {
|
||||
seed := time.Now().UnixNano()
|
||||
popr := rand.New(rand.NewSource(seed))
|
||||
popr := math_rand.New(math_rand.NewSource(seed))
|
||||
p := NewPopulatedNinRepEnum(popr, true)
|
||||
dAtA := proto.CompactTextString(p)
|
||||
dAtA := github_com_gogo_protobuf_proto.CompactTextString(p)
|
||||
msg := &NinRepEnum{}
|
||||
if err := proto.UnmarshalText(dAtA, msg); err != nil {
|
||||
if err := github_com_gogo_protobuf_proto.UnmarshalText(dAtA, msg); err != nil {
|
||||
t.Fatalf("seed = %d, err = %v", seed, err)
|
||||
}
|
||||
if err := p.VerboseEqual(msg); err != nil {
|
||||
@@ -386,14 +375,14 @@ func TestNinRepEnumProtoCompactText(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestNidOptEnumVerboseEqual(t *testing.T) {
|
||||
popr := rand.New(rand.NewSource(time.Now().UnixNano()))
|
||||
popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano()))
|
||||
p := NewPopulatedNidOptEnum(popr, false)
|
||||
dAtA, err := proto.Marshal(p)
|
||||
dAtA, err := github_com_gogo_protobuf_proto.Marshal(p)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
msg := &NidOptEnum{}
|
||||
if err := proto.Unmarshal(dAtA, msg); err != nil {
|
||||
if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
if err := p.VerboseEqual(msg); err != nil {
|
||||
@@ -401,14 +390,14 @@ func TestNidOptEnumVerboseEqual(t *testing.T) {
|
||||
}
|
||||
}
|
||||
func TestNinOptEnumVerboseEqual(t *testing.T) {
|
||||
popr := rand.New(rand.NewSource(time.Now().UnixNano()))
|
||||
popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano()))
|
||||
p := NewPopulatedNinOptEnum(popr, false)
|
||||
dAtA, err := proto.Marshal(p)
|
||||
dAtA, err := github_com_gogo_protobuf_proto.Marshal(p)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
msg := &NinOptEnum{}
|
||||
if err := proto.Unmarshal(dAtA, msg); err != nil {
|
||||
if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
if err := p.VerboseEqual(msg); err != nil {
|
||||
@@ -416,14 +405,14 @@ func TestNinOptEnumVerboseEqual(t *testing.T) {
|
||||
}
|
||||
}
|
||||
func TestNidRepEnumVerboseEqual(t *testing.T) {
|
||||
popr := rand.New(rand.NewSource(time.Now().UnixNano()))
|
||||
popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano()))
|
||||
p := NewPopulatedNidRepEnum(popr, false)
|
||||
dAtA, err := proto.Marshal(p)
|
||||
dAtA, err := github_com_gogo_protobuf_proto.Marshal(p)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
msg := &NidRepEnum{}
|
||||
if err := proto.Unmarshal(dAtA, msg); err != nil {
|
||||
if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
if err := p.VerboseEqual(msg); err != nil {
|
||||
@@ -431,14 +420,14 @@ func TestNidRepEnumVerboseEqual(t *testing.T) {
|
||||
}
|
||||
}
|
||||
func TestNinRepEnumVerboseEqual(t *testing.T) {
|
||||
popr := rand.New(rand.NewSource(time.Now().UnixNano()))
|
||||
popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano()))
|
||||
p := NewPopulatedNinRepEnum(popr, false)
|
||||
dAtA, err := proto.Marshal(p)
|
||||
dAtA, err := github_com_gogo_protobuf_proto.Marshal(p)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
msg := &NinRepEnum{}
|
||||
if err := proto.Unmarshal(dAtA, msg); err != nil {
|
||||
if err := github_com_gogo_protobuf_proto.Unmarshal(dAtA, msg); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
if err := p.VerboseEqual(msg); err != nil {
|
||||
|
Reference in New Issue
Block a user