Documentation ¶
Index ¶
- func AssertError(t *testing.T, expected string, err error)
- func AssertHashEqual(t *testing.T, expected, actual []byte)
- func AssertMatchesError(t *testing.T, expected string, err error)
- func AssertNoError(t *testing.T, err error)
- func AssertPrivateKeyEqual(t *testing.T, expected, actual *rsa.PrivateKey)
- func AssertProtobufEqual(t *testing.T, expected, actual proto.Message)
- func MakeTempDir(t *testing.T, name string) string
- func SetEnv(t *testing.T, env, value string)
- func SetEnvTempDir(t *testing.T, env, dir string) string
- func UnmakeTempDir(t *testing.T, dir string)
- func UnsetEnv(t *testing.T, env string)
- func UnsetEnvTempDir(t *testing.T, env, dir string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertHashEqual ¶
func AssertNoError ¶
func AssertPrivateKeyEqual ¶
func AssertPrivateKeyEqual(t *testing.T, expected, actual *rsa.PrivateKey)
func UnmakeTempDir ¶
func UnsetEnvTempDir ¶ added in v1.2.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.