Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterpreter ¶
type MockInterpreter struct {
// contains filtered or unexported fields
}
MockInterpreter is a mock of Interpreter interface.
func NewMockInterpreter ¶
func NewMockInterpreter(ctrl *gomock.Controller) *MockInterpreter
NewMockInterpreter creates a new mock instance.
func (*MockInterpreter) EXPECT ¶
func (m *MockInterpreter) EXPECT() *MockInterpreterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterpreter) Eval ¶
func (m *MockInterpreter) Eval(script string) (interface{}, error)
Eval mocks base method.
func (*MockInterpreter) ExecFile ¶
func (m *MockInterpreter) ExecFile(filename, funcname string) (interface{}, error)
ExecFile mocks base method.
type MockInterpreterMockRecorder ¶
type MockInterpreterMockRecorder struct {
// contains filtered or unexported fields
}
MockInterpreterMockRecorder is the mock recorder for MockInterpreter.
func (*MockInterpreterMockRecorder) Eval ¶
func (mr *MockInterpreterMockRecorder) Eval(script interface{}) *gomock.Call
Eval indicates an expected call of Eval.
func (*MockInterpreterMockRecorder) ExecFile ¶
func (mr *MockInterpreterMockRecorder) ExecFile(filename, funcname interface{}) *gomock.Call
ExecFile indicates an expected call of ExecFile.
Click to show internal directories.
Click to hide internal directories.