mocks

package
v0.1.1-0...-fb6f0c3 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	mock.Mock
}

File is an autogenerated mock type for the File type

func (*File) Close

func (_m *File) Close() error

Close provides a mock function with given fields:

func (*File) Name

func (_m *File) Name() string

Name provides a mock function with given fields:

func (*File) Read

func (_m *File) Read(p []byte) (int, error)

Read provides a mock function with given fields: p

func (*File) ReadAt

func (_m *File) ReadAt(p []byte, off int64) (int, error)

ReadAt provides a mock function with given fields: p, off

func (*File) Readdir

func (_m *File) Readdir(count int) ([]os.FileInfo, error)

Readdir provides a mock function with given fields: count

func (*File) Readdirnames

func (_m *File) Readdirnames(n int) ([]string, error)

Readdirnames provides a mock function with given fields: n

func (*File) Seek

func (_m *File) Seek(offset int64, whence int) (int64, error)

Seek provides a mock function with given fields: offset, whence

func (*File) Stat

func (_m *File) Stat() (os.FileInfo, error)

Stat provides a mock function with given fields:

func (*File) Sync

func (_m *File) Sync() error

Sync provides a mock function with given fields:

func (*File) Truncate

func (_m *File) Truncate(size int64) error

Truncate provides a mock function with given fields: size

func (*File) Write

func (_m *File) Write(p []byte) (int, error)

Write provides a mock function with given fields: p

func (*File) WriteAt

func (_m *File) WriteAt(p []byte, off int64) (int, error)

WriteAt provides a mock function with given fields: p, off

func (*File) WriteString

func (_m *File) WriteString(s string) (int, error)

WriteString provides a mock function with given fields: s

type Transpiler

type Transpiler struct {
	mock.Mock
}

Transpiler is an autogenerated mock type for the Transpiler type

func (*Transpiler) FileSystem

func (_m *Transpiler) FileSystem() afero.Fs

FileSystem provides a mock function with given fields:

func (*Transpiler) GetFiles

func (_m *Transpiler) GetFiles(dir string) []afero.File

GetFiles provides a mock function with given fields: dir

func (*Transpiler) Run

func (_m *Transpiler) Run(source string, dest string, files []afero.File, imports []string) error

Run provides a mock function with given fields: source, dest, files, imports

func (*Transpiler) SetFileSystem

func (_m *Transpiler) SetFileSystem(_a0 afero.Fs)

SetFileSystem provides a mock function with given fields: _a0

func (*Transpiler) SetVerbose

func (_m *Transpiler) SetVerbose(_a0 bool)

SetVerbose provides a mock function with given fields: _a0

func (*Transpiler) Verbose

func (_m *Transpiler) Verbose() bool

Verbose provides a mock function with given fields:

Jump to

Keyboard shortcuts

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