Documentation ¶
Index ¶
- type A
- type AsyncProducer
- type Blank
- type ConsulLock
- type EmbeddedGet
- type Example
- type Expecter
- func (_m *Expecter) EXPECT() *Expecter_Expecter
- func (_m *Expecter) ManyArgsReturns(str string, i int) ([]string, error)
- func (_m *Expecter) NoArg() string
- func (_m *Expecter) NoReturn(str string)
- func (_m *Expecter) Variadic(ints ...int) error
- func (_m *Expecter) VariadicMany(i int, a string, intfs ...interface{}) error
- type Expecter_Expecter
- func (_e *Expecter_Expecter) ManyArgsReturns(str interface{}, i interface{}) *Expecter_ManyArgsReturns_Call
- func (_e *Expecter_Expecter) NoArg() *Expecter_NoArg_Call
- func (_e *Expecter_Expecter) NoReturn(str interface{}) *Expecter_NoReturn_Call
- func (_e *Expecter_Expecter) Variadic(ints ...interface{}) *Expecter_Variadic_Call
- func (_e *Expecter_Expecter) VariadicMany(i interface{}, a interface{}, intfs ...interface{}) *Expecter_VariadicMany_Call
- type Expecter_ManyArgsReturns_Call
- type Expecter_NoArg_Call
- type Expecter_NoReturn_Call
- type Expecter_VariadicMany_Call
- type Expecter_Variadic_Call
- type Fooer
- type FuncArgsCollision
- type GetGeneric
- type GetInt
- type HasConflictingNestedImports
- type ImportsSameAsPackage
- type KeyManager
- type MapFunc
- type MapToInterface
- type MyReader
- type Requester
- type Requester2
- type Requester3
- type Requester4
- type RequesterArgSameAsImport
- type RequesterArgSameAsNamedImport
- type RequesterArgSameAsPkg
- type RequesterArray
- type RequesterElided
- type RequesterGenerics
- func (_m *RequesterGenerics[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) GenericAnonymousStructs(_a0 struct{ ... }) struct{ ... }
- func (_m *RequesterGenerics[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) GenericArguments(_a0 TAny, _a1 TComparable) (TSigned, TIntf)
- func (_m *RequesterGenerics[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) GenericStructs(_a0 test.GenericType[TAny, TIntf]) test.GenericType[TSigned, TIntf]
- type RequesterIface
- type RequesterNS
- type RequesterPtr
- type RequesterReturnElided
- type RequesterSlice
- 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
- type SendFunc
- type Sibling
- type UnsafeInterface
- type UsesOtherPkgIface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type A ¶
A is an autogenerated mock type for the A type
type AsyncProducer ¶
AsyncProducer is an autogenerated mock type for the AsyncProducer type
func NewAsyncProducer ¶
func NewAsyncProducer(t mockConstructorTestingTNewAsyncProducer) *AsyncProducer
NewAsyncProducer creates a new instance of AsyncProducer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AsyncProducer) Input ¶
func (_m *AsyncProducer) Input() chan<- bool
Input provides a mock function with given fields:
func (*AsyncProducer) Output ¶
func (_m *AsyncProducer) Output() <-chan bool
Output provides a mock function with given fields:
func (*AsyncProducer) Whatever ¶
func (_m *AsyncProducer) Whatever() chan bool
Whatever provides a mock function with given fields:
type Blank ¶
Blank is an autogenerated mock type for the Blank type
type ConsulLock ¶
ConsulLock is an autogenerated mock type for the ConsulLock type
func NewConsulLock ¶
func NewConsulLock(t mockConstructorTestingTNewConsulLock) *ConsulLock
NewConsulLock creates a new instance of ConsulLock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ConsulLock) Lock ¶
func (_m *ConsulLock) Lock(_a0 <-chan struct{}) (<-chan struct{}, error)
Lock provides a mock function with given fields: _a0
func (*ConsulLock) Unlock ¶
func (_m *ConsulLock) Unlock() error
Unlock provides a mock function with given fields:
type EmbeddedGet ¶
type EmbeddedGet[T constraints.Signed] struct { mock.Mock }
EmbeddedGet is an autogenerated mock type for the EmbeddedGet type
func NewEmbeddedGet ¶
func NewEmbeddedGet[T constraints.Signed](t mockConstructorTestingTNewEmbeddedGet) *EmbeddedGet[T]
NewEmbeddedGet creates a new instance of EmbeddedGet. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*EmbeddedGet[T]) Get ¶
func (_m *EmbeddedGet[T]) Get() T
Get provides a mock function with given fields:
type Example ¶
Example is an autogenerated mock type for the Example type
func NewExample ¶
func NewExample(t mockConstructorTestingTNewExample) *Example
NewExample creates a new instance of Example. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type Expecter ¶
Expecter is an autogenerated mock type for the Expecter type
func NewExpecter ¶
func NewExpecter(t mockConstructorTestingTNewExpecter) *Expecter
NewExpecter creates a new instance of Expecter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Expecter) EXPECT ¶
func (_m *Expecter) EXPECT() *Expecter_Expecter
func (*Expecter) ManyArgsReturns ¶
ManyArgsReturns provides a mock function with given fields: str, i
type Expecter_Expecter ¶
type Expecter_Expecter struct {
// contains filtered or unexported fields
}
func (*Expecter_Expecter) ManyArgsReturns ¶
func (_e *Expecter_Expecter) ManyArgsReturns(str interface{}, i interface{}) *Expecter_ManyArgsReturns_Call
ManyArgsReturns is a helper method to define mock.On call
- str string
- i int
func (*Expecter_Expecter) NoArg ¶
func (_e *Expecter_Expecter) NoArg() *Expecter_NoArg_Call
NoArg is a helper method to define mock.On call
func (*Expecter_Expecter) NoReturn ¶
func (_e *Expecter_Expecter) NoReturn(str interface{}) *Expecter_NoReturn_Call
NoReturn is a helper method to define mock.On call
- str string
func (*Expecter_Expecter) Variadic ¶
func (_e *Expecter_Expecter) Variadic(ints ...interface{}) *Expecter_Variadic_Call
Variadic is a helper method to define mock.On call
- ints ...int
func (*Expecter_Expecter) VariadicMany ¶
func (_e *Expecter_Expecter) VariadicMany(i interface{}, a interface{}, intfs ...interface{}) *Expecter_VariadicMany_Call
VariadicMany is a helper method to define mock.On call
- i int
- a string
- intfs ...interface{}
type Expecter_ManyArgsReturns_Call ¶
Expecter_ManyArgsReturns_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ManyArgsReturns'
func (*Expecter_ManyArgsReturns_Call) Return ¶
func (_c *Expecter_ManyArgsReturns_Call) Return(strs []string, err error) *Expecter_ManyArgsReturns_Call
func (*Expecter_ManyArgsReturns_Call) Run ¶
func (_c *Expecter_ManyArgsReturns_Call) Run(run func(str string, i int)) *Expecter_ManyArgsReturns_Call
type Expecter_NoArg_Call ¶
Expecter_NoArg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NoArg'
func (*Expecter_NoArg_Call) Return ¶
func (_c *Expecter_NoArg_Call) Return(_a0 string) *Expecter_NoArg_Call
func (*Expecter_NoArg_Call) Run ¶
func (_c *Expecter_NoArg_Call) Run(run func()) *Expecter_NoArg_Call
type Expecter_NoReturn_Call ¶
Expecter_NoReturn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NoReturn'
func (*Expecter_NoReturn_Call) Return ¶
func (_c *Expecter_NoReturn_Call) Return() *Expecter_NoReturn_Call
func (*Expecter_NoReturn_Call) Run ¶
func (_c *Expecter_NoReturn_Call) Run(run func(str string)) *Expecter_NoReturn_Call
type Expecter_VariadicMany_Call ¶
Expecter_VariadicMany_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VariadicMany'
func (*Expecter_VariadicMany_Call) Return ¶
func (_c *Expecter_VariadicMany_Call) Return(_a0 error) *Expecter_VariadicMany_Call
func (*Expecter_VariadicMany_Call) Run ¶
func (_c *Expecter_VariadicMany_Call) Run(run func(i int, a string, intfs ...interface{})) *Expecter_VariadicMany_Call
type Expecter_Variadic_Call ¶
Expecter_Variadic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Variadic'
func (*Expecter_Variadic_Call) Return ¶
func (_c *Expecter_Variadic_Call) Return(_a0 error) *Expecter_Variadic_Call
func (*Expecter_Variadic_Call) Run ¶
func (_c *Expecter_Variadic_Call) Run(run func(ints ...int)) *Expecter_Variadic_Call
type Fooer ¶
Fooer is an autogenerated mock type for the Fooer type
func NewFooer ¶
func NewFooer(t mockConstructorTestingTNewFooer) *Fooer
NewFooer creates a new instance of Fooer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type FuncArgsCollision ¶
FuncArgsCollision is an autogenerated mock type for the FuncArgsCollision type
func NewFuncArgsCollision ¶
func NewFuncArgsCollision(t mockConstructorTestingTNewFuncArgsCollision) *FuncArgsCollision
NewFuncArgsCollision creates a new instance of FuncArgsCollision. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*FuncArgsCollision) Foo ¶
func (_m *FuncArgsCollision) Foo(ret interface{}) error
Foo provides a mock function with given fields: ret
type GetGeneric ¶
type GetGeneric[T constraints.Integer] struct { mock.Mock }
GetGeneric is an autogenerated mock type for the GetGeneric type
func NewGetGeneric ¶
func NewGetGeneric[T constraints.Integer](t mockConstructorTestingTNewGetGeneric) *GetGeneric[T]
NewGetGeneric creates a new instance of GetGeneric. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*GetGeneric[T]) Get ¶
func (_m *GetGeneric[T]) Get() T
Get provides a mock function with given fields:
type GetInt ¶
GetInt is an autogenerated mock type for the GetInt type
type HasConflictingNestedImports ¶
HasConflictingNestedImports is an autogenerated mock type for the HasConflictingNestedImports type
func NewHasConflictingNestedImports ¶
func NewHasConflictingNestedImports(t mockConstructorTestingTNewHasConflictingNestedImports) *HasConflictingNestedImports
NewHasConflictingNestedImports creates a new instance of HasConflictingNestedImports. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*HasConflictingNestedImports) Get ¶
func (_m *HasConflictingNestedImports) Get(path string) (http.Response, error)
Get provides a mock function with given fields: path
func (*HasConflictingNestedImports) Z ¶
func (_m *HasConflictingNestedImports) Z() fixtureshttp.MyStruct
Z provides a mock function with given fields:
type ImportsSameAsPackage ¶
ImportsSameAsPackage is an autogenerated mock type for the ImportsSameAsPackage type
func NewImportsSameAsPackage ¶
func NewImportsSameAsPackage(t mockConstructorTestingTNewImportsSameAsPackage) *ImportsSameAsPackage
NewImportsSameAsPackage creates a new instance of ImportsSameAsPackage. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ImportsSameAsPackage) A ¶
func (_m *ImportsSameAsPackage) A() test.B
A provides a mock function with given fields:
func (*ImportsSameAsPackage) B ¶
func (_m *ImportsSameAsPackage) B() fixtures.KeyManager
B provides a mock function with given fields:
func (*ImportsSameAsPackage) C ¶
func (_m *ImportsSameAsPackage) C(_a0 fixtures.C)
C provides a mock function with given fields: _a0
type KeyManager ¶
KeyManager is an autogenerated mock type for the KeyManager type
func NewKeyManager ¶
func NewKeyManager(t mockConstructorTestingTNewKeyManager) *KeyManager
NewKeyManager creates a new instance of KeyManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type MapFunc ¶
MapFunc is an autogenerated mock type for the MapFunc type
func NewMapFunc ¶
func NewMapFunc(t mockConstructorTestingTNewMapFunc) *MapFunc
NewMapFunc creates a new instance of MapFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type MapToInterface ¶
MapToInterface is an autogenerated mock type for the MapToInterface type
func NewMapToInterface ¶
func NewMapToInterface(t mockConstructorTestingTNewMapToInterface) *MapToInterface
NewMapToInterface creates a new instance of MapToInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MapToInterface) Foo ¶
func (_m *MapToInterface) Foo(arg1 ...map[string]interface{})
Foo provides a mock function with given fields: arg1
type MyReader ¶
MyReader is an autogenerated mock type for the MyReader type
func NewMyReader ¶
func NewMyReader(t mockConstructorTestingTNewMyReader) *MyReader
NewMyReader creates a new instance of MyReader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type Requester ¶
Requester is an autogenerated mock type for the Requester type
func NewRequester ¶
func NewRequester(t mockConstructorTestingTNewRequester) *Requester
NewRequester creates a new instance of Requester. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type Requester2 ¶
Requester2 is an autogenerated mock type for the Requester2 type
func NewRequester2 ¶
func NewRequester2(t mockConstructorTestingTNewRequester2) *Requester2
NewRequester2 creates a new instance of Requester2. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Requester2) Get ¶
func (_m *Requester2) Get(path string) error
Get provides a mock function with given fields: path
type Requester3 ¶
Requester3 is an autogenerated mock type for the Requester3 type
func NewRequester3 ¶
func NewRequester3(t mockConstructorTestingTNewRequester3) *Requester3
NewRequester3 creates a new instance of Requester3. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Requester3) Get ¶
func (_m *Requester3) Get() error
Get provides a mock function with given fields:
type Requester4 ¶
Requester4 is an autogenerated mock type for the Requester4 type
func NewRequester4 ¶
func NewRequester4(t mockConstructorTestingTNewRequester4) *Requester4
NewRequester4 creates a new instance of Requester4. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Requester4) Get ¶
func (_m *Requester4) Get()
Get provides a mock function with given fields:
type RequesterArgSameAsImport ¶
RequesterArgSameAsImport is an autogenerated mock type for the RequesterArgSameAsImport type
func NewRequesterArgSameAsImport ¶
func NewRequesterArgSameAsImport(t mockConstructorTestingTNewRequesterArgSameAsImport) *RequesterArgSameAsImport
NewRequesterArgSameAsImport creates a new instance of RequesterArgSameAsImport. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*RequesterArgSameAsImport) Get ¶
func (_m *RequesterArgSameAsImport) Get(_a0 string) *json.RawMessage
Get provides a mock function with given fields: _a0
type RequesterArgSameAsNamedImport ¶
RequesterArgSameAsNamedImport is an autogenerated mock type for the RequesterArgSameAsNamedImport type
func NewRequesterArgSameAsNamedImport ¶
func NewRequesterArgSameAsNamedImport(t mockConstructorTestingTNewRequesterArgSameAsNamedImport) *RequesterArgSameAsNamedImport
NewRequesterArgSameAsNamedImport creates a new instance of RequesterArgSameAsNamedImport. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*RequesterArgSameAsNamedImport) Get ¶
func (_m *RequesterArgSameAsNamedImport) Get(_a0 string) *json.RawMessage
Get provides a mock function with given fields: _a0
type RequesterArgSameAsPkg ¶
RequesterArgSameAsPkg is an autogenerated mock type for the RequesterArgSameAsPkg type
func NewRequesterArgSameAsPkg ¶
func NewRequesterArgSameAsPkg(t mockConstructorTestingTNewRequesterArgSameAsPkg) *RequesterArgSameAsPkg
NewRequesterArgSameAsPkg creates a new instance of RequesterArgSameAsPkg. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*RequesterArgSameAsPkg) Get ¶
func (_m *RequesterArgSameAsPkg) Get(_a0 string)
Get provides a mock function with given fields: _a0
type RequesterArray ¶
RequesterArray is an autogenerated mock type for the RequesterArray type
func NewRequesterArray ¶
func NewRequesterArray(t mockConstructorTestingTNewRequesterArray) *RequesterArray
NewRequesterArray creates a new instance of RequesterArray. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type RequesterElided ¶
RequesterElided is an autogenerated mock type for the RequesterElided type
func NewRequesterElided ¶
func NewRequesterElided(t mockConstructorTestingTNewRequesterElided) *RequesterElided
NewRequesterElided creates a new instance of RequesterElided. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type RequesterGenerics ¶
type RequesterGenerics[TAny interface{}, TComparable comparable, TSigned constraints.Signed, TIntf test.GetInt, TExternalIntf io.Writer, TGenIntf test.GetGeneric[TSigned], TInlineType interface{ ~int | ~uint }, TInlineTypeGeneric interface { ~int | test.GenericType[int, test.GetInt] comparable }] struct { mock.Mock }
RequesterGenerics is an autogenerated mock type for the RequesterGenerics type
func NewRequesterGenerics ¶
func NewRequesterGenerics[TAny interface{}, TComparable comparable, TSigned constraints.Signed, TIntf test.GetInt, TExternalIntf io.Writer, TGenIntf test.GetGeneric[TSigned], TInlineType interface{ ~int | ~uint }, TInlineTypeGeneric interface { ~int | test.GenericType[int, test.GetInt] comparable }](t mockConstructorTestingTNewRequesterGenerics) *RequesterGenerics[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]
NewRequesterGenerics creates a new instance of RequesterGenerics. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*RequesterGenerics[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) GenericAnonymousStructs ¶
func (_m *RequesterGenerics[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) GenericAnonymousStructs(_a0 struct{ Type1 TExternalIntf }) struct { Type2 test.GenericType[string, test.EmbeddedGet[int]] }
GenericAnonymousStructs provides a mock function with given fields: _a0
func (*RequesterGenerics[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) GenericArguments ¶
func (_m *RequesterGenerics[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) GenericArguments(_a0 TAny, _a1 TComparable) (TSigned, TIntf)
GenericArguments provides a mock function with given fields: _a0, _a1
func (*RequesterGenerics[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) GenericStructs ¶
func (_m *RequesterGenerics[TAny, TComparable, TSigned, TIntf, TExternalIntf, TGenIntf, TInlineType, TInlineTypeGeneric]) GenericStructs(_a0 test.GenericType[TAny, TIntf]) test.GenericType[TSigned, TIntf]
GenericStructs provides a mock function with given fields: _a0
type RequesterIface ¶
RequesterIface is an autogenerated mock type for the RequesterIface type
func NewRequesterIface ¶
func NewRequesterIface(t mockConstructorTestingTNewRequesterIface) *RequesterIface
NewRequesterIface creates a new instance of RequesterIface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*RequesterIface) Get ¶
func (_m *RequesterIface) Get() io.Reader
Get provides a mock function with given fields:
type RequesterNS ¶
RequesterNS is an autogenerated mock type for the RequesterNS type
func NewRequesterNS ¶
func NewRequesterNS(t mockConstructorTestingTNewRequesterNS) *RequesterNS
NewRequesterNS creates a new instance of RequesterNS. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type RequesterPtr ¶
RequesterPtr is an autogenerated mock type for the RequesterPtr type
func NewRequesterPtr ¶
func NewRequesterPtr(t mockConstructorTestingTNewRequesterPtr) *RequesterPtr
NewRequesterPtr creates a new instance of RequesterPtr. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type RequesterReturnElided ¶
RequesterReturnElided is an autogenerated mock type for the RequesterReturnElided type
func NewRequesterReturnElided ¶
func NewRequesterReturnElided(t mockConstructorTestingTNewRequesterReturnElided) *RequesterReturnElided
NewRequesterReturnElided creates a new instance of RequesterReturnElided. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type RequesterSlice ¶
RequesterSlice is an autogenerated mock type for the RequesterSlice type
func NewRequesterSlice ¶
func NewRequesterSlice(t mockConstructorTestingTNewRequesterSlice) *RequesterSlice
NewRequesterSlice creates a new instance of RequesterSlice. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type RequesterVariadic ¶
RequesterVariadic is an autogenerated mock type for the RequesterVariadic type
func NewRequesterVariadic ¶
func NewRequesterVariadic(t mockConstructorTestingTNewRequesterVariadic) *RequesterVariadic
NewRequesterVariadic creates a new instance of RequesterVariadic. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
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 NewRequesterVariadicOneArgument ¶
func NewRequesterVariadicOneArgument(t mockConstructorTestingTNewRequesterVariadicOneArgument) *RequesterVariadicOneArgument
NewRequesterVariadicOneArgument creates a new instance of RequesterVariadicOneArgument. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
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
type SendFunc ¶
SendFunc is an autogenerated mock type for the SendFunc type
func NewSendFunc ¶
func NewSendFunc(t mockConstructorTestingTNewSendFunc) *SendFunc
NewSendFunc creates a new instance of SendFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type Sibling ¶
Sibling is an autogenerated mock type for the Sibling type
func NewSibling ¶
func NewSibling(t mockConstructorTestingTNewSibling) *Sibling
NewSibling creates a new instance of Sibling. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Sibling) DoSomething ¶
func (_m *Sibling) DoSomething()
DoSomething provides a mock function with given fields:
type UnsafeInterface ¶
UnsafeInterface is an autogenerated mock type for the UnsafeInterface type
func NewUnsafeInterface ¶
func NewUnsafeInterface(t mockConstructorTestingTNewUnsafeInterface) *UnsafeInterface
NewUnsafeInterface creates a new instance of UnsafeInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*UnsafeInterface) Do ¶
func (_m *UnsafeInterface) Do(ptr *unsafe.Pointer)
Do provides a mock function with given fields: ptr
type UsesOtherPkgIface ¶
UsesOtherPkgIface is an autogenerated mock type for the UsesOtherPkgIface type
func NewUsesOtherPkgIface ¶
func NewUsesOtherPkgIface(t mockConstructorTestingTNewUsesOtherPkgIface) *UsesOtherPkgIface
NewUsesOtherPkgIface creates a new instance of UsesOtherPkgIface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*UsesOtherPkgIface) DoSomethingElse ¶
func (_m *UsesOtherPkgIface) DoSomethingElse(obj test.Sibling)
DoSomethingElse provides a mock function with given fields: obj
Source Files ¶
- A.go
- AsyncProducer.go
- Blank.go
- ConsulLock.go
- EmbeddedGet.go
- Example.go
- Expecter.go
- Fooer.go
- FuncArgsCollision.go
- GetGeneric.go
- GetInt.go
- HasConflictingNestedImports.go
- ImportsSameAsPackage.go
- KeyManager.go
- MapFunc.go
- MapToInterface.go
- MyReader.go
- Requester.go
- Requester2.go
- Requester3.go
- Requester4.go
- RequesterArgSameAsImport.go
- RequesterArgSameAsNamedImport.go
- RequesterArgSameAsPkg.go
- RequesterArray.go
- RequesterElided.go
- RequesterGenerics.go
- RequesterIface.go
- RequesterNS.go
- RequesterPtr.go
- RequesterReturnElided.go
- RequesterSlice.go
- RequesterVariadic.go
- RequesterVariadicOneArgument.go
- SendFunc.go
- Sibling.go
- UnsafeInterface.go
- UsesOtherPkgIface.go
- requester_unexported.go