Documentation
¶
Index ¶
- type MockEditor
- type MockEditor_EditProto_Call
- func (_c *MockEditor_EditProto_Call) Return(v proto.Message, err error) *MockEditor_EditProto_Call
- func (_c *MockEditor_EditProto_Call) Run(run func(existing proto.Message)) *MockEditor_EditProto_Call
- func (_c *MockEditor_EditProto_Call) RunAndReturn(run func(existing proto.Message) (proto.Message, error)) *MockEditor_EditProto_Call
- type MockEditor_Expecter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEditor ¶
MockEditor is an autogenerated mock type for the Editor type
func NewMockEditor ¶
func NewMockEditor(t interface {
mock.TestingT
Cleanup(func())
}) *MockEditor
NewMockEditor creates a new instance of MockEditor. 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 (*MockEditor) EXPECT ¶
func (_m *MockEditor) EXPECT() *MockEditor_Expecter
type MockEditor_EditProto_Call ¶
MockEditor_EditProto_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EditProto'
func (*MockEditor_EditProto_Call) Return ¶
func (_c *MockEditor_EditProto_Call) Return(v proto.Message, err error) *MockEditor_EditProto_Call
func (*MockEditor_EditProto_Call) Run ¶
func (_c *MockEditor_EditProto_Call) Run(run func(existing proto.Message)) *MockEditor_EditProto_Call
func (*MockEditor_EditProto_Call) RunAndReturn ¶
func (_c *MockEditor_EditProto_Call) RunAndReturn(run func(existing proto.Message) (proto.Message, error)) *MockEditor_EditProto_Call
type MockEditor_Expecter ¶
type MockEditor_Expecter struct {
// contains filtered or unexported fields
}
func (*MockEditor_Expecter) EditProto ¶
func (_e *MockEditor_Expecter) EditProto(existing interface{}) *MockEditor_EditProto_Call
EditProto is a helper method to define mock.On call
- existing proto.Message
Click to show internal directories.
Click to hide internal directories.