mocks

package
v0.7.8 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockVM

type MockVM struct {
	// contains filtered or unexported fields
}

MockVM is a mock of VM interface.

func NewMockVM

func NewMockVM(ctrl *gomock.Controller) *MockVM

NewMockVM creates a new mock instance.

func (*MockVM) EXPECT

func (m *MockVM) EXPECT() *MockVMMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockVM) Get

func (m *MockVM) Get(arg0 string) goja.Value

Get mocks base method.

func (*MockVM) Run

func (m *MockVM) Run(arg0, arg1 string, arg2 ...vm.Option) (goja.Value, error)

Run mocks base method.

func (*MockVM) Set

func (m *MockVM) Set(arg0 string, arg1 interface{}) error

Set mocks base method.

func (*MockVM) ToObject added in v0.6.2

func (m *MockVM) ToObject(arg0 goja.Value) *goja.Object

ToObject mocks base method.

type MockVMMockRecorder

type MockVMMockRecorder struct {
	// contains filtered or unexported fields
}

MockVMMockRecorder is the mock recorder for MockVM.

func (*MockVMMockRecorder) Get

func (mr *MockVMMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockVMMockRecorder) Run

func (mr *MockVMMockRecorder) Run(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Run indicates an expected call of Run.

func (*MockVMMockRecorder) Set

func (mr *MockVMMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call

Set indicates an expected call of Set.

func (*MockVMMockRecorder) ToObject added in v0.6.2

func (mr *MockVMMockRecorder) ToObject(arg0 interface{}) *gomock.Call

ToObject indicates an expected call of ToObject.

Jump to

Keyboard shortcuts

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