mocks

package
v0.72.12 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

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) AuctionStart

func (m *MockAuctionState) AuctionStart() bool

AuctionStart mocks base method.

func (*MockAuctionState) CanLeave

func (m *MockAuctionState) CanLeave() bool

CanLeave mocks base method.

func (*MockAuctionState) Duration

func (m *MockAuctionState) Duration() types.AuctionDuration

Duration mocks base method.

func (*MockAuctionState) EXPECT

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

func (*MockAuctionState) ExpiresAt

func (m *MockAuctionState) ExpiresAt() *time.Time

ExpiresAt mocks base method.

func (*MockAuctionState) ExtendAuctionPrice

func (m *MockAuctionState) ExtendAuctionPrice(arg0 types.AuctionDuration)

ExtendAuctionPrice mocks base method.

func (*MockAuctionState) InAuction

func (m *MockAuctionState) InAuction() bool

InAuction mocks base method.

func (*MockAuctionState) IsFBA

func (m *MockAuctionState) IsFBA() bool

IsFBA mocks base method.

func (*MockAuctionState) IsLiquidityAuction

func (m *MockAuctionState) IsLiquidityAuction() bool

IsLiquidityAuction mocks base method.

func (*MockAuctionState) IsLiquidityExtension

func (m *MockAuctionState) IsLiquidityExtension() bool

IsLiquidityExtension mocks base method.

func (*MockAuctionState) IsOpeningAuction

func (m *MockAuctionState) IsOpeningAuction() bool

IsOpeningAuction mocks base method.

func (*MockAuctionState) IsPriceAuction

func (m *MockAuctionState) IsPriceAuction() bool

IsPriceAuction mocks base method.

func (*MockAuctionState) IsPriceExtension

func (m *MockAuctionState) IsPriceExtension() bool

IsPriceExtension mocks base method.

func (*MockAuctionState) Mode

Mode mocks base method.

func (*MockAuctionState) SetReadyToLeave

func (m *MockAuctionState) SetReadyToLeave()

SetReadyToLeave mocks base method.

func (*MockAuctionState) Start

func (m *MockAuctionState) Start() time.Time

Start mocks base method.

func (*MockAuctionState) StartPriceAuction

func (m *MockAuctionState) StartPriceAuction(arg0 time.Time, arg1 *types.AuctionDuration)

StartPriceAuction mocks base method.

type MockAuctionStateMockRecorder

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

MockAuctionStateMockRecorder is the mock recorder for MockAuctionState.

func (*MockAuctionStateMockRecorder) AuctionStart

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

AuctionStart indicates an expected call of AuctionStart.

func (*MockAuctionStateMockRecorder) CanLeave

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

CanLeave indicates an expected call of CanLeave.

func (*MockAuctionStateMockRecorder) Duration

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

Duration indicates an expected call of Duration.

func (*MockAuctionStateMockRecorder) ExpiresAt

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

ExpiresAt indicates an expected call of ExpiresAt.

func (*MockAuctionStateMockRecorder) ExtendAuctionPrice

func (mr *MockAuctionStateMockRecorder) ExtendAuctionPrice(arg0 interface{}) *gomock.Call

ExtendAuctionPrice indicates an expected call of ExtendAuctionPrice.

func (*MockAuctionStateMockRecorder) InAuction

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

InAuction indicates an expected call of InAuction.

func (*MockAuctionStateMockRecorder) IsFBA

IsFBA indicates an expected call of IsFBA.

func (*MockAuctionStateMockRecorder) IsLiquidityAuction

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

IsLiquidityAuction indicates an expected call of IsLiquidityAuction.

func (*MockAuctionStateMockRecorder) IsLiquidityExtension

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

IsLiquidityExtension indicates an expected call of IsLiquidityExtension.

func (*MockAuctionStateMockRecorder) IsOpeningAuction

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

IsOpeningAuction indicates an expected call of IsOpeningAuction.

func (*MockAuctionStateMockRecorder) IsPriceAuction

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

IsPriceAuction indicates an expected call of IsPriceAuction.

func (*MockAuctionStateMockRecorder) IsPriceExtension

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

IsPriceExtension indicates an expected call of IsPriceExtension.

func (*MockAuctionStateMockRecorder) Mode

Mode indicates an expected call of Mode.

func (*MockAuctionStateMockRecorder) SetReadyToLeave

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

SetReadyToLeave indicates an expected call of SetReadyToLeave.

func (*MockAuctionStateMockRecorder) Start

Start indicates an expected call of Start.

func (*MockAuctionStateMockRecorder) StartPriceAuction

func (mr *MockAuctionStateMockRecorder) StartPriceAuction(arg0, arg1 interface{}) *gomock.Call

StartPriceAuction indicates an expected call of StartPriceAuction.

type MockRangeProvider

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

MockRangeProvider is a mock of RangeProvider interface.

func NewMockRangeProvider

func NewMockRangeProvider(ctrl *gomock.Controller) *MockRangeProvider

NewMockRangeProvider creates a new mock instance.

func (*MockRangeProvider) EXPECT

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

func (*MockRangeProvider) PriceRange

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

PriceRange mocks base method.

type MockRangeProviderMockRecorder

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

MockRangeProviderMockRecorder is the mock recorder for MockRangeProvider.

func (*MockRangeProviderMockRecorder) PriceRange

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

PriceRange indicates an expected call of PriceRange.

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) 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) RegisterStateVariable

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

RegisterStateVariable indicates an expected call of RegisterStateVariable.

Jump to

Keyboard shortcuts

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