Documentation
¶
Index ¶
- func AssertEqual(t *testing.T, expected interface{}, actual interface{})
- func AssertError(t *testing.T, expected error, actual error)
- func AssertFalse(t *testing.T, actual bool)
- func AssertNil(t *testing.T, value interface{})
- func AssertNotNil(t *testing.T, value interface{})
- func AssertTrue(t *testing.T, actual bool)
- func AssertWithTimeout(t *testing.T, waitGroup *sync.WaitGroup, testTimeout time.Duration)
- func IsNil(v interface{}) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertEqual ¶
AssertEqual asserts that the expected and actual values are deeply equal.
func AssertError ¶
AssertError asserts that the expected and actual errors are the same.
func AssertFalse ¶
AssertFalse asserts that the actual value is false.
func AssertNotNil ¶
AssertNotNil asserts that a value is not nil.
func AssertTrue ¶
AssertTrue asserts that the actual value is true.
func AssertWithTimeout ¶
AssertWithTimeout asserts that an operation is completed within a certain period of time.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.