mock

package
v0.3.39 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL