Documentation ¶
Index ¶
- func AssertContainsString(t *testing.T, str string, substring string)
- 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 AssertNotEqual(t *testing.T, expected interface{}, actual 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 AssertContainsString ¶
AssertContainsString asserts that a string contains a substring
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 sserts that the actual value is false
func AssertNotEqual ¶
AssertNotEqual asserts that the expected and actual values are not deeply equal
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.
Directories ¶
Path | Synopsis |
---|---|
mocks
|
|
api/services/containers
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
api/services/sysinfo
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
cli
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
client
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
containerd
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
context
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
ctr
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
ctrd
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
events
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
io
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
logger
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
mgr
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
network
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
registry
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
streams
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
sysinfo
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
things
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
updateagent
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.