Documentation ¶
Index ¶
- type TagFileCreator
- type TagFileCreator_AddTags_Call
- func (_c *TagFileCreator_AddTags_Call) Return(_a0 error) *TagFileCreator_AddTags_Call
- func (_c *TagFileCreator_AddTags_Call) Run(run func(tags ...*tag.TagImportObject)) *TagFileCreator_AddTags_Call
- func (_c *TagFileCreator_AddTags_Call) RunAndReturn(run func(...*tag.TagImportObject) error) *TagFileCreator_AddTags_Call
- type TagFileCreator_Close_Call
- type TagFileCreator_Expecter
- type TagFileCreator_GetTagCount_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TagFileCreator ¶
TagFileCreator is an autogenerated mock type for the TagFileCreator type
func NewTagFileCreator ¶
func NewTagFileCreator(t interface { mock.TestingT Cleanup(func()) }) *TagFileCreator
NewTagFileCreator creates a new instance of TagFileCreator. 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 (*TagFileCreator) AddTags ¶
func (_m *TagFileCreator) AddTags(tags ...*tag.TagImportObject) error
AddTags provides a mock function with given fields: tags
func (*TagFileCreator) Close ¶
func (_m *TagFileCreator) Close()
Close provides a mock function with given fields:
func (*TagFileCreator) EXPECT ¶
func (_m *TagFileCreator) EXPECT() *TagFileCreator_Expecter
func (*TagFileCreator) GetTagCount ¶
func (_m *TagFileCreator) GetTagCount() int
GetTagCount provides a mock function with given fields:
type TagFileCreator_AddTags_Call ¶
TagFileCreator_AddTags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddTags'
func (*TagFileCreator_AddTags_Call) Return ¶
func (_c *TagFileCreator_AddTags_Call) Return(_a0 error) *TagFileCreator_AddTags_Call
func (*TagFileCreator_AddTags_Call) Run ¶
func (_c *TagFileCreator_AddTags_Call) Run(run func(tags ...*tag.TagImportObject)) *TagFileCreator_AddTags_Call
func (*TagFileCreator_AddTags_Call) RunAndReturn ¶
func (_c *TagFileCreator_AddTags_Call) RunAndReturn(run func(...*tag.TagImportObject) error) *TagFileCreator_AddTags_Call
type TagFileCreator_Close_Call ¶
TagFileCreator_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*TagFileCreator_Close_Call) Return ¶
func (_c *TagFileCreator_Close_Call) Return() *TagFileCreator_Close_Call
func (*TagFileCreator_Close_Call) Run ¶
func (_c *TagFileCreator_Close_Call) Run(run func()) *TagFileCreator_Close_Call
func (*TagFileCreator_Close_Call) RunAndReturn ¶
func (_c *TagFileCreator_Close_Call) RunAndReturn(run func()) *TagFileCreator_Close_Call
type TagFileCreator_Expecter ¶
type TagFileCreator_Expecter struct {
// contains filtered or unexported fields
}
func (*TagFileCreator_Expecter) AddTags ¶
func (_e *TagFileCreator_Expecter) AddTags(tags ...interface{}) *TagFileCreator_AddTags_Call
AddTags is a helper method to define mock.On call
- tags ...*tag.TagImportObject
func (*TagFileCreator_Expecter) Close ¶
func (_e *TagFileCreator_Expecter) Close() *TagFileCreator_Close_Call
Close is a helper method to define mock.On call
func (*TagFileCreator_Expecter) GetTagCount ¶
func (_e *TagFileCreator_Expecter) GetTagCount() *TagFileCreator_GetTagCount_Call
GetTagCount is a helper method to define mock.On call
type TagFileCreator_GetTagCount_Call ¶
TagFileCreator_GetTagCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTagCount'
func (*TagFileCreator_GetTagCount_Call) Return ¶
func (_c *TagFileCreator_GetTagCount_Call) Return(_a0 int) *TagFileCreator_GetTagCount_Call
func (*TagFileCreator_GetTagCount_Call) Run ¶
func (_c *TagFileCreator_GetTagCount_Call) Run(run func()) *TagFileCreator_GetTagCount_Call
func (*TagFileCreator_GetTagCount_Call) RunAndReturn ¶
func (_c *TagFileCreator_GetTagCount_Call) RunAndReturn(run func() int) *TagFileCreator_GetTagCount_Call