Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoNode ¶
GoNode is an autogenerated mock type for the GoNode type
func NewGoNode ¶
NewGoNode creates a new instance of GoNode. 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 (*GoNode) EXPECT ¶
func (_m *GoNode) EXPECT() *GoNode_Expecter
func (*GoNode) MatchCursor ¶
MatchCursor provides a mock function with given fields: cursor
type GoNode_Expecter ¶
type GoNode_Expecter struct {
// contains filtered or unexported fields
}
func (*GoNode_Expecter) MatchCursor ¶
func (_e *GoNode_Expecter) MatchCursor(cursor interface{}) *GoNode_MatchCursor_Call
MatchCursor is a helper method to define mock.On call
- cursor *dstutil.Cursor
func (*GoNode_Expecter) MatchNode ¶
func (_e *GoNode_Expecter) MatchNode(node interface{}) *GoNode_MatchNode_Call
MatchNode is a helper method to define mock.On call
- node dst.Node
type GoNode_MatchCursor_Call ¶
GoNode_MatchCursor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MatchCursor'
func (*GoNode_MatchCursor_Call) Return ¶
func (_c *GoNode_MatchCursor_Call) Return(_a0 bool) *GoNode_MatchCursor_Call
func (*GoNode_MatchCursor_Call) Run ¶
func (_c *GoNode_MatchCursor_Call) Run(run func(cursor *dstutil.Cursor)) *GoNode_MatchCursor_Call
func (*GoNode_MatchCursor_Call) RunAndReturn ¶
func (_c *GoNode_MatchCursor_Call) RunAndReturn(run func(*dstutil.Cursor) bool) *GoNode_MatchCursor_Call
type GoNode_MatchNode_Call ¶
GoNode_MatchNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MatchNode'
func (*GoNode_MatchNode_Call) Return ¶
func (_c *GoNode_MatchNode_Call) Return(_a0 bool) *GoNode_MatchNode_Call
func (*GoNode_MatchNode_Call) Run ¶
func (_c *GoNode_MatchNode_Call) Run(run func(node dst.Node)) *GoNode_MatchNode_Call
func (*GoNode_MatchNode_Call) RunAndReturn ¶
func (_c *GoNode_MatchNode_Call) RunAndReturn(run func(dst.Node) bool) *GoNode_MatchNode_Call