fakes

package
v6.12.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2015 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeAppFiles

type FakeAppFiles struct {
	AppFilesInDirStub func(dir string) (appFiles []models.AppFileFields, err error)

	CopyFilesStub func(appFiles []models.AppFileFields, fromDir, toDir string) (err error)

	CountFilesStub func(directory string) int64

	WalkAppFilesStub func(dir string, onEachFile func(string, string) error) (err error)
	// contains filtered or unexported fields
}

func (*FakeAppFiles) AppFilesInDir

func (fake *FakeAppFiles) AppFilesInDir(dir string) (appFiles []models.AppFileFields, err error)

func (*FakeAppFiles) AppFilesInDirArgsForCall

func (fake *FakeAppFiles) AppFilesInDirArgsForCall(i int) string

func (*FakeAppFiles) AppFilesInDirCallCount

func (fake *FakeAppFiles) AppFilesInDirCallCount() int

func (*FakeAppFiles) AppFilesInDirReturns

func (fake *FakeAppFiles) AppFilesInDirReturns(result1 []models.AppFileFields, result2 error)

func (*FakeAppFiles) CopyFiles

func (fake *FakeAppFiles) CopyFiles(appFiles []models.AppFileFields, fromDir string, toDir string) (err error)

func (*FakeAppFiles) CopyFilesArgsForCall

func (fake *FakeAppFiles) CopyFilesArgsForCall(i int) ([]models.AppFileFields, string, string)

func (*FakeAppFiles) CopyFilesCallCount

func (fake *FakeAppFiles) CopyFilesCallCount() int

func (*FakeAppFiles) CopyFilesReturns

func (fake *FakeAppFiles) CopyFilesReturns(result1 error)

func (*FakeAppFiles) CountFiles

func (fake *FakeAppFiles) CountFiles(directory string) int64

func (*FakeAppFiles) CountFilesArgsForCall

func (fake *FakeAppFiles) CountFilesArgsForCall(i int) string

func (*FakeAppFiles) CountFilesCallCount

func (fake *FakeAppFiles) CountFilesCallCount() int

func (*FakeAppFiles) CountFilesReturns

func (fake *FakeAppFiles) CountFilesReturns(result1 int64)

func (*FakeAppFiles) WalkAppFiles

func (fake *FakeAppFiles) WalkAppFiles(dir string, onEachFile func(string, string) error) (err error)

func (*FakeAppFiles) WalkAppFilesArgsForCall

func (fake *FakeAppFiles) WalkAppFilesArgsForCall(i int) (string, func(string, string) error)

func (*FakeAppFiles) WalkAppFilesCallCount

func (fake *FakeAppFiles) WalkAppFilesCallCount() int

func (*FakeAppFiles) WalkAppFilesReturns

func (fake *FakeAppFiles) WalkAppFilesReturns(result1 error)

type FakeZipper

type FakeZipper struct {
	ZipStub func(dirToZip string, targetFile *os.File) (err error)

	IsZipFileStub func(path string) bool

	UnzipStub func(appDir string, destDir string) (err error)

	GetZipSizeStub func(zipFile *os.File) (int64, error)
	// contains filtered or unexported fields
}

func (*FakeZipper) GetZipSize

func (fake *FakeZipper) GetZipSize(zipFile *os.File) (int64, error)

func (*FakeZipper) GetZipSizeArgsForCall

func (fake *FakeZipper) GetZipSizeArgsForCall(i int) *os.File

func (*FakeZipper) GetZipSizeCallCount

func (fake *FakeZipper) GetZipSizeCallCount() int

func (*FakeZipper) GetZipSizeReturns

func (fake *FakeZipper) GetZipSizeReturns(result1 int64, result2 error)

func (*FakeZipper) IsZipFile

func (fake *FakeZipper) IsZipFile(path string) bool

func (*FakeZipper) IsZipFileArgsForCall

func (fake *FakeZipper) IsZipFileArgsForCall(i int) string

func (*FakeZipper) IsZipFileCallCount

func (fake *FakeZipper) IsZipFileCallCount() int

func (*FakeZipper) IsZipFileReturns

func (fake *FakeZipper) IsZipFileReturns(result1 bool)

func (*FakeZipper) Unzip

func (fake *FakeZipper) Unzip(appDir string, destDir string) (err error)

func (*FakeZipper) UnzipArgsForCall

func (fake *FakeZipper) UnzipArgsForCall(i int) (string, string)

func (*FakeZipper) UnzipCallCount

func (fake *FakeZipper) UnzipCallCount() int

func (*FakeZipper) UnzipReturns

func (fake *FakeZipper) UnzipReturns(result1 error)

func (*FakeZipper) Zip

func (fake *FakeZipper) Zip(dirToZip string, targetFile *os.File) (err error)

func (*FakeZipper) ZipArgsForCall

func (fake *FakeZipper) ZipArgsForCall(i int) (string, *os.File)

func (*FakeZipper) ZipCallCount

func (fake *FakeZipper) ZipCallCount() int

func (*FakeZipper) ZipReturns

func (fake *FakeZipper) ZipReturns(result1 error)

Jump to

Keyboard shortcuts

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