testinggo

package module
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertError

func AssertError(t *testing.T, expected string, err error)

func AssertHashEqual

func AssertHashEqual(t *testing.T, expected, actual []byte)

func AssertMatchesError

func AssertMatchesError(t *testing.T, expected string, err error)

func AssertNoError

func AssertNoError(t *testing.T, err error)

func AssertPrivateKeyEqual

func AssertPrivateKeyEqual(t *testing.T, expected, actual *rsa.PrivateKey)

func AssertProtobufEqual

func AssertProtobufEqual(t *testing.T, expected, actual proto.Message)

func MakeEnv

func MakeEnv(t *testing.T, env, value string)

func MakeEnvTempDir

func MakeEnvTempDir(t *testing.T, env, dir string) string

func MakeTempDir

func MakeTempDir(t *testing.T, name string) string

func UnmakeEnv

func UnmakeEnv(t *testing.T, env string)

func UnmakeEnvTempDir

func UnmakeEnvTempDir(t *testing.T, env, dir string)

func UnmakeTempDir

func UnmakeTempDir(t *testing.T, dir string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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