Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModLoader ¶
ModLoader is an autogenerated mock type for the modLoader type
func NewModLoader ¶
NewModLoader creates a new instance of ModLoader. 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 (*ModLoader) EXPECT ¶
func (_m *ModLoader) EXPECT() *ModLoader_Expecter
type ModLoader_Expecter ¶
type ModLoader_Expecter struct {
// contains filtered or unexported fields
}
func (*ModLoader_Expecter) Load ¶
func (_e *ModLoader_Expecter) Load(path interface{}) *ModLoader_Load_Call
Load is a helper method to define mock.On call
- path string
type ModLoader_Load_Call ¶
ModLoader_Load_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Load'
func (*ModLoader_Load_Call) Return ¶
func (_c *ModLoader_Load_Call) Return(_a0 io.ReadCloser, _a1 error) *ModLoader_Load_Call
func (*ModLoader_Load_Call) Run ¶
func (_c *ModLoader_Load_Call) Run(run func(path string)) *ModLoader_Load_Call
func (*ModLoader_Load_Call) RunAndReturn ¶
func (_c *ModLoader_Load_Call) RunAndReturn(run func(string) (io.ReadCloser, error)) *ModLoader_Load_Call
Click to show internal directories.
Click to hide internal directories.