Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
File is an autogenerated mock type for the File type
func NewFile ¶
NewFile creates a new instance of File. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*File) EXPECT ¶
func (_m *File) EXPECT() *File_Expecter
type File_Exists_Call ¶
File_Exists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exists'
func (*File_Exists_Call) Return ¶
func (_c *File_Exists_Call) Return(_a0 bool, _a1 error) *File_Exists_Call
func (*File_Exists_Call) Run ¶
func (_c *File_Exists_Call) Run(run func(fileName string)) *File_Exists_Call
func (*File_Exists_Call) RunAndReturn ¶
func (_c *File_Exists_Call) RunAndReturn(run func(string) (bool, error)) *File_Exists_Call
type File_Expecter ¶
type File_Expecter struct {
// contains filtered or unexported fields
}
func (*File_Expecter) Exists ¶
func (_e *File_Expecter) Exists(fileName interface{}) *File_Exists_Call
Exists is a helper method to define mock.On call
- fileName string
Click to show internal directories.
Click to hide internal directories.