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.
Index ¶
- type FakeBackgroundMaker
- func (fake *FakeBackgroundMaker) ArgsForCall(i int) (int, int, string)
- func (fake *FakeBackgroundMaker) CallCount() int
- func (fake *FakeBackgroundMaker) Calls(stub func(int, int, string) image.Image)
- func (fake *FakeBackgroundMaker) Invocations() map[string][][]interface{}
- func (fake *FakeBackgroundMaker) Returns(result1 image.Image)
- func (fake *FakeBackgroundMaker) ReturnsOnCall(i int, result1 image.Image)
- func (fake *FakeBackgroundMaker) Spy(arg1 int, arg2 int, arg3 string) image.Image
- type FakeContext
- func (fake *FakeContext) DrawString(arg1 string, arg2 float64, arg3 float64)
- func (fake *FakeContext) DrawStringAnchored(arg1 string, arg2 float64, arg3 float64, arg4 float64, arg5 float64)
- func (fake *FakeContext) DrawStringAnchoredArgsForCall(i int) (string, float64, float64, float64, float64)
- func (fake *FakeContext) DrawStringAnchoredCallCount() int
- func (fake *FakeContext) DrawStringAnchoredCalls(stub func(string, float64, float64, float64, float64))
- func (fake *FakeContext) DrawStringArgsForCall(i int) (string, float64, float64)
- func (fake *FakeContext) DrawStringCallCount() int
- func (fake *FakeContext) DrawStringCalls(stub func(string, float64, float64))
- func (fake *FakeContext) DrawStringWrapped(arg1 string, arg2 float64, arg3 float64, arg4 float64, arg5 float64, ...)
- func (fake *FakeContext) DrawStringWrappedArgsForCall(i int) (string, float64, float64, float64, float64, float64, float64, gg.Align)
- func (fake *FakeContext) DrawStringWrappedCallCount() int
- func (fake *FakeContext) DrawStringWrappedCalls(...)
- func (fake *FakeContext) Image() image.Image
- func (fake *FakeContext) ImageCallCount() int
- func (fake *FakeContext) ImageCalls(stub func() image.Image)
- func (fake *FakeContext) ImageReturns(result1 image.Image)
- func (fake *FakeContext) ImageReturnsOnCall(i int, result1 image.Image)
- func (fake *FakeContext) Invocations() map[string][][]interface{}
- func (fake *FakeContext) LoadFontFace(arg1 string, arg2 float64) error
- func (fake *FakeContext) LoadFontFaceArgsForCall(i int) (string, float64)
- func (fake *FakeContext) LoadFontFaceCallCount() int
- func (fake *FakeContext) LoadFontFaceCalls(stub func(string, float64) error)
- func (fake *FakeContext) LoadFontFaceReturns(result1 error)
- func (fake *FakeContext) LoadFontFaceReturnsOnCall(i int, result1 error)
- func (fake *FakeContext) MeasureMultilineString(arg1 string, arg2 float64) (float64, float64)
- func (fake *FakeContext) MeasureMultilineStringArgsForCall(i int) (string, float64)
- func (fake *FakeContext) MeasureMultilineStringCallCount() int
- func (fake *FakeContext) MeasureMultilineStringCalls(stub func(string, float64) (float64, float64))
- func (fake *FakeContext) MeasureMultilineStringReturns(result1 float64, result2 float64)
- func (fake *FakeContext) MeasureMultilineStringReturnsOnCall(i int, result1 float64, result2 float64)
- func (fake *FakeContext) MeasureString(arg1 string) (float64, float64)
- func (fake *FakeContext) MeasureStringArgsForCall(i int) string
- func (fake *FakeContext) MeasureStringCallCount() int
- func (fake *FakeContext) MeasureStringCalls(stub func(string) (float64, float64))
- func (fake *FakeContext) MeasureStringReturns(result1 float64, result2 float64)
- func (fake *FakeContext) MeasureStringReturnsOnCall(i int, result1 float64, result2 float64)
- func (fake *FakeContext) SetColor(arg1 color.Color)
- func (fake *FakeContext) SetColorArgsForCall(i int) color.Color
- func (fake *FakeContext) SetColorCallCount() int
- func (fake *FakeContext) SetColorCalls(stub func(color.Color))
- func (fake *FakeContext) WordWrap(arg1 string, arg2 float64) []string
- func (fake *FakeContext) WordWrapArgsForCall(i int) (string, float64)
- func (fake *FakeContext) WordWrapCallCount() int
- func (fake *FakeContext) WordWrapCalls(stub func(string, float64) []string)
- func (fake *FakeContext) WordWrapReturns(result1 []string)
- func (fake *FakeContext) WordWrapReturnsOnCall(i int, result1 []string)
- type FakeContextMaker
- func (fake *FakeContextMaker) ArgsForCall(i int) image.Image
- func (fake *FakeContextMaker) CallCount() int
- func (fake *FakeContextMaker) Calls(stub func(image.Image) internal.Context)
- func (fake *FakeContextMaker) Invocations() map[string][][]interface{}
- func (fake *FakeContextMaker) Returns(result1 internal.Context)
- func (fake *FakeContextMaker) ReturnsOnCall(i int, result1 internal.Context)
- func (fake *FakeContextMaker) Spy(arg1 image.Image) internal.Context
- type FakeFontFinder
- func (fake *FakeFontFinder) ArgsForCall(i int) string
- func (fake *FakeFontFinder) CallCount() int
- func (fake *FakeFontFinder) Calls(stub func(string) (string, error))
- func (fake *FakeFontFinder) Invocations() map[string][][]interface{}
- func (fake *FakeFontFinder) Returns(result1 string, result2 error)
- func (fake *FakeFontFinder) ReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeFontFinder) Spy(arg1 string) (string, error)
- type FakeHttpGetter
- func (fake *FakeHttpGetter) ArgsForCall(i int) string
- func (fake *FakeHttpGetter) CallCount() int
- func (fake *FakeHttpGetter) Calls(stub func(string) (*http.Response, error))
- func (fake *FakeHttpGetter) Invocations() map[string][][]interface{}
- func (fake *FakeHttpGetter) Returns(result1 *http.Response, result2 error)
- func (fake *FakeHttpGetter) ReturnsOnCall(i int, result1 *http.Response, result2 error)
- func (fake *FakeHttpGetter) Spy(arg1 string) (*http.Response, error)
- type FakeImageEncoder
- func (fake *FakeImageEncoder) ArgsForCall(i int) (io.Writer, image.Image)
- func (fake *FakeImageEncoder) CallCount() int
- func (fake *FakeImageEncoder) Calls(stub func(io.Writer, image.Image) error)
- func (fake *FakeImageEncoder) Invocations() map[string][][]interface{}
- func (fake *FakeImageEncoder) Returns(result1 error)
- func (fake *FakeImageEncoder) ReturnsOnCall(i int, result1 error)
- func (fake *FakeImageEncoder) Spy(arg1 io.Writer, arg2 image.Image) error
- type FakeImageWriter
- func (fake *FakeImageWriter) ArgsForCall(i int) (string, image.Image)
- func (fake *FakeImageWriter) CallCount() int
- func (fake *FakeImageWriter) Calls(stub func(string, image.Image) error)
- func (fake *FakeImageWriter) Invocations() map[string][][]interface{}
- func (fake *FakeImageWriter) Returns(result1 error)
- func (fake *FakeImageWriter) ReturnsOnCall(i int, result1 error)
- func (fake *FakeImageWriter) Spy(arg1 string, arg2 image.Image) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBackgroundMaker ¶
type FakeBackgroundMaker struct { Stub func(int, int, string) image.Image // contains filtered or unexported fields }
func (*FakeBackgroundMaker) ArgsForCall ¶
func (fake *FakeBackgroundMaker) ArgsForCall(i int) (int, int, string)
func (*FakeBackgroundMaker) CallCount ¶
func (fake *FakeBackgroundMaker) CallCount() int
func (*FakeBackgroundMaker) Invocations ¶
func (fake *FakeBackgroundMaker) Invocations() map[string][][]interface{}
func (*FakeBackgroundMaker) Returns ¶
func (fake *FakeBackgroundMaker) Returns(result1 image.Image)
func (*FakeBackgroundMaker) ReturnsOnCall ¶
func (fake *FakeBackgroundMaker) ReturnsOnCall(i int, result1 image.Image)
type FakeContext ¶
type FakeContext struct { DrawStringStub func(string, float64, float64) DrawStringAnchoredStub func(string, float64, float64, float64, float64) DrawStringWrappedStub func(string, float64, float64, float64, float64, float64, float64, gg.Align) ImageStub func() image.Image LoadFontFaceStub func(string, float64) error MeasureMultilineStringStub func(string, float64) (float64, float64) MeasureStringStub func(string) (float64, float64) SetColorStub func(color.Color) WordWrapStub func(string, float64) []string // contains filtered or unexported fields }
func (*FakeContext) DrawString ¶ added in v0.4.1
func (fake *FakeContext) DrawString(arg1 string, arg2 float64, arg3 float64)
func (*FakeContext) DrawStringAnchored ¶ added in v0.4.1
func (*FakeContext) DrawStringAnchoredArgsForCall ¶ added in v0.4.1
func (*FakeContext) DrawStringAnchoredCallCount ¶ added in v0.4.1
func (fake *FakeContext) DrawStringAnchoredCallCount() int
func (*FakeContext) DrawStringAnchoredCalls ¶ added in v0.4.1
func (*FakeContext) DrawStringArgsForCall ¶ added in v0.4.1
func (fake *FakeContext) DrawStringArgsForCall(i int) (string, float64, float64)
func (*FakeContext) DrawStringCallCount ¶ added in v0.4.1
func (fake *FakeContext) DrawStringCallCount() int
func (*FakeContext) DrawStringCalls ¶ added in v0.4.1
func (fake *FakeContext) DrawStringCalls(stub func(string, float64, float64))
func (*FakeContext) DrawStringWrapped ¶
func (*FakeContext) DrawStringWrappedArgsForCall ¶
func (*FakeContext) DrawStringWrappedCallCount ¶
func (fake *FakeContext) DrawStringWrappedCallCount() int
func (*FakeContext) DrawStringWrappedCalls ¶
func (*FakeContext) Image ¶
func (fake *FakeContext) Image() image.Image
func (*FakeContext) ImageCallCount ¶
func (fake *FakeContext) ImageCallCount() int
func (*FakeContext) ImageCalls ¶
func (fake *FakeContext) ImageCalls(stub func() image.Image)
func (*FakeContext) ImageReturns ¶
func (fake *FakeContext) ImageReturns(result1 image.Image)
func (*FakeContext) ImageReturnsOnCall ¶
func (fake *FakeContext) ImageReturnsOnCall(i int, result1 image.Image)
func (*FakeContext) Invocations ¶
func (fake *FakeContext) Invocations() map[string][][]interface{}
func (*FakeContext) LoadFontFace ¶ added in v0.3.1
func (fake *FakeContext) LoadFontFace(arg1 string, arg2 float64) error
func (*FakeContext) LoadFontFaceArgsForCall ¶ added in v0.3.1
func (fake *FakeContext) LoadFontFaceArgsForCall(i int) (string, float64)
func (*FakeContext) LoadFontFaceCallCount ¶ added in v0.3.1
func (fake *FakeContext) LoadFontFaceCallCount() int
func (*FakeContext) LoadFontFaceCalls ¶ added in v0.3.1
func (fake *FakeContext) LoadFontFaceCalls(stub func(string, float64) error)
func (*FakeContext) LoadFontFaceReturns ¶ added in v0.3.1
func (fake *FakeContext) LoadFontFaceReturns(result1 error)
func (*FakeContext) LoadFontFaceReturnsOnCall ¶ added in v0.3.1
func (fake *FakeContext) LoadFontFaceReturnsOnCall(i int, result1 error)
func (*FakeContext) MeasureMultilineString ¶ added in v0.3.1
func (fake *FakeContext) MeasureMultilineString(arg1 string, arg2 float64) (float64, float64)
func (*FakeContext) MeasureMultilineStringArgsForCall ¶ added in v0.3.1
func (fake *FakeContext) MeasureMultilineStringArgsForCall(i int) (string, float64)
func (*FakeContext) MeasureMultilineStringCallCount ¶ added in v0.3.1
func (fake *FakeContext) MeasureMultilineStringCallCount() int
func (*FakeContext) MeasureMultilineStringCalls ¶ added in v0.3.1
func (fake *FakeContext) MeasureMultilineStringCalls(stub func(string, float64) (float64, float64))
func (*FakeContext) MeasureMultilineStringReturns ¶ added in v0.3.1
func (fake *FakeContext) MeasureMultilineStringReturns(result1 float64, result2 float64)
func (*FakeContext) MeasureMultilineStringReturnsOnCall ¶ added in v0.3.1
func (fake *FakeContext) MeasureMultilineStringReturnsOnCall(i int, result1 float64, result2 float64)
func (*FakeContext) MeasureString ¶ added in v0.3.1
func (fake *FakeContext) MeasureString(arg1 string) (float64, float64)
func (*FakeContext) MeasureStringArgsForCall ¶ added in v0.3.1
func (fake *FakeContext) MeasureStringArgsForCall(i int) string
func (*FakeContext) MeasureStringCallCount ¶ added in v0.3.1
func (fake *FakeContext) MeasureStringCallCount() int
func (*FakeContext) MeasureStringCalls ¶ added in v0.3.1
func (fake *FakeContext) MeasureStringCalls(stub func(string) (float64, float64))
func (*FakeContext) MeasureStringReturns ¶ added in v0.3.1
func (fake *FakeContext) MeasureStringReturns(result1 float64, result2 float64)
func (*FakeContext) MeasureStringReturnsOnCall ¶ added in v0.3.1
func (fake *FakeContext) MeasureStringReturnsOnCall(i int, result1 float64, result2 float64)
func (*FakeContext) SetColor ¶
func (fake *FakeContext) SetColor(arg1 color.Color)
func (*FakeContext) SetColorArgsForCall ¶
func (fake *FakeContext) SetColorArgsForCall(i int) color.Color
func (*FakeContext) SetColorCallCount ¶
func (fake *FakeContext) SetColorCallCount() int
func (*FakeContext) SetColorCalls ¶
func (fake *FakeContext) SetColorCalls(stub func(color.Color))
func (*FakeContext) WordWrap ¶ added in v0.4.1
func (fake *FakeContext) WordWrap(arg1 string, arg2 float64) []string
func (*FakeContext) WordWrapArgsForCall ¶ added in v0.4.1
func (fake *FakeContext) WordWrapArgsForCall(i int) (string, float64)
func (*FakeContext) WordWrapCallCount ¶ added in v0.4.1
func (fake *FakeContext) WordWrapCallCount() int
func (*FakeContext) WordWrapCalls ¶ added in v0.4.1
func (fake *FakeContext) WordWrapCalls(stub func(string, float64) []string)
func (*FakeContext) WordWrapReturns ¶ added in v0.4.1
func (fake *FakeContext) WordWrapReturns(result1 []string)
func (*FakeContext) WordWrapReturnsOnCall ¶ added in v0.4.1
func (fake *FakeContext) WordWrapReturnsOnCall(i int, result1 []string)
type FakeContextMaker ¶
type FakeContextMaker struct { Stub func(image.Image) internal.Context // contains filtered or unexported fields }
func (*FakeContextMaker) ArgsForCall ¶
func (fake *FakeContextMaker) ArgsForCall(i int) image.Image
func (*FakeContextMaker) CallCount ¶
func (fake *FakeContextMaker) CallCount() int
func (*FakeContextMaker) Calls ¶
func (fake *FakeContextMaker) Calls(stub func(image.Image) internal.Context)
func (*FakeContextMaker) Invocations ¶
func (fake *FakeContextMaker) Invocations() map[string][][]interface{}
func (*FakeContextMaker) Returns ¶
func (fake *FakeContextMaker) Returns(result1 internal.Context)
func (*FakeContextMaker) ReturnsOnCall ¶
func (fake *FakeContextMaker) ReturnsOnCall(i int, result1 internal.Context)
type FakeFontFinder ¶ added in v0.3.1
type FakeFontFinder struct { Stub func(string) (string, error) // contains filtered or unexported fields }
func (*FakeFontFinder) ArgsForCall ¶ added in v0.3.1
func (fake *FakeFontFinder) ArgsForCall(i int) string
func (*FakeFontFinder) CallCount ¶ added in v0.3.1
func (fake *FakeFontFinder) CallCount() int
func (*FakeFontFinder) Calls ¶ added in v0.3.1
func (fake *FakeFontFinder) Calls(stub func(string) (string, error))
func (*FakeFontFinder) Invocations ¶ added in v0.3.1
func (fake *FakeFontFinder) Invocations() map[string][][]interface{}
func (*FakeFontFinder) Returns ¶ added in v0.3.1
func (fake *FakeFontFinder) Returns(result1 string, result2 error)
func (*FakeFontFinder) ReturnsOnCall ¶ added in v0.3.1
func (fake *FakeFontFinder) ReturnsOnCall(i int, result1 string, result2 error)
type FakeHttpGetter ¶
type FakeHttpGetter struct { Stub func(string) (*http.Response, error) // contains filtered or unexported fields }
func (*FakeHttpGetter) ArgsForCall ¶
func (fake *FakeHttpGetter) ArgsForCall(i int) string
func (*FakeHttpGetter) CallCount ¶
func (fake *FakeHttpGetter) CallCount() int
func (*FakeHttpGetter) Calls ¶
func (fake *FakeHttpGetter) Calls(stub func(string) (*http.Response, error))
func (*FakeHttpGetter) Invocations ¶
func (fake *FakeHttpGetter) Invocations() map[string][][]interface{}
func (*FakeHttpGetter) Returns ¶
func (fake *FakeHttpGetter) Returns(result1 *http.Response, result2 error)
func (*FakeHttpGetter) ReturnsOnCall ¶
func (fake *FakeHttpGetter) ReturnsOnCall(i int, result1 *http.Response, result2 error)
type FakeImageEncoder ¶
type FakeImageEncoder struct { Stub func(io.Writer, image.Image) error // contains filtered or unexported fields }
func (*FakeImageEncoder) ArgsForCall ¶
func (*FakeImageEncoder) CallCount ¶
func (fake *FakeImageEncoder) CallCount() int
func (*FakeImageEncoder) Invocations ¶
func (fake *FakeImageEncoder) Invocations() map[string][][]interface{}
func (*FakeImageEncoder) Returns ¶
func (fake *FakeImageEncoder) Returns(result1 error)
func (*FakeImageEncoder) ReturnsOnCall ¶
func (fake *FakeImageEncoder) ReturnsOnCall(i int, result1 error)
type FakeImageWriter ¶
type FakeImageWriter struct { Stub func(string, image.Image) error // contains filtered or unexported fields }
func (*FakeImageWriter) ArgsForCall ¶
func (fake *FakeImageWriter) ArgsForCall(i int) (string, image.Image)
func (*FakeImageWriter) CallCount ¶
func (fake *FakeImageWriter) CallCount() int
func (*FakeImageWriter) Calls ¶
func (fake *FakeImageWriter) Calls(stub func(string, image.Image) error)
func (*FakeImageWriter) Invocations ¶
func (fake *FakeImageWriter) Invocations() map[string][][]interface{}
func (*FakeImageWriter) Returns ¶
func (fake *FakeImageWriter) Returns(result1 error)
func (*FakeImageWriter) ReturnsOnCall ¶
func (fake *FakeImageWriter) ReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.