mock

package
v0.0.0-...-2ba808a Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPDFFactory

type MockPDFFactory struct {
	// contains filtered or unexported fields
}

MockPDFFactory is a mock of PDFFactory interface.

func NewMockPDFFactory

func NewMockPDFFactory(ctrl *gomock.Controller) *MockPDFFactory

NewMockPDFFactory creates a new mock instance.

func (*MockPDFFactory) AddCheckIcon

func (m *MockPDFFactory) AddCheckIcon(inFile string, page, posX, posY int) error

AddCheckIcon mocks base method.

func (*MockPDFFactory) AddCustomField

func (m *MockPDFFactory) AddCustomField(inFile, text string, page, posX, posY int, scale float32) error

AddCustomField mocks base method.

func (*MockPDFFactory) AddFooter

func (m *MockPDFFactory) AddFooter(inFile, text string, page int, scale float32) error

AddFooter mocks base method.

func (*MockPDFFactory) AddImage

func (m *MockPDFFactory) AddImage(inFile, image string, page, posX, posY int, scale float32) error

AddImage mocks base method.

func (*MockPDFFactory) AddImageFromReader

func (m *MockPDFFactory) AddImageFromReader(inFile string, image io.Reader, page, posX, posY int, relativeScale float32) error

AddImageFromReader mocks base method.

func (*MockPDFFactory) Dimensions

func (m *MockPDFFactory) Dimensions(inFile string) (float64, float64, error)

Dimensions mocks base method.

func (*MockPDFFactory) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPDFFactory) ExtractPageNumber

func (m *MockPDFFactory) ExtractPageNumber(r io.Reader) (int, error)

ExtractPageNumber mocks base method.

func (*MockPDFFactory) Validate

func (m *MockPDFFactory) Validate(r io.ReadSeeker) error

Validate mocks base method.

type MockPDFFactoryMockRecorder

type MockPDFFactoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockPDFFactoryMockRecorder is the mock recorder for MockPDFFactory.

func (*MockPDFFactoryMockRecorder) AddCheckIcon

func (mr *MockPDFFactoryMockRecorder) AddCheckIcon(inFile, page, posX, posY interface{}) *gomock.Call

AddCheckIcon indicates an expected call of AddCheckIcon.

func (*MockPDFFactoryMockRecorder) AddCustomField

func (mr *MockPDFFactoryMockRecorder) AddCustomField(inFile, text, page, posX, posY, scale interface{}) *gomock.Call

AddCustomField indicates an expected call of AddCustomField.

func (*MockPDFFactoryMockRecorder) AddFooter

func (mr *MockPDFFactoryMockRecorder) AddFooter(inFile, text, page, scale interface{}) *gomock.Call

AddFooter indicates an expected call of AddFooter.

func (*MockPDFFactoryMockRecorder) AddImage

func (mr *MockPDFFactoryMockRecorder) AddImage(inFile, image, page, posX, posY, scale interface{}) *gomock.Call

AddImage indicates an expected call of AddImage.

func (*MockPDFFactoryMockRecorder) AddImageFromReader

func (mr *MockPDFFactoryMockRecorder) AddImageFromReader(inFile, image, page, posX, posY, relativeScale interface{}) *gomock.Call

AddImageFromReader indicates an expected call of AddImageFromReader.

func (*MockPDFFactoryMockRecorder) Dimensions

func (mr *MockPDFFactoryMockRecorder) Dimensions(inFile interface{}) *gomock.Call

Dimensions indicates an expected call of Dimensions.

func (*MockPDFFactoryMockRecorder) ExtractPageNumber

func (mr *MockPDFFactoryMockRecorder) ExtractPageNumber(r interface{}) *gomock.Call

ExtractPageNumber indicates an expected call of ExtractPageNumber.

func (*MockPDFFactoryMockRecorder) Validate

func (mr *MockPDFFactoryMockRecorder) Validate(r interface{}) *gomock.Call

Validate indicates an expected call of Validate.

type MockPDFHelper

type MockPDFHelper struct {
	// contains filtered or unexported fields
}

MockPDFHelper is a mock of PDFHelper interface.

func NewMockPDFHelper

func NewMockPDFHelper(ctrl *gomock.Controller) *MockPDFHelper

NewMockPDFHelper creates a new mock instance.

func (*MockPDFHelper) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPDFHelper) FontScale

func (m *MockPDFHelper) FontScale(width float64) float32

FontScale mocks base method.

func (*MockPDFHelper) FontScaleByFontSize

func (m *MockPDFHelper) FontScaleByFontSize(width, fontSize float64) float32

FontScaleByFontSize mocks base method.

func (*MockPDFHelper) MarginScale

func (m *MockPDFHelper) MarginScale(width float64, posX, posY int, hasIconInFront bool) (int, int)

MarginScale mocks base method.

type MockPDFHelperMockRecorder

type MockPDFHelperMockRecorder struct {
	// contains filtered or unexported fields
}

MockPDFHelperMockRecorder is the mock recorder for MockPDFHelper.

func (*MockPDFHelperMockRecorder) FontScale

func (mr *MockPDFHelperMockRecorder) FontScale(width interface{}) *gomock.Call

FontScale indicates an expected call of FontScale.

func (*MockPDFHelperMockRecorder) FontScaleByFontSize

func (mr *MockPDFHelperMockRecorder) FontScaleByFontSize(width, fontSize interface{}) *gomock.Call

FontScaleByFontSize indicates an expected call of FontScaleByFontSize.

func (*MockPDFHelperMockRecorder) MarginScale

func (mr *MockPDFHelperMockRecorder) MarginScale(width, posX, posY, hasIconInFront interface{}) *gomock.Call

MarginScale indicates an expected call of MarginScale.

Jump to

Keyboard shortcuts

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