testing

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package testing is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFileSystem

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

MockFileSystem is a mock of FileSystem interface.

func NewMockFileSystem

func NewMockFileSystem(ctrl *gomock.Controller) *MockFileSystem

NewMockFileSystem creates a new mock instance.

func (*MockFileSystem) EXPECT

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

func (*MockFileSystem) MD5Sum

func (m *MockFileSystem) MD5Sum(arg0 string) (string, error)

MD5Sum mocks base method.

func (*MockFileSystem) Open

func (m *MockFileSystem) Open(arg0 string) (*os.File, error)

Open mocks base method.

func (*MockFileSystem) ReadFile

func (m *MockFileSystem) ReadFile(arg0 string) ([]byte, error)

ReadFile mocks base method.

func (*MockFileSystem) Remove

func (m *MockFileSystem) Remove(arg0 string) error

Remove mocks base method.

func (*MockFileSystem) Rename

func (m *MockFileSystem) Rename(arg0, arg1 string) error

Rename mocks base method.

func (*MockFileSystem) Stat

func (m *MockFileSystem) Stat(arg0 string) (fs.FileInfo, error)

Stat mocks base method.

func (*MockFileSystem) WriteFile

func (m *MockFileSystem) WriteFile(arg0 string, arg1 []byte, arg2 fs.FileMode) error

WriteFile mocks base method.

type MockFileSystemMockRecorder

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

MockFileSystemMockRecorder is the mock recorder for MockFileSystem.

func (*MockFileSystemMockRecorder) MD5Sum

func (mr *MockFileSystemMockRecorder) MD5Sum(arg0 interface{}) *gomock.Call

MD5Sum indicates an expected call of MD5Sum.

func (*MockFileSystemMockRecorder) Open

func (mr *MockFileSystemMockRecorder) Open(arg0 interface{}) *gomock.Call

Open indicates an expected call of Open.

func (*MockFileSystemMockRecorder) ReadFile

func (mr *MockFileSystemMockRecorder) ReadFile(arg0 interface{}) *gomock.Call

ReadFile indicates an expected call of ReadFile.

func (*MockFileSystemMockRecorder) Remove

func (mr *MockFileSystemMockRecorder) Remove(arg0 interface{}) *gomock.Call

Remove indicates an expected call of Remove.

func (*MockFileSystemMockRecorder) Rename

func (mr *MockFileSystemMockRecorder) Rename(arg0, arg1 interface{}) *gomock.Call

Rename indicates an expected call of Rename.

func (*MockFileSystemMockRecorder) Stat

func (mr *MockFileSystemMockRecorder) Stat(arg0 interface{}) *gomock.Call

Stat indicates an expected call of Stat.

func (*MockFileSystemMockRecorder) WriteFile

func (mr *MockFileSystemMockRecorder) WriteFile(arg0, arg1, arg2 interface{}) *gomock.Call

WriteFile indicates an expected call of WriteFile.

Jump to

Keyboard shortcuts

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