Documentation ¶
Index ¶
- func AssertEmpty(t *testing.T, array interface{}, desc string)
- func AssertEqualInt(t *testing.T, got, wanted int, desc string)
- func AssertEqualString(t *testing.T, got, wanted string, desc string)
- func AssertEqualuint64(t *testing.T, got, wanted uint64, desc string)
- func AssertErrorInterface(t *testing.T, got interface{}, wanted interface{}, desc string)
- func AssertErrorType(t *testing.T, got interface{}, wanted interface{}, desc string)
- func AssertNoErr(t *testing.T, err error)
- func AssertStatus(t *testing.T, got int, wanted int, desc string)
- func AssertType(t *testing.T, got interface{}, wanted interface{}, desc string)
- func Fatalf(t *testing.T, format string, args ...interface{})
- func RunWithTimeout(t *testing.T, d time.Duration, f func())
- func StackTrace() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertEmpty ¶
func AssertErrorInterface ¶
func AssertErrorType ¶
func AssertNoErr ¶
func AssertType ¶
func RunWithTimeout ¶
Borrowed from net/http tests: goTimeout runs f, failing t if f takes more than d to complete.
func StackTrace ¶
func StackTrace() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.