Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestCtx ¶
type TestCtx struct {
MockVpp *mock.VppAdapter
MockChannel *mockedChannel
// contains filtered or unexported fields
}
TestCtx is helping structure for unit testing. It wraps VppAdapter which is used instead of real VPP
func SetupTestCtx ¶
SetupTestCtx sets up all fields of TestCtx structure at the begining of test
Source Files
¶
- vpp_ctx_mock.go
Click to show internal directories.
Click to hide internal directories.