Documentation ¶
Index ¶
- type ExpecterTest
- func (_m *ExpecterTest) EXPECT() *ExpecterTest_Expecter
- func (_m *ExpecterTest) ManyArgsReturns(str string, i int) ([]string, error)
- func (_m *ExpecterTest) NoArg() string
- func (_m *ExpecterTest) NoReturn(str string)
- func (_m *ExpecterTest) Variadic(ints ...int) error
- func (_m *ExpecterTest) VariadicMany(i int, a string, intfs ...interface{}) error
- type ExpecterTest_Expecter
- func (_e *ExpecterTest_Expecter) ManyArgsReturns(str interface{}, i interface{}) *ExpecterTest_ManyArgsReturns_Call
- func (_e *ExpecterTest_Expecter) NoArg() *ExpecterTest_NoArg_Call
- func (_e *ExpecterTest_Expecter) NoReturn(str interface{}) *ExpecterTest_NoReturn_Call
- func (_e *ExpecterTest_Expecter) Variadic(ints ...interface{}) *ExpecterTest_Variadic_Call
- func (_e *ExpecterTest_Expecter) VariadicMany(i interface{}, a interface{}, intfs ...interface{}) *ExpecterTest_VariadicMany_Call
- type ExpecterTest_ManyArgsReturns_Call
- type ExpecterTest_NoArg_Call
- type ExpecterTest_NoReturn_Call
- type ExpecterTest_VariadicMany_Call
- type ExpecterTest_Variadic_Call
- type RequesterVariadic
- type RequesterVariadicOneArgument
- func (_m *RequesterVariadicOneArgument) Get(values ...string) bool
- func (_m *RequesterVariadicOneArgument) MultiWriteToFile(filename string, w ...io.Writer) string
- func (_m *RequesterVariadicOneArgument) OneInterface(a ...interface{}) bool
- func (_m *RequesterVariadicOneArgument) Sprintf(format string, a ...interface{}) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExpecterTest ¶
ExpecterTest is an autogenerated mock type for the ExpecterTest type
func (*ExpecterTest) EXPECT ¶
func (_m *ExpecterTest) EXPECT() *ExpecterTest_Expecter
func (*ExpecterTest) ManyArgsReturns ¶
func (_m *ExpecterTest) ManyArgsReturns(str string, i int) ([]string, error)
ManyArgsReturns provides a mock function with given fields: str, i
func (*ExpecterTest) NoArg ¶
func (_m *ExpecterTest) NoArg() string
NoArg provides a mock function with given fields:
func (*ExpecterTest) NoReturn ¶
func (_m *ExpecterTest) NoReturn(str string)
NoReturn provides a mock function with given fields: str
func (*ExpecterTest) Variadic ¶
func (_m *ExpecterTest) Variadic(ints ...int) error
Variadic provides a mock function with given fields: ints
func (*ExpecterTest) VariadicMany ¶
func (_m *ExpecterTest) VariadicMany(i int, a string, intfs ...interface{}) error
VariadicMany provides a mock function with given fields: i, a, intfs
type ExpecterTest_Expecter ¶
type ExpecterTest_Expecter struct {
// contains filtered or unexported fields
}
func (*ExpecterTest_Expecter) ManyArgsReturns ¶
func (_e *ExpecterTest_Expecter) ManyArgsReturns(str interface{}, i interface{}) *ExpecterTest_ManyArgsReturns_Call
ManyArgsReturns is a helper method to define mock.On call
- str string
- i int
func (*ExpecterTest_Expecter) NoArg ¶
func (_e *ExpecterTest_Expecter) NoArg() *ExpecterTest_NoArg_Call
NoArg is a helper method to define mock.On call
func (*ExpecterTest_Expecter) NoReturn ¶
func (_e *ExpecterTest_Expecter) NoReturn(str interface{}) *ExpecterTest_NoReturn_Call
NoReturn is a helper method to define mock.On call
- str string
func (*ExpecterTest_Expecter) Variadic ¶
func (_e *ExpecterTest_Expecter) Variadic(ints ...interface{}) *ExpecterTest_Variadic_Call
Variadic is a helper method to define mock.On call
- ints ...int
func (*ExpecterTest_Expecter) VariadicMany ¶
func (_e *ExpecterTest_Expecter) VariadicMany(i interface{}, a interface{}, intfs ...interface{}) *ExpecterTest_VariadicMany_Call
VariadicMany is a helper method to define mock.On call
- i int
- a string
- intfs ...interface{}
type ExpecterTest_ManyArgsReturns_Call ¶
ExpecterTest_ManyArgsReturns_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ManyArgsReturns'
func (*ExpecterTest_ManyArgsReturns_Call) Return ¶
func (_c *ExpecterTest_ManyArgsReturns_Call) Return(strs []string, err error) *ExpecterTest_ManyArgsReturns_Call
func (*ExpecterTest_ManyArgsReturns_Call) Run ¶
func (_c *ExpecterTest_ManyArgsReturns_Call) Run(run func(str string, i int)) *ExpecterTest_ManyArgsReturns_Call
type ExpecterTest_NoArg_Call ¶
ExpecterTest_NoArg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NoArg'
func (*ExpecterTest_NoArg_Call) Return ¶
func (_c *ExpecterTest_NoArg_Call) Return(_a0 string) *ExpecterTest_NoArg_Call
func (*ExpecterTest_NoArg_Call) Run ¶
func (_c *ExpecterTest_NoArg_Call) Run(run func()) *ExpecterTest_NoArg_Call
type ExpecterTest_NoReturn_Call ¶
ExpecterTest_NoReturn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NoReturn'
func (*ExpecterTest_NoReturn_Call) Return ¶
func (_c *ExpecterTest_NoReturn_Call) Return() *ExpecterTest_NoReturn_Call
func (*ExpecterTest_NoReturn_Call) Run ¶
func (_c *ExpecterTest_NoReturn_Call) Run(run func(str string)) *ExpecterTest_NoReturn_Call
type ExpecterTest_VariadicMany_Call ¶
ExpecterTest_VariadicMany_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VariadicMany'
func (*ExpecterTest_VariadicMany_Call) Return ¶
func (_c *ExpecterTest_VariadicMany_Call) Return(_a0 error) *ExpecterTest_VariadicMany_Call
func (*ExpecterTest_VariadicMany_Call) Run ¶
func (_c *ExpecterTest_VariadicMany_Call) Run(run func(i int, a string, intfs ...interface{})) *ExpecterTest_VariadicMany_Call
type ExpecterTest_Variadic_Call ¶
ExpecterTest_Variadic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Variadic'
func (*ExpecterTest_Variadic_Call) Return ¶
func (_c *ExpecterTest_Variadic_Call) Return(_a0 error) *ExpecterTest_Variadic_Call
func (*ExpecterTest_Variadic_Call) Run ¶
func (_c *ExpecterTest_Variadic_Call) Run(run func(ints ...int)) *ExpecterTest_Variadic_Call
type RequesterVariadic ¶
RequesterVariadic is an autogenerated mock type for the RequesterVariadic type
func (*RequesterVariadic) Get ¶
func (_m *RequesterVariadic) Get(values ...string) bool
Get provides a mock function with given fields: values
func (*RequesterVariadic) MultiWriteToFile ¶
func (_m *RequesterVariadic) MultiWriteToFile(filename string, w ...io.Writer) string
MultiWriteToFile provides a mock function with given fields: filename, w
func (*RequesterVariadic) OneInterface ¶
func (_m *RequesterVariadic) OneInterface(a ...interface{}) bool
OneInterface provides a mock function with given fields: a
func (*RequesterVariadic) Sprintf ¶
func (_m *RequesterVariadic) Sprintf(format string, a ...interface{}) string
Sprintf provides a mock function with given fields: format, a
type RequesterVariadicOneArgument ¶
RequesterVariadicOneArgument is an autogenerated mock type for the RequesterVariadic type
func (*RequesterVariadicOneArgument) Get ¶
func (_m *RequesterVariadicOneArgument) Get(values ...string) bool
Get provides a mock function with given fields: values
func (*RequesterVariadicOneArgument) MultiWriteToFile ¶
func (_m *RequesterVariadicOneArgument) MultiWriteToFile(filename string, w ...io.Writer) string
MultiWriteToFile provides a mock function with given fields: filename, w
func (*RequesterVariadicOneArgument) OneInterface ¶
func (_m *RequesterVariadicOneArgument) OneInterface(a ...interface{}) bool
OneInterface provides a mock function with given fields: a
func (*RequesterVariadicOneArgument) Sprintf ¶
func (_m *RequesterVariadicOneArgument) Sprintf(format string, a ...interface{}) string
Sprintf provides a mock function with given fields: format, a