Documentation ¶
Index ¶
- func AssertBadStatusCodeError(t *testing.T, expectedCode int, err error)
- func AssertBool(t *testing.T, label string, expected bool, actual bool)
- func AssertBoolPtrIsNil(t *testing.T, label string, actual *bool)
- func AssertInt(t *testing.T, label string, expected int, actual int)
- func AssertInt64(t *testing.T, label string, expected int64, actual int64)
- func AssertInt64PtrIsNil(t *testing.T, label int64, actual *int64)
- func AssertIntPtrIsNil(t *testing.T, label string, actual *int)
- func AssertNilError(t *testing.T, err error)
- func AssertNonNilBoolPtr(t *testing.T, label string, expected bool, actual *bool)
- func AssertNonNilInt64Ptr(t *testing.T, label string, expected int64, actual *int64)
- func AssertNonNilIntPtr(t *testing.T, label string, expected int, actual *int)
- func AssertNonNilStringPtr(t *testing.T, label string, expected string, actual *string)
- func AssertString(t *testing.T, label string, expected string, actual string)
- func AssertStringPtrIsNil(t *testing.T, label string, actual *string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertBool ¶
Asserts if a specified bool has the expected value. If not, Fatal.
func AssertBoolPtrIsNil ¶
Asserts if a specified bool pointer is nil. If not, Fatal.
func AssertInt64 ¶
Asserts if a specified int64 has the expected value. If not, Fatal.
func AssertInt64PtrIsNil ¶
Asserts if a specified int64 is nil. If not, Fatal.
func AssertIntPtrIsNil ¶
Asserts if a specified int64 is nil. If not, Fatal.
func AssertNilError ¶
Asserts that an error is nil, else Fatal.
func AssertNonNilBoolPtr ¶
Asserts if a specified bool pointer has the expected value. If not, Fatal.
func AssertNonNilInt64Ptr ¶
Asserts if a specified int64 pointer has the expected value. If not, Fatal.
func AssertNonNilIntPtr ¶
Asserts if a specified int64 pointer has the expected value. If not, Fatal.
func AssertNonNilStringPtr ¶
Asserts if a specified string pointer has the expected value. If not, Fatal.
func AssertString ¶
Asserts if a specified string has the expected value. If not, Fatal.
Types ¶
This section is empty.