Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flag ¶
Flag is an autogenerated mock type for the Flag type
func NewFlag ¶
NewFlag creates a new instance of Flag. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Flag) EXPECT ¶
func (_m *Flag) EXPECT() *Flag_Expecter
type Flag_Expecter ¶
type Flag_Expecter struct {
// contains filtered or unexported fields
}
func (*Flag_Expecter) Type ¶
func (_e *Flag_Expecter) Type() *Flag_Type_Call
Type is a helper method to define mock.On call
type Flag_Type_Call ¶
Flag_Type_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Type'
func (*Flag_Type_Call) Return ¶
func (_c *Flag_Type_Call) Return(_a0 string) *Flag_Type_Call
func (*Flag_Type_Call) Run ¶
func (_c *Flag_Type_Call) Run(run func()) *Flag_Type_Call
func (*Flag_Type_Call) RunAndReturn ¶
func (_c *Flag_Type_Call) RunAndReturn(run func() string) *Flag_Type_Call
Click to show internal directories.
Click to hide internal directories.