Documentation ¶
Index ¶
- type FixtureLoader
- type FixtureLoader_Expecter
- type FixtureLoader_Load_Call
- func (_c *FixtureLoader_Load_Call) Return(_a0 error) *FixtureLoader_Load_Call
- func (_c *FixtureLoader_Load_Call) Run(run func(ctx context.Context, group string, fixtureSets []fixtures.FixtureSet)) *FixtureLoader_Load_Call
- func (_c *FixtureLoader_Load_Call) RunAndReturn(run func(context.Context, string, []fixtures.FixtureSet) error) *FixtureLoader_Load_Call
- type FixtureSet
- type FixtureSet_Expecter
- type FixtureSet_Write_Call
- type FixtureWriter
- type FixtureWriter_Expecter
- type FixtureWriter_Purge_Call
- type FixtureWriter_Write_Call
- func (_c *FixtureWriter_Write_Call) Return(_a0 error) *FixtureWriter_Write_Call
- func (_c *FixtureWriter_Write_Call) Run(run func(ctx context.Context, _a1 []interface{})) *FixtureWriter_Write_Call
- func (_c *FixtureWriter_Write_Call) RunAndReturn(run func(context.Context, []interface{}) error) *FixtureWriter_Write_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FixtureLoader ¶
FixtureLoader is an autogenerated mock type for the FixtureLoader type
func NewFixtureLoader ¶
func NewFixtureLoader(t interface { mock.TestingT Cleanup(func()) }) *FixtureLoader
NewFixtureLoader creates a new instance of FixtureLoader. 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 (*FixtureLoader) EXPECT ¶
func (_m *FixtureLoader) EXPECT() *FixtureLoader_Expecter
func (*FixtureLoader) Load ¶
func (_m *FixtureLoader) Load(ctx context.Context, group string, fixtureSets []fixtures.FixtureSet) error
Load provides a mock function with given fields: ctx, group, fixtureSets
type FixtureLoader_Expecter ¶
type FixtureLoader_Expecter struct {
// contains filtered or unexported fields
}
func (*FixtureLoader_Expecter) Load ¶
func (_e *FixtureLoader_Expecter) Load(ctx interface{}, group interface{}, fixtureSets interface{}) *FixtureLoader_Load_Call
Load is a helper method to define mock.On call
- ctx context.Context
- group string
- fixtureSets []fixtures.FixtureSet
type FixtureLoader_Load_Call ¶
FixtureLoader_Load_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Load'
func (*FixtureLoader_Load_Call) Return ¶
func (_c *FixtureLoader_Load_Call) Return(_a0 error) *FixtureLoader_Load_Call
func (*FixtureLoader_Load_Call) Run ¶
func (_c *FixtureLoader_Load_Call) Run(run func(ctx context.Context, group string, fixtureSets []fixtures.FixtureSet)) *FixtureLoader_Load_Call
func (*FixtureLoader_Load_Call) RunAndReturn ¶
func (_c *FixtureLoader_Load_Call) RunAndReturn(run func(context.Context, string, []fixtures.FixtureSet) error) *FixtureLoader_Load_Call
type FixtureSet ¶
FixtureSet is an autogenerated mock type for the FixtureSet type
func NewFixtureSet ¶
func NewFixtureSet(t interface { mock.TestingT Cleanup(func()) }) *FixtureSet
NewFixtureSet creates a new instance of FixtureSet. 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 (*FixtureSet) EXPECT ¶
func (_m *FixtureSet) EXPECT() *FixtureSet_Expecter
type FixtureSet_Expecter ¶
type FixtureSet_Expecter struct {
// contains filtered or unexported fields
}
func (*FixtureSet_Expecter) Write ¶
func (_e *FixtureSet_Expecter) Write(ctx interface{}) *FixtureSet_Write_Call
Write is a helper method to define mock.On call
- ctx context.Context
type FixtureSet_Write_Call ¶
FixtureSet_Write_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Write'
func (*FixtureSet_Write_Call) Return ¶
func (_c *FixtureSet_Write_Call) Return(_a0 error) *FixtureSet_Write_Call
func (*FixtureSet_Write_Call) Run ¶
func (_c *FixtureSet_Write_Call) Run(run func(ctx context.Context)) *FixtureSet_Write_Call
func (*FixtureSet_Write_Call) RunAndReturn ¶
func (_c *FixtureSet_Write_Call) RunAndReturn(run func(context.Context) error) *FixtureSet_Write_Call
type FixtureWriter ¶
FixtureWriter is an autogenerated mock type for the FixtureWriter type
func NewFixtureWriter ¶
func NewFixtureWriter(t interface { mock.TestingT Cleanup(func()) }) *FixtureWriter
NewFixtureWriter creates a new instance of FixtureWriter. 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 (*FixtureWriter) EXPECT ¶
func (_m *FixtureWriter) EXPECT() *FixtureWriter_Expecter
type FixtureWriter_Expecter ¶
type FixtureWriter_Expecter struct {
// contains filtered or unexported fields
}
func (*FixtureWriter_Expecter) Purge ¶
func (_e *FixtureWriter_Expecter) Purge(ctx interface{}) *FixtureWriter_Purge_Call
Purge is a helper method to define mock.On call
- ctx context.Context
func (*FixtureWriter_Expecter) Write ¶
func (_e *FixtureWriter_Expecter) Write(ctx interface{}, _a1 interface{}) *FixtureWriter_Write_Call
Write is a helper method to define mock.On call
- ctx context.Context
- _a1 []interface{}
type FixtureWriter_Purge_Call ¶
FixtureWriter_Purge_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Purge'
func (*FixtureWriter_Purge_Call) Return ¶
func (_c *FixtureWriter_Purge_Call) Return(_a0 error) *FixtureWriter_Purge_Call
func (*FixtureWriter_Purge_Call) Run ¶
func (_c *FixtureWriter_Purge_Call) Run(run func(ctx context.Context)) *FixtureWriter_Purge_Call
func (*FixtureWriter_Purge_Call) RunAndReturn ¶
func (_c *FixtureWriter_Purge_Call) RunAndReturn(run func(context.Context) error) *FixtureWriter_Purge_Call
type FixtureWriter_Write_Call ¶
FixtureWriter_Write_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Write'
func (*FixtureWriter_Write_Call) Return ¶
func (_c *FixtureWriter_Write_Call) Return(_a0 error) *FixtureWriter_Write_Call
func (*FixtureWriter_Write_Call) Run ¶
func (_c *FixtureWriter_Write_Call) Run(run func(ctx context.Context, _a1 []interface{})) *FixtureWriter_Write_Call
func (*FixtureWriter_Write_Call) RunAndReturn ¶
func (_c *FixtureWriter_Write_Call) RunAndReturn(run func(context.Context, []interface{}) error) *FixtureWriter_Write_Call