mocks

package
v0.74.10-fix.1 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: AGPL-3.0 Imports: 9 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 MockAuctionState

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

MockAuctionState is a mock of AuctionState interface.

func NewMockAuctionState

func NewMockAuctionState(ctrl *gomock.Controller) *MockAuctionState

NewMockAuctionState creates a new mock instance.

func (*MockAuctionState) CanLeave

func (m *MockAuctionState) CanLeave() bool

CanLeave mocks base method.

func (*MockAuctionState) EXPECT

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

func (*MockAuctionState) InAuction

func (m *MockAuctionState) InAuction() bool

InAuction mocks base method.

type MockAuctionStateMockRecorder

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

MockAuctionStateMockRecorder is the mock recorder for MockAuctionState.

func (*MockAuctionStateMockRecorder) CanLeave

func (mr *MockAuctionStateMockRecorder) CanLeave() *gomock.Call

CanLeave indicates an expected call of CanLeave.

func (*MockAuctionStateMockRecorder) InAuction

func (mr *MockAuctionStateMockRecorder) InAuction() *gomock.Call

InAuction indicates an expected call of InAuction.

type MockModel

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

MockModel is a mock of Model interface.

func NewMockModel

func NewMockModel(ctrl *gomock.Controller) *MockModel

NewMockModel creates a new mock instance.

func (*MockModel) CalculateRiskFactors

func (m *MockModel) CalculateRiskFactors() *types.RiskFactor

CalculateRiskFactors mocks base method.

func (*MockModel) DefaultRiskFactors

func (m *MockModel) DefaultRiskFactors() *types.RiskFactor

DefaultRiskFactors mocks base method.

func (*MockModel) EXPECT

func (m *MockModel) EXPECT() *MockModelMockRecorder

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

func (*MockModel) GetProjectionHorizon

func (m *MockModel) GetProjectionHorizon() decimal.Decimal

GetProjectionHorizon mocks base method.

func (*MockModel) PriceRange

func (m *MockModel) PriceRange(arg0, arg1, arg2 decimal.Decimal) (decimal.Decimal, decimal.Decimal)

PriceRange mocks base method.

func (*MockModel) ProbabilityOfTrading

func (m *MockModel) ProbabilityOfTrading(arg0, arg1, arg2, arg3, arg4 decimal.Decimal, arg5, arg6 bool) decimal.Decimal

ProbabilityOfTrading mocks base method.

type MockModelMockRecorder

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

MockModelMockRecorder is the mock recorder for MockModel.

func (*MockModelMockRecorder) CalculateRiskFactors

func (mr *MockModelMockRecorder) CalculateRiskFactors() *gomock.Call

CalculateRiskFactors indicates an expected call of CalculateRiskFactors.

func (*MockModelMockRecorder) DefaultRiskFactors

func (mr *MockModelMockRecorder) DefaultRiskFactors() *gomock.Call

DefaultRiskFactors indicates an expected call of DefaultRiskFactors.

func (*MockModelMockRecorder) GetProjectionHorizon

func (mr *MockModelMockRecorder) GetProjectionHorizon() *gomock.Call

GetProjectionHorizon indicates an expected call of GetProjectionHorizon.

func (*MockModelMockRecorder) PriceRange

func (mr *MockModelMockRecorder) PriceRange(arg0, arg1, arg2 interface{}) *gomock.Call

PriceRange indicates an expected call of PriceRange.

func (*MockModelMockRecorder) ProbabilityOfTrading

func (mr *MockModelMockRecorder) ProbabilityOfTrading(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call

ProbabilityOfTrading indicates an expected call of ProbabilityOfTrading.

type MockOrderbook

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

MockOrderbook is a mock of Orderbook interface.

func NewMockOrderbook

func NewMockOrderbook(ctrl *gomock.Controller) *MockOrderbook

NewMockOrderbook creates a new mock instance.

func (*MockOrderbook) EXPECT

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

func (*MockOrderbook) GetCloseoutPrice

func (m *MockOrderbook) GetCloseoutPrice(arg0 uint64, arg1 vega.Side) (*num.Uint, error)

GetCloseoutPrice mocks base method.

func (*MockOrderbook) GetIndicativePrice

func (m *MockOrderbook) GetIndicativePrice() *num.Uint

GetIndicativePrice mocks base method.

type MockOrderbookMockRecorder

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

MockOrderbookMockRecorder is the mock recorder for MockOrderbook.

func (*MockOrderbookMockRecorder) GetCloseoutPrice

func (mr *MockOrderbookMockRecorder) GetCloseoutPrice(arg0, arg1 interface{}) *gomock.Call

GetCloseoutPrice indicates an expected call of GetCloseoutPrice.

func (*MockOrderbookMockRecorder) GetIndicativePrice

func (mr *MockOrderbookMockRecorder) GetIndicativePrice() *gomock.Call

GetIndicativePrice indicates an expected call of GetIndicativePrice.

type MockStateVarEngine

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

MockStateVarEngine is a mock of StateVarEngine interface.

func NewMockStateVarEngine

func NewMockStateVarEngine(ctrl *gomock.Controller) *MockStateVarEngine

NewMockStateVarEngine creates a new mock instance.

func (*MockStateVarEngine) EXPECT

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

func (*MockStateVarEngine) NewEvent

func (m *MockStateVarEngine) NewEvent(arg0, arg1 string, arg2 statevar.EventType)

NewEvent mocks base method.

func (*MockStateVarEngine) RegisterStateVariable

func (m *MockStateVarEngine) RegisterStateVariable(arg0, arg1, arg2 string, arg3 statevar.Converter, arg4 func(string, statevar.FinaliseCalculation), arg5 []statevar.EventType, arg6 func(context.Context, statevar.StateVariableResult) error) error

RegisterStateVariable mocks base method.

type MockStateVarEngineMockRecorder

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

MockStateVarEngineMockRecorder is the mock recorder for MockStateVarEngine.

func (*MockStateVarEngineMockRecorder) NewEvent

func (mr *MockStateVarEngineMockRecorder) NewEvent(arg0, arg1, arg2 interface{}) *gomock.Call

NewEvent indicates an expected call of NewEvent.

func (*MockStateVarEngineMockRecorder) RegisterStateVariable

func (mr *MockStateVarEngineMockRecorder) RegisterStateVariable(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call

RegisterStateVariable indicates an expected call of RegisterStateVariable.

type MockTimeService

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

MockTimeService is a mock of TimeService interface.

func NewMockTimeService

func NewMockTimeService(ctrl *gomock.Controller) *MockTimeService

NewMockTimeService creates a new mock instance.

func (*MockTimeService) EXPECT

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

func (*MockTimeService) GetTimeNow

func (m *MockTimeService) GetTimeNow() time.Time

GetTimeNow mocks base method.

type MockTimeServiceMockRecorder

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

MockTimeServiceMockRecorder is the mock recorder for MockTimeService.

func (*MockTimeServiceMockRecorder) GetTimeNow

func (mr *MockTimeServiceMockRecorder) GetTimeNow() *gomock.Call

GetTimeNow indicates an expected call of GetTimeNow.

Jump to

Keyboard shortcuts

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