testing

package
v0.75.8 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: AGPL-3.0 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 NewVegaPaths

func NewVegaPaths() (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