fixturesfakes

package
v6.0.0-...-ef08a44 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2023 License: MIT Imports: 9 Imported by: 0

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

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) AnotherMethodCallCount

func (fake *FakeAliasedInterface) AnotherMethodCallCount() int

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) DoThings

func (fake *FakeDotImports) DoThings(arg1 io.Writer, arg2 *os.File) *http.Client

func (*FakeDotImports) DoThingsArgsForCall

func (fake *FakeDotImports) DoThingsArgsForCall(i int) (io.Writer, *os.File)

func (*FakeDotImports) DoThingsCallCount

func (fake *FakeDotImports) DoThingsCallCount() int

func (*FakeDotImports) DoThingsCalls

func (fake *FakeDotImports) DoThingsCalls(stub func(io.Writer, *os.File) *http.Client)

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) AnotherMethodCallCount

func (fake *FakeEmbedsInterfaces) AnotherMethodCallCount() int

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) DoThings

func (fake *FakeHasImports) DoThings(arg1 io.Writer, arg2 *os.File) *http.Client

func (*FakeHasImports) DoThingsArgsForCall

func (fake *FakeHasImports) DoThingsArgsForCall(i int) (io.Writer, *os.File)

func (*FakeHasImports) DoThingsCallCount

func (fake *FakeHasImports) DoThingsCallCount() int

func (*FakeHasImports) DoThingsCalls

func (fake *FakeHasImports) DoThingsCalls(stub func(io.Writer, *os.File) *http.Client)

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 (fake *FakeInlineStructParams) DoSomething(arg1 context.Context, arg2 struct {
	SomeString        string
	SomeStringPointer *string
	SomeTime          time.Time
	SomeTimePointer   *time.Time
	HTTPRequest       http.Request
}) error

func (*FakeInlineStructParams) DoSomethingArgsForCall

func (fake *FakeInlineStructParams) DoSomethingArgsForCall(i int) (context.Context, struct {
	SomeString        string
	SomeStringPointer *string
	SomeTime          time.Time
	SomeTimePointer   *time.Time
	HTTPRequest       http.Request
})

func (*FakeInlineStructParams) DoSomethingCallCount

func (fake *FakeInlineStructParams) DoSomethingCallCount() int

func (*FakeInlineStructParams) DoSomethingCalls

func (fake *FakeInlineStructParams) DoSomethingCalls(stub func(context.Context, struct {
	SomeString        string
	SomeStringPointer *string
	SomeTime          time.Time
	SomeTimePointer   *time.Time
	HTTPRequest       http.Request
}) error)

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)

func (*FakeSomethingFactory) Spy

func (fake *FakeSomethingFactory) Spy(arg1 string, arg2 map[string]interface{}) 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)

func (*FakeUnexportedFunc) Spy

func (fake *FakeUnexportedFunc) Spy(arg1 string, arg2 map[string]interface{}) 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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL