mocks

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	mock.Mock
}

Handler is an autogenerated mock type for the Handler type

func NewHandler

func NewHandler(t mockConstructorTestingTNewHandler) *Handler

NewHandler creates a new instance of Handler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Handler) AppendFileToArchive

func (_m *Handler) AppendFileToArchive(fileToZipPath string, filepathInZip string) error

AppendFileToArchive provides a mock function with given fields: fileToZipPath, filepathInZip

func (*Handler) Close

func (_m *Handler) Close() error

Close provides a mock function with given fields:

func (*Handler) CreateZipArchiveFile

func (_m *Handler) CreateZipArchiveFile(zipFilePath string) (io.Writer, error)

CreateZipArchiveFile provides a mock function with given fields: zipFilePath

func (*Handler) InitializeZipWriter

func (_m *Handler) InitializeZipWriter(zipFile io.Writer)

InitialiseZipWriter provides a mock function with given fields: zipFile

func (*Handler) WriteFilesIntoArchive

func (_m *Handler) WriteFilesIntoArchive(filePaths []string, closeAfterFinish bool) error

WriteFilesIntoArchive provides a mock function with given fields: filePaths, closeAfterFinish

Jump to

Keyboard shortcuts

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