mirror of
https://github.com/luxfi/lpm.git
synced 2026-10-30 16:20:57 +00:00
- Update node v1.16.15 → v1.19.8 - Update crypto v1.17.0 → v1.17.4 - Update database v1.2.0 → v1.2.1 - Update geth v1.16.34 → v1.16.35 - Update ids v1.1.0 → v1.1.1 - Update Go 1.25 → 1.25.1 - Update copyright year to 2025
52 lines
1.4 KiB
Go
52 lines
1.4 KiB
Go
// Copyright (C) 2019-2025, Lux Partners Limited. All rights reserved.
|
|
// See the file LICENSE for licensing terms.
|
|
|
|
// Code generated by MockGen. DO NOT EDIT.
|
|
// Source: engine/workflow/executor.go
|
|
|
|
// Package workflow is a generated GoMock package.
|
|
package workflow
|
|
|
|
import (
|
|
reflect "reflect"
|
|
|
|
gomock "github.com/golang/mock/gomock"
|
|
)
|
|
|
|
// MockExecutor is a mock of Executor interface.
|
|
type MockExecutor struct {
|
|
ctrl *gomock.Controller
|
|
recorder *MockExecutorMockRecorder
|
|
}
|
|
|
|
// MockExecutorMockRecorder is the mock recorder for MockExecutor.
|
|
type MockExecutorMockRecorder struct {
|
|
mock *MockExecutor
|
|
}
|
|
|
|
// NewMockExecutor creates a new mock instance.
|
|
func NewMockExecutor(ctrl *gomock.Controller) *MockExecutor {
|
|
mock := &MockExecutor{ctrl: ctrl}
|
|
mock.recorder = &MockExecutorMockRecorder{mock}
|
|
return mock
|
|
}
|
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use.
|
|
func (m *MockExecutor) EXPECT() *MockExecutorMockRecorder {
|
|
return m.recorder
|
|
}
|
|
|
|
// Execute mocks base method.
|
|
func (m *MockExecutor) Execute(arg0 Workflow) error {
|
|
m.ctrl.T.Helper()
|
|
ret := m.ctrl.Call(m, "Execute", arg0)
|
|
ret0, _ := ret[0].(error)
|
|
return ret0
|
|
}
|
|
|
|
// Execute indicates an expected call of Execute.
|
|
func (mr *MockExecutorMockRecorder) Execute(arg0 interface{}) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Execute", reflect.TypeOf((*MockExecutor)(nil).Execute), arg0)
|
|
}
|