Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scratch ¶
Scratch is an autogenerated mock type for the Scratch type
func NewScratch ¶
func NewScratch(t mockConstructorTestingTNewScratch) *Scratch
NewScratch creates a new instance of Scratch. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Scratch) EXPECT ¶
func (_m *Scratch) EXPECT() *Scratch_Expecter
type Scratch_Cleanup_Call ¶
Scratch_Cleanup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Cleanup'
func (*Scratch_Cleanup_Call) Return ¶
func (_c *Scratch_Cleanup_Call) Return(_a0 error) *Scratch_Cleanup_Call
func (*Scratch_Cleanup_Call) Run ¶
func (_c *Scratch_Cleanup_Call) Run(run func()) *Scratch_Cleanup_Call
type Scratch_Expecter ¶
type Scratch_Expecter struct {
// contains filtered or unexported fields
}
func (*Scratch_Expecter) Cleanup ¶
func (_e *Scratch_Expecter) Cleanup() *Scratch_Cleanup_Call
Cleanup is a helper method to define mock.On call
func (*Scratch_Expecter) Mkdir ¶
func (_e *Scratch_Expecter) Mkdir(nickname interface{}) *Scratch_Mkdir_Call
Mkdir is a helper method to define mock.On call
- nickname string
type Scratch_Mkdir_Call ¶
Scratch_Mkdir_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Mkdir'
func (*Scratch_Mkdir_Call) Return ¶
func (_c *Scratch_Mkdir_Call) Return(_a0 string, _a1 error) *Scratch_Mkdir_Call
func (*Scratch_Mkdir_Call) Run ¶
func (_c *Scratch_Mkdir_Call) Run(run func(nickname string)) *Scratch_Mkdir_Call
Click to show internal directories.
Click to hide internal directories.