internalfakes

package
v0.4.14 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: MIT Imports: 7 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.

Index

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

func (fake *FakeBackgroundMaker) Calls(stub func(int, int, string) image.Image)

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)

func (*FakeBackgroundMaker) Spy

func (fake *FakeBackgroundMaker) Spy(arg1 int, arg2 int, arg3 string) 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 (fake *FakeContext) DrawStringAnchored(arg1 string, arg2 float64, arg3 float64, arg4 float64, arg5 float64)

func (*FakeContext) DrawStringAnchoredArgsForCall added in v0.4.1

func (fake *FakeContext) DrawStringAnchoredArgsForCall(i int) (string, float64, float64, float64, float64)

func (*FakeContext) DrawStringAnchoredCallCount added in v0.4.1

func (fake *FakeContext) DrawStringAnchoredCallCount() int

func (*FakeContext) DrawStringAnchoredCalls added in v0.4.1

func (fake *FakeContext) DrawStringAnchoredCalls(stub func(string, float64, float64, float64, float64))

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 (fake *FakeContext) DrawStringWrapped(arg1 string, arg2 float64, arg3 float64, arg4 float64, arg5 float64, arg6 float64, arg7 float64, arg8 gg.Align)

func (*FakeContext) DrawStringWrappedArgsForCall

func (fake *FakeContext) DrawStringWrappedArgsForCall(i int) (string, float64, float64, float64, float64, float64, float64, gg.Align)

func (*FakeContext) DrawStringWrappedCallCount

func (fake *FakeContext) DrawStringWrappedCallCount() int

func (*FakeContext) DrawStringWrappedCalls

func (fake *FakeContext) DrawStringWrappedCalls(stub func(string, float64, float64, float64, float64, float64, float64, gg.Align))

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)

func (*FakeContextMaker) Spy

func (fake *FakeContextMaker) Spy(arg1 image.Image) 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)

func (*FakeFontFinder) Spy added in v0.3.1

func (fake *FakeFontFinder) Spy(arg1 string) (string, 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)

func (*FakeHttpGetter) Spy

func (fake *FakeHttpGetter) Spy(arg1 string) (*http.Response, error)

type FakeImageEncoder

type FakeImageEncoder struct {
	Stub func(io.Writer, image.Image) error
	// contains filtered or unexported fields
}

func (*FakeImageEncoder) ArgsForCall

func (fake *FakeImageEncoder) ArgsForCall(i int) (io.Writer, image.Image)

func (*FakeImageEncoder) CallCount

func (fake *FakeImageEncoder) CallCount() int

func (*FakeImageEncoder) Calls

func (fake *FakeImageEncoder) Calls(stub func(io.Writer, image.Image) error)

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)

func (*FakeImageEncoder) Spy

func (fake *FakeImageEncoder) Spy(arg1 io.Writer, arg2 image.Image) 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)

func (*FakeImageWriter) Spy

func (fake *FakeImageWriter) Spy(arg1 string, arg2 image.Image) error

Jump to

Keyboard shortcuts

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