testutils

package
v0.0.0-...-8b8575e Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VerifyDeepEqual

func VerifyDeepEqual(t *testing.T, valueName string, expectedValue interface{}, seenValue interface{}) bool

VerifyDeepEqual checks that two values (including structures) are equal, or else it fails the test.

func VerifyError

func VerifyError(t *testing.T, err error, expectedCount int, expectedSubstrings []string) bool

VerifyError checks a (multi)error has expected properties, or else it fails the test.

func VerifyNoError

func VerifyNoError(t *testing.T, err error) bool

func VerifyStringSlices

func VerifyStringSlices(t *testing.T, expected []string, got []string) bool

func VerifyStrings

func VerifyStrings(t *testing.T, expected string, got string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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