Documentation ¶
Overview ¶
Package testutil contains common utilities to test Kythe libraries.
Index ¶
- func DeepEqual(expected, got interface{}) error
- func Errorf(t *testing.T, msg string, err error, args ...interface{})
- func FatalOnErr(b *testing.B, msg string, err error, args ...interface{})
- func FatalOnErrT(t *testing.T, msg string, err error, args ...interface{})
- func RandBytes(bytes []byte)
- func RandStr(size int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeepEqual ¶ added in v0.0.9
func DeepEqual(expected, got interface{}) error
DeepEqual determines if expected is deeply equal to got, returning a detailed error if not.
func FatalOnErr ¶
FatalOnErr calls b.Fatalf(msg, err, args...) if err != nil
func FatalOnErrT ¶
FatalOnErrT calls t.Fatalf(msg, err, args...) if err != nil
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.