Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertProtoEqual ¶
func AssertProtoEqual(t assert.TestingT, expected, actual proto.Message, msgAndArgs ...interface{}) bool
AssertProtoEqual is a testing assertion that two protos are the same.
func NewVegaPaths ¶
Types ¶
type ProtoMatcher ¶
type ProtoMatcher struct {
// contains filtered or unexported fields
}
func ProtosEq ¶
func ProtosEq(message proto.Message) ProtoMatcher
ProtosEq is a gomock matcher for comparing messages for equality.
func (ProtoMatcher) Matches ¶
func (m ProtoMatcher) Matches(x interface{}) bool
func (ProtoMatcher) String ¶
func (m ProtoMatcher) String() string
Click to show internal directories.
Click to hide internal directories.