mocks

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileManager

type FileManager struct {
	mock.Mock
}

FileManager is an autogenerated mock type for the FileManager type

func NewFileManager

func NewFileManager(t mockConstructorTestingTNewFileManager) *FileManager

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

func (*FileManager) Open

func (_m *FileManager) Open(path string) (*os.File, error)

Open provides a mock function with given fields: path

func (*FileManager) OpenReaderIfExists

func (_m *FileManager) OpenReaderIfExists(path string) (io.Reader, error)

OpenReaderIfExists provides a mock function with given fields: path

func (*FileManager) ReadDirEntryNames

func (_m *FileManager) ReadDirEntryNames(path string) ([]string, error)

ReadDirEntryNames provides a mock function with given fields: path

func (*FileManager) Remove

func (_m *FileManager) Remove(path string) error

Remove provides a mock function with given fields: path

func (*FileManager) RemoveAll

func (_m *FileManager) RemoveAll(path string) error

RemoveAll provides a mock function with given fields: path

func (*FileManager) Write

func (_m *FileManager) Write(path string, value string, perm fs.FileMode) error

Write provides a mock function with given fields: path, value, perm

func (*FileManager) WriteBytes

func (_m *FileManager) WriteBytes(path string, value []byte) error

WriteBytes provides a mock function with given fields: path, value

type SDKVersionLister added in v0.1.1

type SDKVersionLister struct {
	mock.Mock
}

SDKVersionLister is an autogenerated mock type for the SDKVersionLister type

func NewSDKVersionLister added in v0.1.1

func NewSDKVersionLister(t mockConstructorTestingTNewSDKVersionLister) *SDKVersionLister

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

func (*SDKVersionLister) ListReleasesByChannel added in v0.1.1

func (_m *SDKVersionLister) ListReleasesByChannel(platform fluttersdk.Platform, architecture fluttersdk.Architecture) (map[string][]fluttersdk.Release, error)

ListReleasesByChannel provides a mock function with given fields: platform, architecture

Jump to

Keyboard shortcuts

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