Documentation ¶
Index ¶
- type FileSystemMock
- func (mock FileSystemMock) Exist(p0 string) bool
- func (mock FileSystemMock) FakeExist(p0 string) bool
- func (mock FileSystemMock) FakeGetWriteCloser(p0 string) (io.WriteCloser, error)
- func (mock FileSystemMock) FakeGetwd() (string, error)
- func (mock FileSystemMock) FakeMkdirAll(p0 string) error
- func (mock FileSystemMock) FakeWrite(p0 string, p1 []byte) error
- func (mock FileSystemMock) GetWriteCloser(p0 string) (io.WriteCloser, error)
- func (mock FileSystemMock) Getwd() (string, error)
- func (mock FileSystemMock) MkdirAll(p0 string) error
- func (mock FileSystemMock) Write(p0 string, p1 []byte) error
- type FileSystemMockImpl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSystemMock ¶
type FileSystemMock struct { CallbackNotImplemented func(t *testing.T, intfName, methodName string) Impl FileSystemMockImpl // contains filtered or unexported fields }
FileSystemMock is a mock.
func NewFileSystemMock ¶
func NewFileSystemMock(t *testing.T) *FileSystemMock
NewFileSystemMock returns FileSystemMock .
func (FileSystemMock) Exist ¶
func (mock FileSystemMock) Exist(p0 string) bool
Exist is a mock method.
func (FileSystemMock) FakeExist ¶
func (mock FileSystemMock) FakeExist(p0 string) bool
FakeExist is a fake method.
func (FileSystemMock) FakeGetWriteCloser ¶
func (mock FileSystemMock) FakeGetWriteCloser(p0 string) (io.WriteCloser, error)
FakeGetWriteCloser is a fake method.
func (FileSystemMock) FakeGetwd ¶
func (mock FileSystemMock) FakeGetwd() (string, error)
FakeGetwd is a fake method.
func (FileSystemMock) FakeMkdirAll ¶
func (mock FileSystemMock) FakeMkdirAll(p0 string) error
FakeMkdirAll is a fake method.
func (FileSystemMock) FakeWrite ¶
func (mock FileSystemMock) FakeWrite(p0 string, p1 []byte) error
FakeWrite is a fake method.
func (FileSystemMock) GetWriteCloser ¶
func (mock FileSystemMock) GetWriteCloser(p0 string) (io.WriteCloser, error)
GetWriteCloser is a mock method.
func (FileSystemMock) Getwd ¶
func (mock FileSystemMock) Getwd() (string, error)
Getwd is a mock method.
func (FileSystemMock) MkdirAll ¶
func (mock FileSystemMock) MkdirAll(p0 string) error
MkdirAll is a mock method.
type FileSystemMockImpl ¶
type FileSystemMockImpl struct { Exist func(p0 string) bool MkdirAll func(p0 string) error Write func(p0 string, p1 []byte) error GetWriteCloser func(p0 string) (io.WriteCloser, error) Getwd func() (string, error) }
FileSystemMockImpl holds functions which implement interface's methods.
Click to show internal directories.
Click to hide internal directories.