-
Notifications
You must be signed in to change notification settings - Fork 647
/
mock_vm_registry.go
71 lines (59 loc) · 2.29 KB
/
mock_vm_registry.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/ava-labs/avalanchego/vms/registry (interfaces: VMRegistry)
// Package registry is a generated GoMock package.
package registry
import (
context "context"
reflect "reflect"
ids "github.com/ava-labs/avalanchego/ids"
gomock "go.uber.org/mock/gomock"
)
// MockVMRegistry is a mock of VMRegistry interface.
type MockVMRegistry struct {
ctrl *gomock.Controller
recorder *MockVMRegistryMockRecorder
}
// MockVMRegistryMockRecorder is the mock recorder for MockVMRegistry.
type MockVMRegistryMockRecorder struct {
mock *MockVMRegistry
}
// NewMockVMRegistry creates a new mock instance.
func NewMockVMRegistry(ctrl *gomock.Controller) *MockVMRegistry {
mock := &MockVMRegistry{ctrl: ctrl}
mock.recorder = &MockVMRegistryMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockVMRegistry) EXPECT() *MockVMRegistryMockRecorder {
return m.recorder
}
// Reload mocks base method.
func (m *MockVMRegistry) Reload(arg0 context.Context) ([]ids.ID, map[ids.ID]error, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Reload", arg0)
ret0, _ := ret[0].([]ids.ID)
ret1, _ := ret[1].(map[ids.ID]error)
ret2, _ := ret[2].(error)
return ret0, ret1, ret2
}
// Reload indicates an expected call of Reload.
func (mr *MockVMRegistryMockRecorder) Reload(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Reload", reflect.TypeOf((*MockVMRegistry)(nil).Reload), arg0)
}
// ReloadWithReadLock mocks base method.
func (m *MockVMRegistry) ReloadWithReadLock(arg0 context.Context) ([]ids.ID, map[ids.ID]error, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ReloadWithReadLock", arg0)
ret0, _ := ret[0].([]ids.ID)
ret1, _ := ret[1].(map[ids.ID]error)
ret2, _ := ret[2].(error)
return ret0, ret1, ret2
}
// ReloadWithReadLock indicates an expected call of ReloadWithReadLock.
func (mr *MockVMRegistryMockRecorder) ReloadWithReadLock(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReloadWithReadLock", reflect.TypeOf((*MockVMRegistry)(nil).ReloadWithReadLock), arg0)
}