Documentation ¶
Index ¶
- func ExpectAllExportedSet(t *testing.T, got interface{})
- func ExpectEqual(t *testing.T, got interface{}, exp interface{})
- func ExpectError(t *testing.T, err error, expContent ...string)
- func ExpectFalse(t *testing.T, v bool)
- func ExpectFileExists(t *testing.T, filename string)
- func ExpectIsSet(t *testing.T, got interface{})
- func ExpectKeyExists(t *testing.T, tMap interface{}, key interface{})
- func ExpectNil(t *testing.T, got interface{})
- func ExpectNoError(t *testing.T, err error)
- func ExpectNotEqual(t *testing.T, got interface{}, notExp interface{})
- func ExpectNotNil(t *testing.T, got interface{})
- func ExpectNotSet(t *testing.T, got interface{})
- func ExpectStringContains(t *testing.T, got string, exp string)
- func ExpectStringContainsNot(t *testing.T, got string, exp string)
- func ExpectTrue(t *testing.T, v bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpectAllExportedSet ¶
ExpectAllExportedSet expects that all exported fields in the passed struct argument are set.
func ExpectEqual ¶
ExpectEqual expects the provided values to be equal.
func ExpectError ¶
ExpectError checks that the provided error does not equal nil. If additional string arguments were passend, then it is checked that the error message contains all of them.
func ExpectFalse ¶
ExpectFalse expects that the provided boll argument is false.
func ExpectFileExists ¶
ExpectFileExists expects that the provided file name references an existing file.
func ExpectIsSet ¶
ExpectIsSet expects that the provided argument is set.
func ExpectKeyExists ¶
ExpectKeyExists expects that the provided key exists in the provided map.
func ExpectNoError ¶
ExpectNoError expects that the provided error argument is nil.
func ExpectNotEqual ¶
ExpectNotEqual expects the provided values to not be equal.
func ExpectNotNil ¶
ExpectNotNil expects the provided argument to not be nil.
func ExpectNotSet ¶
ExpectNotSet expects that the provided argument is not set.
func ExpectStringContains ¶
ExpectStringContains expects that the provided string contains the provided substring.
func ExpectStringContainsNot ¶
ExpectStringContainsNot expects that the provided string does not contain the provided substring.
func ExpectTrue ¶
ExpectTrue expects that the provided bool argument is true.
Types ¶
This section is empty.