Documentation
¶
Index ¶
- Variables
- func AssertBytesEqual(t *testing.T, a, b []byte, contextArgs ...interface{}) bool
- func AssertBytesNotEqual(t *testing.T, a, b []byte, contextArgs ...interface{}) bool
- func AssertEqual(t *testing.T, a, b interface{}, contextArgs ...interface{}) bool
- func AssertEqualAny(t *testing.T, a interface{}, possibilities []interface{}, ...) bool
- func AssertError(t *testing.T, err error, contextArgs ...interface{}) bool
- func AssertFalse(t *testing.T, b bool, contextArgs ...interface{}) bool
- func AssertIsError(t *testing.T, err error, target error, contextArgs ...interface{}) bool
- func AssertIsNotError(t *testing.T, err error, target error, contextArgs ...interface{}) bool
- func AssertNil(t *testing.T, a interface{}, contextArgs ...interface{}) bool
- func AssertNoError(t *testing.T, err error, contextArgs ...interface{}) bool
- func AssertNoErrorFatal(t *testing.T, err error, contextArgs ...interface{}) bool
- func AssertNotEqual(t *testing.T, a, b interface{}, contextArgs ...interface{}) bool
- func AssertNotEqualShallow(t *testing.T, a, b interface{}, contextArgs ...interface{}) bool
- func AssertNotNil(t *testing.T, a interface{}, contextArgs ...interface{}) bool
- func AssertTrue(t *testing.T, b bool, contextArgs ...interface{}) bool
- type Logger
Constants ¶
This section is empty.
Variables ¶
View Source
var StaticErr = errors.New("static test error")
StaticErr is an error used for testing purposes only
Functions ¶
func AssertBytesEqual ¶
func AssertBytesNotEqual ¶
func AssertEqual ¶
func AssertEqualAny ¶
func AssertIsError ¶
func AssertIsNotError ¶
func AssertNoErrorFatal ¶
func AssertNotEqual ¶
func AssertNotEqualShallow ¶
func AssertNotNil ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.