Documentation
¶
Index ¶
Constants ¶
View Source
const (
EmptyMessage = ""
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoUnit ¶
type GoUnit interface {
// AssertArrayHasKey Reports an error identified by "message" if "array" does
// not have the "key".
AssertArrayHasKey(key interface{}, array interface{}, message string)
AssertContains(value interface{}, array interface{}, message string)
AssertCount(count int, array interface{}, message string)
AssertDirectoryExists(dir string, message string)
AssertFileExists(file string, message string)
AssertEmpty(actual interface{}, message string)
AssertEquals(expected interface{}, actual interface{}, message string)
AssertTrue(cond bool, message string)
AssertFalse(cond bool, message string)
AssertFileEquals(expected string, actual string, message string)
AssertGreaterThan(expected, actual int, message string)
AssertGreaterThanOrEqual(expected, actual int, message string)
AssertLessThan(expected, actual int, message string)
AssertLessThanOrEqual(expected, actual int, message string)
AssertError(err error, message string)
AssertNotError(err error, message string)
}
Click to show internal directories.
Click to hide internal directories.