testing

package
v0.0.0-...-f6bc33c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2023 License: MIT Imports: 7 Imported by: 0

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 NewZetaPaths

func NewZetaPaths() (paths.Paths, func())

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL