mocks

package
v6.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

View Source
var SimpleEmergencyGroupAddr = accs.GenerateAddr("ugov emergency group")

Functions

func NewEmergencyGroupBuilder

func NewEmergencyGroupBuilder(pk ugov.WithEmergencyGroup) ugov.EmergencyGroupBuilder

NewEmergencyGroupBuilder creates a WithEmergencyGroup builder function

func NewParamsBuilder

func NewParamsBuilder(pk ugov.ParamsKeeper) ugov.ParamsKeeperBuilder

NewParamsBuilder creates a ParamsKeeper builder function

func NewSimpleEmergencyGroup

func NewSimpleEmergencyGroup() ugov.WithEmergencyGroup

func NewSimpleEmergencyGroupBuilder

func NewSimpleEmergencyGroupBuilder() ugov.EmergencyGroupBuilder

NewSimpleEmergencyGroupBuilder creates a EmergencyGroupBuilder builder function

Types

type MockKeeper

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

MockKeeper is a mock of Keeper interface.

func NewMockKeeper

func NewMockKeeper(ctrl *gomock.Controller) *MockKeeper

NewMockKeeper creates a new mock instance.

func (*MockKeeper) EXPECT

func (m *MockKeeper) EXPECT() *MockKeeperMockRecorder

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

func (*MockKeeper) EmergencyGroup

func (m *MockKeeper) EmergencyGroup() types.AccAddress

EmergencyGroup mocks base method.

func (*MockKeeper) ExportGenesis

func (m *MockKeeper) ExportGenesis() *ugov.GenesisState

ExportGenesis mocks base method.

func (*MockKeeper) InflationCycleEnd

func (m *MockKeeper) InflationCycleEnd() time.Time

InflationCycleEnd mocks base method.

func (*MockKeeper) InflationParams

func (m *MockKeeper) InflationParams() ugov.InflationParams

InflationParams mocks base method.

func (*MockKeeper) InitGenesis

func (m *MockKeeper) InitGenesis(gs *ugov.GenesisState) error

InitGenesis mocks base method.

func (*MockKeeper) MinGasPrice

func (m *MockKeeper) MinGasPrice() types.DecCoin

MinGasPrice mocks base method.

func (*MockKeeper) SetEmergencyGroup

func (m *MockKeeper) SetEmergencyGroup(p types.AccAddress)

SetEmergencyGroup mocks base method.

func (*MockKeeper) SetInflationCycleEnd

func (m *MockKeeper) SetInflationCycleEnd(startTime time.Time) error

SetInflationCycleEnd mocks base method.

func (*MockKeeper) SetInflationParams

func (m *MockKeeper) SetInflationParams(lp ugov.InflationParams) error

SetInflationParams mocks base method.

func (*MockKeeper) SetMinGasPrice

func (m *MockKeeper) SetMinGasPrice(p types.DecCoin) error

SetMinGasPrice mocks base method.

type MockKeeperMockRecorder

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

MockKeeperMockRecorder is the mock recorder for MockKeeper.

func (*MockKeeperMockRecorder) EmergencyGroup

func (mr *MockKeeperMockRecorder) EmergencyGroup() *gomock.Call

EmergencyGroup indicates an expected call of EmergencyGroup.

func (*MockKeeperMockRecorder) ExportGenesis

func (mr *MockKeeperMockRecorder) ExportGenesis() *gomock.Call

ExportGenesis indicates an expected call of ExportGenesis.

func (*MockKeeperMockRecorder) InflationCycleEnd

func (mr *MockKeeperMockRecorder) InflationCycleEnd() *gomock.Call

InflationCycleEnd indicates an expected call of InflationCycleEnd.

func (*MockKeeperMockRecorder) InflationParams

func (mr *MockKeeperMockRecorder) InflationParams() *gomock.Call

InflationParams indicates an expected call of InflationParams.

func (*MockKeeperMockRecorder) InitGenesis

func (mr *MockKeeperMockRecorder) InitGenesis(gs interface{}) *gomock.Call

InitGenesis indicates an expected call of InitGenesis.

func (*MockKeeperMockRecorder) MinGasPrice

func (mr *MockKeeperMockRecorder) MinGasPrice() *gomock.Call

MinGasPrice indicates an expected call of MinGasPrice.

func (*MockKeeperMockRecorder) SetEmergencyGroup

func (mr *MockKeeperMockRecorder) SetEmergencyGroup(p interface{}) *gomock.Call

SetEmergencyGroup indicates an expected call of SetEmergencyGroup.

func (*MockKeeperMockRecorder) SetInflationCycleEnd

func (mr *MockKeeperMockRecorder) SetInflationCycleEnd(startTime interface{}) *gomock.Call

SetInflationCycleEnd indicates an expected call of SetInflationCycleEnd.

func (*MockKeeperMockRecorder) SetInflationParams

func (mr *MockKeeperMockRecorder) SetInflationParams(lp interface{}) *gomock.Call

SetInflationParams indicates an expected call of SetInflationParams.

func (*MockKeeperMockRecorder) SetMinGasPrice

func (mr *MockKeeperMockRecorder) SetMinGasPrice(p interface{}) *gomock.Call

SetMinGasPrice indicates an expected call of SetMinGasPrice.

type MockParamsKeeper

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

MockParamsKeeper is a mock of ParamsKeeper interface.

func NewMockParamsKeeper

func NewMockParamsKeeper(ctrl *gomock.Controller) *MockParamsKeeper

NewMockParamsKeeper creates a new mock instance.

func (*MockParamsKeeper) EXPECT

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

func (*MockParamsKeeper) InflationCycleEnd

func (m *MockParamsKeeper) InflationCycleEnd() time.Time

InflationCycleEnd mocks base method.

func (*MockParamsKeeper) InflationParams

func (m *MockParamsKeeper) InflationParams() ugov.InflationParams

InflationParams mocks base method.

func (*MockParamsKeeper) MinGasPrice

func (m *MockParamsKeeper) MinGasPrice() types.DecCoin

MinGasPrice mocks base method.

func (*MockParamsKeeper) SetEmergencyGroup

func (m *MockParamsKeeper) SetEmergencyGroup(p types.AccAddress)

SetEmergencyGroup mocks base method.

func (*MockParamsKeeper) SetInflationCycleEnd

func (m *MockParamsKeeper) SetInflationCycleEnd(startTime time.Time) error

SetInflationCycleEnd mocks base method.

func (*MockParamsKeeper) SetInflationParams

func (m *MockParamsKeeper) SetInflationParams(lp ugov.InflationParams) error

SetInflationParams mocks base method.

func (*MockParamsKeeper) SetMinGasPrice

func (m *MockParamsKeeper) SetMinGasPrice(p types.DecCoin) error

SetMinGasPrice mocks base method.

type MockParamsKeeperMockRecorder

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

MockParamsKeeperMockRecorder is the mock recorder for MockParamsKeeper.

func (*MockParamsKeeperMockRecorder) InflationCycleEnd

func (mr *MockParamsKeeperMockRecorder) InflationCycleEnd() *gomock.Call

InflationCycleEnd indicates an expected call of InflationCycleEnd.

func (*MockParamsKeeperMockRecorder) InflationParams

func (mr *MockParamsKeeperMockRecorder) InflationParams() *gomock.Call

InflationParams indicates an expected call of InflationParams.

func (*MockParamsKeeperMockRecorder) MinGasPrice

func (mr *MockParamsKeeperMockRecorder) MinGasPrice() *gomock.Call

MinGasPrice indicates an expected call of MinGasPrice.

func (*MockParamsKeeperMockRecorder) SetEmergencyGroup

func (mr *MockParamsKeeperMockRecorder) SetEmergencyGroup(p interface{}) *gomock.Call

SetEmergencyGroup indicates an expected call of SetEmergencyGroup.

func (*MockParamsKeeperMockRecorder) SetInflationCycleEnd

func (mr *MockParamsKeeperMockRecorder) SetInflationCycleEnd(startTime interface{}) *gomock.Call

SetInflationCycleEnd indicates an expected call of SetInflationCycleEnd.

func (*MockParamsKeeperMockRecorder) SetInflationParams

func (mr *MockParamsKeeperMockRecorder) SetInflationParams(lp interface{}) *gomock.Call

SetInflationParams indicates an expected call of SetInflationParams.

func (*MockParamsKeeperMockRecorder) SetMinGasPrice

func (mr *MockParamsKeeperMockRecorder) SetMinGasPrice(p interface{}) *gomock.Call

SetMinGasPrice indicates an expected call of SetMinGasPrice.

type MockWithEmergencyGroup

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

MockWithEmergencyGroup is a mock of WithEmergencyGroup interface.

func NewMockWithEmergencyGroup

func NewMockWithEmergencyGroup(ctrl *gomock.Controller) *MockWithEmergencyGroup

NewMockWithEmergencyGroup creates a new mock instance.

func (*MockWithEmergencyGroup) EXPECT

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

func (*MockWithEmergencyGroup) EmergencyGroup

func (m *MockWithEmergencyGroup) EmergencyGroup() types.AccAddress

EmergencyGroup mocks base method.

type MockWithEmergencyGroupMockRecorder

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

MockWithEmergencyGroupMockRecorder is the mock recorder for MockWithEmergencyGroup.

func (*MockWithEmergencyGroupMockRecorder) EmergencyGroup

func (mr *MockWithEmergencyGroupMockRecorder) EmergencyGroup() *gomock.Call

EmergencyGroup indicates an expected call of EmergencyGroup.

Jump to

Keyboard shortcuts

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