Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeAliasedInterface
- func (fake *FakeAliasedInterface) AnotherMethod(arg1 []another_package.SomeType, ...)
- func (fake *FakeAliasedInterface) AnotherMethodArgsForCall(i int) ([]another_package.SomeType, ...)
- func (fake *FakeAliasedInterface) AnotherMethodCallCount() int
- func (fake *FakeAliasedInterface) AnotherMethodCalls(stub func([]another_package.SomeType, ...))
- func (fake *FakeAliasedInterface) Invocations() map[string][][]interface{}
- type FakeDotImports
- func (fake *FakeDotImports) DoThings(arg1 io.Writer, arg2 *os.File) *http.Client
- func (fake *FakeDotImports) DoThingsArgsForCall(i int) (io.Writer, *os.File)
- func (fake *FakeDotImports) DoThingsCallCount() int
- func (fake *FakeDotImports) DoThingsCalls(stub func(io.Writer, *os.File) *http.Client)
- func (fake *FakeDotImports) DoThingsReturns(result1 *http.Client)
- func (fake *FakeDotImports) DoThingsReturnsOnCall(i int, result1 *http.Client)
- func (fake *FakeDotImports) Invocations() map[string][][]interface{}
- type FakeEmbedsInterfaces
- func (fake *FakeEmbedsInterfaces) AnotherMethod(arg1 []another_package.SomeType, ...)
- func (fake *FakeEmbedsInterfaces) AnotherMethodArgsForCall(i int) ([]another_package.SomeType, ...)
- func (fake *FakeEmbedsInterfaces) AnotherMethodCallCount() int
- func (fake *FakeEmbedsInterfaces) AnotherMethodCalls(stub func([]another_package.SomeType, ...))
- func (fake *FakeEmbedsInterfaces) DoThings()
- func (fake *FakeEmbedsInterfaces) DoThingsCallCount() int
- func (fake *FakeEmbedsInterfaces) DoThingsCalls(stub func())
- func (fake *FakeEmbedsInterfaces) EmbeddedMethod() string
- func (fake *FakeEmbedsInterfaces) EmbeddedMethodCallCount() int
- func (fake *FakeEmbedsInterfaces) EmbeddedMethodCalls(stub func() string)
- func (fake *FakeEmbedsInterfaces) EmbeddedMethodReturns(result1 string)
- func (fake *FakeEmbedsInterfaces) EmbeddedMethodReturnsOnCall(i int, result1 string)
- func (fake *FakeEmbedsInterfaces) Invocations() map[string][][]interface{}
- func (fake *FakeEmbedsInterfaces) ServeHTTP(arg1 http.ResponseWriter, arg2 *http.Request)
- func (fake *FakeEmbedsInterfaces) ServeHTTPArgsForCall(i int) (http.ResponseWriter, *http.Request)
- func (fake *FakeEmbedsInterfaces) ServeHTTPCallCount() int
- func (fake *FakeEmbedsInterfaces) ServeHTTPCalls(stub func(http.ResponseWriter, *http.Request))
- type FakeFirstInterface
- type FakeHasImports
- func (fake *FakeHasImports) DoThings(arg1 io.Writer, arg2 *os.File) *http.Client
- func (fake *FakeHasImports) DoThingsArgsForCall(i int) (io.Writer, *os.File)
- func (fake *FakeHasImports) DoThingsCallCount() int
- func (fake *FakeHasImports) DoThingsCalls(stub func(io.Writer, *os.File) *http.Client)
- func (fake *FakeHasImports) DoThingsReturns(result1 *http.Client)
- func (fake *FakeHasImports) DoThingsReturnsOnCall(i int, result1 *http.Client)
- func (fake *FakeHasImports) Invocations() map[string][][]interface{}
- type FakeHasOtherTypes
- func (fake *FakeHasOtherTypes) GetThing(arg1 fixtures.SomeString) fixtures.SomeFunc
- func (fake *FakeHasOtherTypes) GetThingArgsForCall(i int) fixtures.SomeString
- func (fake *FakeHasOtherTypes) GetThingCallCount() int
- func (fake *FakeHasOtherTypes) GetThingCalls(stub func(fixtures.SomeString) fixtures.SomeFunc)
- func (fake *FakeHasOtherTypes) GetThingReturns(result1 fixtures.SomeFunc)
- func (fake *FakeHasOtherTypes) GetThingReturnsOnCall(i int, result1 fixtures.SomeFunc)
- func (fake *FakeHasOtherTypes) Invocations() map[string][][]interface{}
- type FakeHasVarArgs
- func (fake *FakeHasVarArgs) DoMoreThings(arg1 int, arg2 int, arg3 ...string) int
- func (fake *FakeHasVarArgs) DoMoreThingsArgsForCall(i int) (int, int, []string)
- func (fake *FakeHasVarArgs) DoMoreThingsCallCount() int
- func (fake *FakeHasVarArgs) DoMoreThingsCalls(stub func(int, int, ...string) int)
- func (fake *FakeHasVarArgs) DoMoreThingsReturns(result1 int)
- func (fake *FakeHasVarArgs) DoMoreThingsReturnsOnCall(i int, result1 int)
- func (fake *FakeHasVarArgs) DoThings(arg1 int, arg2 ...string) int
- func (fake *FakeHasVarArgs) DoThingsArgsForCall(i int) (int, []string)
- func (fake *FakeHasVarArgs) DoThingsCallCount() int
- func (fake *FakeHasVarArgs) DoThingsCalls(stub func(int, ...string) int)
- func (fake *FakeHasVarArgs) DoThingsReturns(result1 int)
- func (fake *FakeHasVarArgs) DoThingsReturnsOnCall(i int, result1 int)
- func (fake *FakeHasVarArgs) Invocations() map[string][][]interface{}
- type FakeHasVarArgsWithLocalTypes
- func (fake *FakeHasVarArgsWithLocalTypes) DoThings(arg1 ...fixtures.LocalType)
- func (fake *FakeHasVarArgsWithLocalTypes) DoThingsArgsForCall(i int) []fixtures.LocalType
- func (fake *FakeHasVarArgsWithLocalTypes) DoThingsCallCount() int
- func (fake *FakeHasVarArgsWithLocalTypes) DoThingsCalls(stub func(...fixtures.LocalType))
- func (fake *FakeHasVarArgsWithLocalTypes) Invocations() map[string][][]interface{}
- type FakeImportsGoHyphenPackage
- func (fake *FakeImportsGoHyphenPackage) Invocations() map[string][][]interface{}
- func (fake *FakeImportsGoHyphenPackage) UseHyphenType(arg1 hyphenpackage.HyphenType)
- func (fake *FakeImportsGoHyphenPackage) UseHyphenTypeArgsForCall(i int) hyphenpackage.HyphenType
- func (fake *FakeImportsGoHyphenPackage) UseHyphenTypeCallCount() int
- func (fake *FakeImportsGoHyphenPackage) UseHyphenTypeCalls(stub func(hyphenpackage.HyphenType))
- type FakeInlineStructParams
- func (fake *FakeInlineStructParams) DoSomething(arg1 context.Context, arg2 struct{ ... }) error
- func (fake *FakeInlineStructParams) DoSomethingArgsForCall(i int) (context.Context, struct{ ... })
- func (fake *FakeInlineStructParams) DoSomethingCallCount() int
- func (fake *FakeInlineStructParams) DoSomethingCalls(stub func(context.Context, struct{ ... }) error)
- func (fake *FakeInlineStructParams) DoSomethingReturns(result1 error)
- func (fake *FakeInlineStructParams) DoSomethingReturnsOnCall(i int, result1 error)
- func (fake *FakeInlineStructParams) Invocations() map[string][][]interface{}
- type FakeReusesArgTypes
- func (fake *FakeReusesArgTypes) DoThings(arg1 string, arg2 string)
- func (fake *FakeReusesArgTypes) DoThingsArgsForCall(i int) (string, string)
- func (fake *FakeReusesArgTypes) DoThingsCallCount() int
- func (fake *FakeReusesArgTypes) DoThingsCalls(stub func(string, string))
- func (fake *FakeReusesArgTypes) Invocations() map[string][][]interface{}
- type FakeSecondInterface
- func (fake *FakeSecondInterface) EmbeddedMethod() string
- func (fake *FakeSecondInterface) EmbeddedMethodCallCount() int
- func (fake *FakeSecondInterface) EmbeddedMethodCalls(stub func() string)
- func (fake *FakeSecondInterface) EmbeddedMethodReturns(result1 string)
- func (fake *FakeSecondInterface) EmbeddedMethodReturnsOnCall(i int, result1 string)
- func (fake *FakeSecondInterface) Invocations() map[string][][]interface{}
- type FakeSomething
- func (fake *FakeSomething) DoASlice(arg1 []byte)
- func (fake *FakeSomething) DoASliceArgsForCall(i int) []byte
- func (fake *FakeSomething) DoASliceCallCount() int
- func (fake *FakeSomething) DoASliceCalls(stub func([]byte))
- func (fake *FakeSomething) DoAnArray(arg1 [4]byte)
- func (fake *FakeSomething) DoAnArrayArgsForCall(i int) [4]byte
- func (fake *FakeSomething) DoAnArrayCallCount() int
- func (fake *FakeSomething) DoAnArrayCalls(stub func([4]byte))
- func (fake *FakeSomething) DoNothing()
- func (fake *FakeSomething) DoNothingCallCount() int
- func (fake *FakeSomething) DoNothingCalls(stub func())
- func (fake *FakeSomething) DoThings(arg1 string, arg2 uint64) (int, error)
- func (fake *FakeSomething) DoThingsArgsForCall(i int) (string, uint64)
- func (fake *FakeSomething) DoThingsCallCount() int
- func (fake *FakeSomething) DoThingsCalls(stub func(string, uint64) (int, error))
- func (fake *FakeSomething) DoThingsReturns(result1 int, result2 error)
- func (fake *FakeSomething) DoThingsReturnsOnCall(i int, result1 int, result2 error)
- func (fake *FakeSomething) Invocations() map[string][][]interface{}
- type FakeSomethingElse
- func (fake *FakeSomethingElse) Invocations() map[string][][]interface{}
- func (fake *FakeSomethingElse) ReturnStuff() (int, int)
- func (fake *FakeSomethingElse) ReturnStuffCallCount() int
- func (fake *FakeSomethingElse) ReturnStuffCalls(stub func() (int, int))
- func (fake *FakeSomethingElse) ReturnStuffReturns(result1 int, result2 int)
- func (fake *FakeSomethingElse) ReturnStuffReturnsOnCall(i int, result1 int, result2 int)
- type FakeSomethingFactory
- func (fake *FakeSomethingFactory) ArgsForCall(i int) (string, map[string]interface{})
- func (fake *FakeSomethingFactory) CallCount() int
- func (fake *FakeSomethingFactory) Calls(stub func(string, map[string]interface{}) string)
- func (fake *FakeSomethingFactory) Invocations() map[string][][]interface{}
- func (fake *FakeSomethingFactory) Returns(result1 string)
- func (fake *FakeSomethingFactory) ReturnsOnCall(i int, result1 string)
- func (fake *FakeSomethingFactory) Spy(arg1 string, arg2 map[string]interface{}) string
- type FakeSomethingWithForeignInterface
- func (fake *FakeSomethingWithForeignInterface) Invocations() map[string][][]interface{}
- func (fake *FakeSomethingWithForeignInterface) Stuff(arg1 int) string
- func (fake *FakeSomethingWithForeignInterface) StuffArgsForCall(i int) int
- func (fake *FakeSomethingWithForeignInterface) StuffCallCount() int
- func (fake *FakeSomethingWithForeignInterface) StuffCalls(stub func(int) string)
- func (fake *FakeSomethingWithForeignInterface) StuffReturns(result1 string)
- func (fake *FakeSomethingWithForeignInterface) StuffReturnsOnCall(i int, result1 string)
- type FakeUnexportedFunc
- func (fake *FakeUnexportedFunc) ArgsForCall(i int) (string, map[string]interface{})
- func (fake *FakeUnexportedFunc) CallCount() int
- func (fake *FakeUnexportedFunc) Calls(stub func(string, map[string]interface{}) string)
- func (fake *FakeUnexportedFunc) Invocations() map[string][][]interface{}
- func (fake *FakeUnexportedFunc) Returns(result1 string)
- func (fake *FakeUnexportedFunc) ReturnsOnCall(i int, result1 string)
- func (fake *FakeUnexportedFunc) Spy(arg1 string, arg2 map[string]interface{}) string
- type FakeUnexportedInterface
- func (fake *FakeUnexportedInterface) Invocations() map[string][][]interface{}
- func (fake *FakeUnexportedInterface) Method(arg1 string, arg2 map[string]interface{}) string
- func (fake *FakeUnexportedInterface) MethodArgsForCall(i int) (string, map[string]interface{})
- func (fake *FakeUnexportedInterface) MethodCallCount() int
- func (fake *FakeUnexportedInterface) MethodCalls(stub func(string, map[string]interface{}) string)
- func (fake *FakeUnexportedInterface) MethodReturns(result1 string)
- func (fake *FakeUnexportedInterface) MethodReturnsOnCall(i int, result1 string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAliasedInterface ¶
type FakeAliasedInterface struct { AnotherMethodStub func([]another_package.SomeType, map[another_package.SomeType]another_package.SomeType, *another_package.SomeType, another_package.SomeType, chan another_package.SomeType) // contains filtered or unexported fields }
func (*FakeAliasedInterface) AnotherMethod ¶
func (fake *FakeAliasedInterface) AnotherMethod(arg1 []another_package.SomeType, arg2 map[another_package.SomeType]another_package.SomeType, arg3 *another_package.SomeType, arg4 another_package.SomeType, arg5 chan another_package.SomeType)
func (*FakeAliasedInterface) AnotherMethodArgsForCall ¶
func (fake *FakeAliasedInterface) AnotherMethodArgsForCall(i int) ([]another_package.SomeType, map[another_package.SomeType]another_package.SomeType, *another_package.SomeType, another_package.SomeType, chan another_package.SomeType)
func (*FakeAliasedInterface) AnotherMethodCallCount ¶
func (fake *FakeAliasedInterface) AnotherMethodCallCount() int
func (*FakeAliasedInterface) AnotherMethodCalls ¶
func (fake *FakeAliasedInterface) AnotherMethodCalls(stub func([]another_package.SomeType, map[another_package.SomeType]another_package.SomeType, *another_package.SomeType, another_package.SomeType, chan another_package.SomeType))
func (*FakeAliasedInterface) Invocations ¶
func (fake *FakeAliasedInterface) Invocations() map[string][][]interface{}
type FakeDotImports ¶
type FakeDotImports struct { DoThingsStub func(io.Writer, *os.File) *http.Client // contains filtered or unexported fields }
func (*FakeDotImports) DoThingsArgsForCall ¶
func (*FakeDotImports) DoThingsCallCount ¶
func (fake *FakeDotImports) DoThingsCallCount() int
func (*FakeDotImports) DoThingsCalls ¶
func (*FakeDotImports) DoThingsReturns ¶
func (fake *FakeDotImports) DoThingsReturns(result1 *http.Client)
func (*FakeDotImports) DoThingsReturnsOnCall ¶
func (fake *FakeDotImports) DoThingsReturnsOnCall(i int, result1 *http.Client)
func (*FakeDotImports) Invocations ¶
func (fake *FakeDotImports) Invocations() map[string][][]interface{}
type FakeEmbedsInterfaces ¶
type FakeEmbedsInterfaces struct { AnotherMethodStub func([]another_package.SomeType, map[another_package.SomeType]another_package.SomeType, *another_package.SomeType, another_package.SomeType, chan another_package.SomeType) DoThingsStub func() EmbeddedMethodStub func() string ServeHTTPStub func(http.ResponseWriter, *http.Request) // contains filtered or unexported fields }
func (*FakeEmbedsInterfaces) AnotherMethod ¶
func (fake *FakeEmbedsInterfaces) AnotherMethod(arg1 []another_package.SomeType, arg2 map[another_package.SomeType]another_package.SomeType, arg3 *another_package.SomeType, arg4 another_package.SomeType, arg5 chan another_package.SomeType)
func (*FakeEmbedsInterfaces) AnotherMethodArgsForCall ¶
func (fake *FakeEmbedsInterfaces) AnotherMethodArgsForCall(i int) ([]another_package.SomeType, map[another_package.SomeType]another_package.SomeType, *another_package.SomeType, another_package.SomeType, chan another_package.SomeType)
func (*FakeEmbedsInterfaces) AnotherMethodCallCount ¶
func (fake *FakeEmbedsInterfaces) AnotherMethodCallCount() int
func (*FakeEmbedsInterfaces) AnotherMethodCalls ¶
func (fake *FakeEmbedsInterfaces) AnotherMethodCalls(stub func([]another_package.SomeType, map[another_package.SomeType]another_package.SomeType, *another_package.SomeType, another_package.SomeType, chan another_package.SomeType))
func (*FakeEmbedsInterfaces) DoThings ¶
func (fake *FakeEmbedsInterfaces) DoThings()
func (*FakeEmbedsInterfaces) DoThingsCallCount ¶
func (fake *FakeEmbedsInterfaces) DoThingsCallCount() int
func (*FakeEmbedsInterfaces) DoThingsCalls ¶
func (fake *FakeEmbedsInterfaces) DoThingsCalls(stub func())
func (*FakeEmbedsInterfaces) EmbeddedMethod ¶
func (fake *FakeEmbedsInterfaces) EmbeddedMethod() string
func (*FakeEmbedsInterfaces) EmbeddedMethodCallCount ¶
func (fake *FakeEmbedsInterfaces) EmbeddedMethodCallCount() int
func (*FakeEmbedsInterfaces) EmbeddedMethodCalls ¶
func (fake *FakeEmbedsInterfaces) EmbeddedMethodCalls(stub func() string)
func (*FakeEmbedsInterfaces) EmbeddedMethodReturns ¶
func (fake *FakeEmbedsInterfaces) EmbeddedMethodReturns(result1 string)
func (*FakeEmbedsInterfaces) EmbeddedMethodReturnsOnCall ¶
func (fake *FakeEmbedsInterfaces) EmbeddedMethodReturnsOnCall(i int, result1 string)
func (*FakeEmbedsInterfaces) Invocations ¶
func (fake *FakeEmbedsInterfaces) Invocations() map[string][][]interface{}
func (*FakeEmbedsInterfaces) ServeHTTP ¶
func (fake *FakeEmbedsInterfaces) ServeHTTP(arg1 http.ResponseWriter, arg2 *http.Request)
func (*FakeEmbedsInterfaces) ServeHTTPArgsForCall ¶
func (fake *FakeEmbedsInterfaces) ServeHTTPArgsForCall(i int) (http.ResponseWriter, *http.Request)
func (*FakeEmbedsInterfaces) ServeHTTPCallCount ¶
func (fake *FakeEmbedsInterfaces) ServeHTTPCallCount() int
func (*FakeEmbedsInterfaces) ServeHTTPCalls ¶
func (fake *FakeEmbedsInterfaces) ServeHTTPCalls(stub func(http.ResponseWriter, *http.Request))
type FakeFirstInterface ¶
type FakeFirstInterface struct { DoThingsStub func() // contains filtered or unexported fields }
func (*FakeFirstInterface) DoThings ¶
func (fake *FakeFirstInterface) DoThings()
func (*FakeFirstInterface) DoThingsCallCount ¶
func (fake *FakeFirstInterface) DoThingsCallCount() int
func (*FakeFirstInterface) DoThingsCalls ¶
func (fake *FakeFirstInterface) DoThingsCalls(stub func())
func (*FakeFirstInterface) Invocations ¶
func (fake *FakeFirstInterface) Invocations() map[string][][]interface{}
type FakeHasImports ¶
type FakeHasImports struct { DoThingsStub func(io.Writer, *os.File) *http.Client // contains filtered or unexported fields }
func (*FakeHasImports) DoThingsArgsForCall ¶
func (*FakeHasImports) DoThingsCallCount ¶
func (fake *FakeHasImports) DoThingsCallCount() int
func (*FakeHasImports) DoThingsCalls ¶
func (*FakeHasImports) DoThingsReturns ¶
func (fake *FakeHasImports) DoThingsReturns(result1 *http.Client)
func (*FakeHasImports) DoThingsReturnsOnCall ¶
func (fake *FakeHasImports) DoThingsReturnsOnCall(i int, result1 *http.Client)
func (*FakeHasImports) Invocations ¶
func (fake *FakeHasImports) Invocations() map[string][][]interface{}
type FakeHasOtherTypes ¶
type FakeHasOtherTypes struct { GetThingStub func(fixtures.SomeString) fixtures.SomeFunc // contains filtered or unexported fields }
func (*FakeHasOtherTypes) GetThing ¶
func (fake *FakeHasOtherTypes) GetThing(arg1 fixtures.SomeString) fixtures.SomeFunc
func (*FakeHasOtherTypes) GetThingArgsForCall ¶
func (fake *FakeHasOtherTypes) GetThingArgsForCall(i int) fixtures.SomeString
func (*FakeHasOtherTypes) GetThingCallCount ¶
func (fake *FakeHasOtherTypes) GetThingCallCount() int
func (*FakeHasOtherTypes) GetThingCalls ¶
func (fake *FakeHasOtherTypes) GetThingCalls(stub func(fixtures.SomeString) fixtures.SomeFunc)
func (*FakeHasOtherTypes) GetThingReturns ¶
func (fake *FakeHasOtherTypes) GetThingReturns(result1 fixtures.SomeFunc)
func (*FakeHasOtherTypes) GetThingReturnsOnCall ¶
func (fake *FakeHasOtherTypes) GetThingReturnsOnCall(i int, result1 fixtures.SomeFunc)
func (*FakeHasOtherTypes) Invocations ¶
func (fake *FakeHasOtherTypes) Invocations() map[string][][]interface{}
type FakeHasVarArgs ¶
type FakeHasVarArgs struct { DoMoreThingsStub func(int, int, ...string) int DoThingsStub func(int, ...string) int // contains filtered or unexported fields }
func (*FakeHasVarArgs) DoMoreThings ¶
func (fake *FakeHasVarArgs) DoMoreThings(arg1 int, arg2 int, arg3 ...string) int
func (*FakeHasVarArgs) DoMoreThingsArgsForCall ¶
func (fake *FakeHasVarArgs) DoMoreThingsArgsForCall(i int) (int, int, []string)
func (*FakeHasVarArgs) DoMoreThingsCallCount ¶
func (fake *FakeHasVarArgs) DoMoreThingsCallCount() int
func (*FakeHasVarArgs) DoMoreThingsCalls ¶
func (fake *FakeHasVarArgs) DoMoreThingsCalls(stub func(int, int, ...string) int)
func (*FakeHasVarArgs) DoMoreThingsReturns ¶
func (fake *FakeHasVarArgs) DoMoreThingsReturns(result1 int)
func (*FakeHasVarArgs) DoMoreThingsReturnsOnCall ¶
func (fake *FakeHasVarArgs) DoMoreThingsReturnsOnCall(i int, result1 int)
func (*FakeHasVarArgs) DoThings ¶
func (fake *FakeHasVarArgs) DoThings(arg1 int, arg2 ...string) int
func (*FakeHasVarArgs) DoThingsArgsForCall ¶
func (fake *FakeHasVarArgs) DoThingsArgsForCall(i int) (int, []string)
func (*FakeHasVarArgs) DoThingsCallCount ¶
func (fake *FakeHasVarArgs) DoThingsCallCount() int
func (*FakeHasVarArgs) DoThingsCalls ¶
func (fake *FakeHasVarArgs) DoThingsCalls(stub func(int, ...string) int)
func (*FakeHasVarArgs) DoThingsReturns ¶
func (fake *FakeHasVarArgs) DoThingsReturns(result1 int)
func (*FakeHasVarArgs) DoThingsReturnsOnCall ¶
func (fake *FakeHasVarArgs) DoThingsReturnsOnCall(i int, result1 int)
func (*FakeHasVarArgs) Invocations ¶
func (fake *FakeHasVarArgs) Invocations() map[string][][]interface{}
type FakeHasVarArgsWithLocalTypes ¶
type FakeHasVarArgsWithLocalTypes struct { DoThingsStub func(...fixtures.LocalType) // contains filtered or unexported fields }
func (*FakeHasVarArgsWithLocalTypes) DoThings ¶
func (fake *FakeHasVarArgsWithLocalTypes) DoThings(arg1 ...fixtures.LocalType)
func (*FakeHasVarArgsWithLocalTypes) DoThingsArgsForCall ¶
func (fake *FakeHasVarArgsWithLocalTypes) DoThingsArgsForCall(i int) []fixtures.LocalType
func (*FakeHasVarArgsWithLocalTypes) DoThingsCallCount ¶
func (fake *FakeHasVarArgsWithLocalTypes) DoThingsCallCount() int
func (*FakeHasVarArgsWithLocalTypes) DoThingsCalls ¶
func (fake *FakeHasVarArgsWithLocalTypes) DoThingsCalls(stub func(...fixtures.LocalType))
func (*FakeHasVarArgsWithLocalTypes) Invocations ¶
func (fake *FakeHasVarArgsWithLocalTypes) Invocations() map[string][][]interface{}
type FakeImportsGoHyphenPackage ¶
type FakeImportsGoHyphenPackage struct { UseHyphenTypeStub func(hyphenpackage.HyphenType) // contains filtered or unexported fields }
func (*FakeImportsGoHyphenPackage) Invocations ¶
func (fake *FakeImportsGoHyphenPackage) Invocations() map[string][][]interface{}
func (*FakeImportsGoHyphenPackage) UseHyphenType ¶
func (fake *FakeImportsGoHyphenPackage) UseHyphenType(arg1 hyphenpackage.HyphenType)
func (*FakeImportsGoHyphenPackage) UseHyphenTypeArgsForCall ¶
func (fake *FakeImportsGoHyphenPackage) UseHyphenTypeArgsForCall(i int) hyphenpackage.HyphenType
func (*FakeImportsGoHyphenPackage) UseHyphenTypeCallCount ¶
func (fake *FakeImportsGoHyphenPackage) UseHyphenTypeCallCount() int
func (*FakeImportsGoHyphenPackage) UseHyphenTypeCalls ¶
func (fake *FakeImportsGoHyphenPackage) UseHyphenTypeCalls(stub func(hyphenpackage.HyphenType))
type FakeInlineStructParams ¶
type FakeInlineStructParams struct { DoSomethingStub func(context.Context, struct { SomeString string SomeStringPointer *string SomeTime time.Time SomeTimePointer *time.Time HTTPRequest http.Request }) error // contains filtered or unexported fields }
func (*FakeInlineStructParams) DoSomething ¶
func (*FakeInlineStructParams) DoSomethingArgsForCall ¶
func (*FakeInlineStructParams) DoSomethingCallCount ¶
func (fake *FakeInlineStructParams) DoSomethingCallCount() int
func (*FakeInlineStructParams) DoSomethingCalls ¶
func (*FakeInlineStructParams) DoSomethingReturns ¶
func (fake *FakeInlineStructParams) DoSomethingReturns(result1 error)
func (*FakeInlineStructParams) DoSomethingReturnsOnCall ¶
func (fake *FakeInlineStructParams) DoSomethingReturnsOnCall(i int, result1 error)
func (*FakeInlineStructParams) Invocations ¶
func (fake *FakeInlineStructParams) Invocations() map[string][][]interface{}
type FakeReusesArgTypes ¶
type FakeReusesArgTypes struct { DoThingsStub func(string, string) // contains filtered or unexported fields }
func (*FakeReusesArgTypes) DoThings ¶
func (fake *FakeReusesArgTypes) DoThings(arg1 string, arg2 string)
func (*FakeReusesArgTypes) DoThingsArgsForCall ¶
func (fake *FakeReusesArgTypes) DoThingsArgsForCall(i int) (string, string)
func (*FakeReusesArgTypes) DoThingsCallCount ¶
func (fake *FakeReusesArgTypes) DoThingsCallCount() int
func (*FakeReusesArgTypes) DoThingsCalls ¶
func (fake *FakeReusesArgTypes) DoThingsCalls(stub func(string, string))
func (*FakeReusesArgTypes) Invocations ¶
func (fake *FakeReusesArgTypes) Invocations() map[string][][]interface{}
type FakeSecondInterface ¶
type FakeSecondInterface struct { EmbeddedMethodStub func() string // contains filtered or unexported fields }
func (*FakeSecondInterface) EmbeddedMethod ¶
func (fake *FakeSecondInterface) EmbeddedMethod() string
func (*FakeSecondInterface) EmbeddedMethodCallCount ¶
func (fake *FakeSecondInterface) EmbeddedMethodCallCount() int
func (*FakeSecondInterface) EmbeddedMethodCalls ¶
func (fake *FakeSecondInterface) EmbeddedMethodCalls(stub func() string)
func (*FakeSecondInterface) EmbeddedMethodReturns ¶
func (fake *FakeSecondInterface) EmbeddedMethodReturns(result1 string)
func (*FakeSecondInterface) EmbeddedMethodReturnsOnCall ¶
func (fake *FakeSecondInterface) EmbeddedMethodReturnsOnCall(i int, result1 string)
func (*FakeSecondInterface) Invocations ¶
func (fake *FakeSecondInterface) Invocations() map[string][][]interface{}
type FakeSomething ¶
type FakeSomething struct { DoASliceStub func([]byte) DoAnArrayStub func([4]byte) DoNothingStub func() DoThingsStub func(string, uint64) (int, error) // contains filtered or unexported fields }
func (*FakeSomething) DoASlice ¶
func (fake *FakeSomething) DoASlice(arg1 []byte)
func (*FakeSomething) DoASliceArgsForCall ¶
func (fake *FakeSomething) DoASliceArgsForCall(i int) []byte
func (*FakeSomething) DoASliceCallCount ¶
func (fake *FakeSomething) DoASliceCallCount() int
func (*FakeSomething) DoASliceCalls ¶
func (fake *FakeSomething) DoASliceCalls(stub func([]byte))
func (*FakeSomething) DoAnArray ¶
func (fake *FakeSomething) DoAnArray(arg1 [4]byte)
func (*FakeSomething) DoAnArrayArgsForCall ¶
func (fake *FakeSomething) DoAnArrayArgsForCall(i int) [4]byte
func (*FakeSomething) DoAnArrayCallCount ¶
func (fake *FakeSomething) DoAnArrayCallCount() int
func (*FakeSomething) DoAnArrayCalls ¶
func (fake *FakeSomething) DoAnArrayCalls(stub func([4]byte))
func (*FakeSomething) DoNothing ¶
func (fake *FakeSomething) DoNothing()
func (*FakeSomething) DoNothingCallCount ¶
func (fake *FakeSomething) DoNothingCallCount() int
func (*FakeSomething) DoNothingCalls ¶
func (fake *FakeSomething) DoNothingCalls(stub func())
func (*FakeSomething) DoThings ¶
func (fake *FakeSomething) DoThings(arg1 string, arg2 uint64) (int, error)
func (*FakeSomething) DoThingsArgsForCall ¶
func (fake *FakeSomething) DoThingsArgsForCall(i int) (string, uint64)
func (*FakeSomething) DoThingsCallCount ¶
func (fake *FakeSomething) DoThingsCallCount() int
func (*FakeSomething) DoThingsCalls ¶
func (fake *FakeSomething) DoThingsCalls(stub func(string, uint64) (int, error))
func (*FakeSomething) DoThingsReturns ¶
func (fake *FakeSomething) DoThingsReturns(result1 int, result2 error)
func (*FakeSomething) DoThingsReturnsOnCall ¶
func (fake *FakeSomething) DoThingsReturnsOnCall(i int, result1 int, result2 error)
func (*FakeSomething) Invocations ¶
func (fake *FakeSomething) Invocations() map[string][][]interface{}
type FakeSomethingElse ¶
type FakeSomethingElse struct { ReturnStuffStub func() (int, int) // contains filtered or unexported fields }
func (*FakeSomethingElse) Invocations ¶
func (fake *FakeSomethingElse) Invocations() map[string][][]interface{}
func (*FakeSomethingElse) ReturnStuff ¶
func (fake *FakeSomethingElse) ReturnStuff() (int, int)
func (*FakeSomethingElse) ReturnStuffCallCount ¶
func (fake *FakeSomethingElse) ReturnStuffCallCount() int
func (*FakeSomethingElse) ReturnStuffCalls ¶
func (fake *FakeSomethingElse) ReturnStuffCalls(stub func() (int, int))
func (*FakeSomethingElse) ReturnStuffReturns ¶
func (fake *FakeSomethingElse) ReturnStuffReturns(result1 int, result2 int)
func (*FakeSomethingElse) ReturnStuffReturnsOnCall ¶
func (fake *FakeSomethingElse) ReturnStuffReturnsOnCall(i int, result1 int, result2 int)
type FakeSomethingFactory ¶
type FakeSomethingFactory struct { Stub func(string, map[string]interface{}) string // contains filtered or unexported fields }
func (*FakeSomethingFactory) ArgsForCall ¶
func (fake *FakeSomethingFactory) ArgsForCall(i int) (string, map[string]interface{})
func (*FakeSomethingFactory) CallCount ¶
func (fake *FakeSomethingFactory) CallCount() int
func (*FakeSomethingFactory) Calls ¶
func (fake *FakeSomethingFactory) Calls(stub func(string, map[string]interface{}) string)
func (*FakeSomethingFactory) Invocations ¶
func (fake *FakeSomethingFactory) Invocations() map[string][][]interface{}
func (*FakeSomethingFactory) Returns ¶
func (fake *FakeSomethingFactory) Returns(result1 string)
func (*FakeSomethingFactory) ReturnsOnCall ¶
func (fake *FakeSomethingFactory) ReturnsOnCall(i int, result1 string)
type FakeSomethingWithForeignInterface ¶
type FakeSomethingWithForeignInterface struct { StuffStub func(int) string // contains filtered or unexported fields }
func (*FakeSomethingWithForeignInterface) Invocations ¶
func (fake *FakeSomethingWithForeignInterface) Invocations() map[string][][]interface{}
func (*FakeSomethingWithForeignInterface) Stuff ¶
func (fake *FakeSomethingWithForeignInterface) Stuff(arg1 int) string
func (*FakeSomethingWithForeignInterface) StuffArgsForCall ¶
func (fake *FakeSomethingWithForeignInterface) StuffArgsForCall(i int) int
func (*FakeSomethingWithForeignInterface) StuffCallCount ¶
func (fake *FakeSomethingWithForeignInterface) StuffCallCount() int
func (*FakeSomethingWithForeignInterface) StuffCalls ¶
func (fake *FakeSomethingWithForeignInterface) StuffCalls(stub func(int) string)
func (*FakeSomethingWithForeignInterface) StuffReturns ¶
func (fake *FakeSomethingWithForeignInterface) StuffReturns(result1 string)
func (*FakeSomethingWithForeignInterface) StuffReturnsOnCall ¶
func (fake *FakeSomethingWithForeignInterface) StuffReturnsOnCall(i int, result1 string)
type FakeUnexportedFunc ¶
type FakeUnexportedFunc struct { Stub func(string, map[string]interface{}) string // contains filtered or unexported fields }
func (*FakeUnexportedFunc) ArgsForCall ¶
func (fake *FakeUnexportedFunc) ArgsForCall(i int) (string, map[string]interface{})
func (*FakeUnexportedFunc) CallCount ¶
func (fake *FakeUnexportedFunc) CallCount() int
func (*FakeUnexportedFunc) Calls ¶
func (fake *FakeUnexportedFunc) Calls(stub func(string, map[string]interface{}) string)
func (*FakeUnexportedFunc) Invocations ¶
func (fake *FakeUnexportedFunc) Invocations() map[string][][]interface{}
func (*FakeUnexportedFunc) Returns ¶
func (fake *FakeUnexportedFunc) Returns(result1 string)
func (*FakeUnexportedFunc) ReturnsOnCall ¶
func (fake *FakeUnexportedFunc) ReturnsOnCall(i int, result1 string)
type FakeUnexportedInterface ¶
type FakeUnexportedInterface struct { MethodStub func(string, map[string]interface{}) string // contains filtered or unexported fields }
func (*FakeUnexportedInterface) Invocations ¶
func (fake *FakeUnexportedInterface) Invocations() map[string][][]interface{}
func (*FakeUnexportedInterface) Method ¶
func (fake *FakeUnexportedInterface) Method(arg1 string, arg2 map[string]interface{}) string
func (*FakeUnexportedInterface) MethodArgsForCall ¶
func (fake *FakeUnexportedInterface) MethodArgsForCall(i int) (string, map[string]interface{})
func (*FakeUnexportedInterface) MethodCallCount ¶
func (fake *FakeUnexportedInterface) MethodCallCount() int
func (*FakeUnexportedInterface) MethodCalls ¶
func (fake *FakeUnexportedInterface) MethodCalls(stub func(string, map[string]interface{}) string)
func (*FakeUnexportedInterface) MethodReturns ¶
func (fake *FakeUnexportedInterface) MethodReturns(result1 string)
func (*FakeUnexportedInterface) MethodReturnsOnCall ¶
func (fake *FakeUnexportedInterface) MethodReturnsOnCall(i int, result1 string)
Source Files ¶
- fake_aliased_interface.go
- fake_dot_imports.go
- fake_embeds_interfaces.go
- fake_first_interface.go
- fake_has_imports.go
- fake_has_other_types.go
- fake_has_var_args.go
- fake_has_var_args_with_local_types.go
- fake_imports_go_hyphen_package.go
- fake_inline_struct_params.go
- fake_reuses_arg_types.go
- fake_second_interface.go
- fake_something.go
- fake_something_else.go
- fake_something_factory.go
- fake_something_with_foreign_interface.go
- fake_unexported_func.go
- fake_unexported_interface.go