cosmos_mocks

package
v0.23.0-rc27 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QueryClient

type QueryClient struct {
	mock.Mock
}

QueryClient is an autogenerated mock type for the QueryClient type

func NewQueryClient

func NewQueryClient(t mockConstructorTestingTNewQueryClient) *QueryClient

NewQueryClient creates a new instance of QueryClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*QueryClient) AllBalances

AllBalances provides a mock function with given fields: ctx, in, opts

func (*QueryClient) Balance

Balance provides a mock function with given fields: ctx, in, opts

func (*QueryClient) DenomMetadata

DenomMetadata provides a mock function with given fields: ctx, in, opts

func (*QueryClient) DenomsMetadata

DenomsMetadata provides a mock function with given fields: ctx, in, opts

func (*QueryClient) EXPECT added in v0.24.0

func (_m *QueryClient) EXPECT() *QueryClient_Expecter

func (*QueryClient) Params

Params provides a mock function with given fields: ctx, in, opts

func (*QueryClient) SpendableBalances

SpendableBalances provides a mock function with given fields: ctx, in, opts

func (*QueryClient) SupplyOf

SupplyOf provides a mock function with given fields: ctx, in, opts

func (*QueryClient) TotalSupply

TotalSupply provides a mock function with given fields: ctx, in, opts

type QueryClient_AllBalances_Call added in v0.24.0

type QueryClient_AllBalances_Call struct {
	*mock.Call
}

QueryClient_AllBalances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllBalances'

func (*QueryClient_AllBalances_Call) Return added in v0.24.0

func (*QueryClient_AllBalances_Call) Run added in v0.24.0

func (*QueryClient_AllBalances_Call) RunAndReturn added in v0.24.0

type QueryClient_Balance_Call added in v0.24.0

type QueryClient_Balance_Call struct {
	*mock.Call
}

QueryClient_Balance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Balance'

func (*QueryClient_Balance_Call) Return added in v0.24.0

func (*QueryClient_Balance_Call) Run added in v0.24.0

func (*QueryClient_Balance_Call) RunAndReturn added in v0.24.0

type QueryClient_DenomMetadata_Call added in v0.24.0

type QueryClient_DenomMetadata_Call struct {
	*mock.Call
}

QueryClient_DenomMetadata_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DenomMetadata'

func (*QueryClient_DenomMetadata_Call) Return added in v0.24.0

func (*QueryClient_DenomMetadata_Call) Run added in v0.24.0

func (*QueryClient_DenomMetadata_Call) RunAndReturn added in v0.24.0

type QueryClient_DenomsMetadata_Call added in v0.24.0

type QueryClient_DenomsMetadata_Call struct {
	*mock.Call
}

QueryClient_DenomsMetadata_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DenomsMetadata'

func (*QueryClient_DenomsMetadata_Call) Return added in v0.24.0

func (*QueryClient_DenomsMetadata_Call) Run added in v0.24.0

func (*QueryClient_DenomsMetadata_Call) RunAndReturn added in v0.24.0

type QueryClient_Expecter added in v0.24.0

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

func (*QueryClient_Expecter) AllBalances added in v0.24.0

func (_e *QueryClient_Expecter) AllBalances(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_AllBalances_Call

AllBalances is a helper method to define mock.On call

  • ctx context.Context
  • in *types.QueryAllBalancesRequest
  • opts ...grpc.CallOption

func (*QueryClient_Expecter) Balance added in v0.24.0

func (_e *QueryClient_Expecter) Balance(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_Balance_Call

Balance is a helper method to define mock.On call

  • ctx context.Context
  • in *types.QueryBalanceRequest
  • opts ...grpc.CallOption

func (*QueryClient_Expecter) DenomMetadata added in v0.24.0

func (_e *QueryClient_Expecter) DenomMetadata(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_DenomMetadata_Call

DenomMetadata is a helper method to define mock.On call

  • ctx context.Context
  • in *types.QueryDenomMetadataRequest
  • opts ...grpc.CallOption

func (*QueryClient_Expecter) DenomsMetadata added in v0.24.0

func (_e *QueryClient_Expecter) DenomsMetadata(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_DenomsMetadata_Call

DenomsMetadata is a helper method to define mock.On call

  • ctx context.Context
  • in *types.QueryDenomsMetadataRequest
  • opts ...grpc.CallOption

func (*QueryClient_Expecter) Params added in v0.24.0

func (_e *QueryClient_Expecter) Params(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_Params_Call

Params is a helper method to define mock.On call

  • ctx context.Context
  • in *types.QueryParamsRequest
  • opts ...grpc.CallOption

func (*QueryClient_Expecter) SpendableBalances added in v0.24.0

func (_e *QueryClient_Expecter) SpendableBalances(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_SpendableBalances_Call

SpendableBalances is a helper method to define mock.On call

  • ctx context.Context
  • in *types.QuerySpendableBalancesRequest
  • opts ...grpc.CallOption

func (*QueryClient_Expecter) SupplyOf added in v0.24.0

func (_e *QueryClient_Expecter) SupplyOf(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_SupplyOf_Call

SupplyOf is a helper method to define mock.On call

  • ctx context.Context
  • in *types.QuerySupplyOfRequest
  • opts ...grpc.CallOption

func (*QueryClient_Expecter) TotalSupply added in v0.24.0

func (_e *QueryClient_Expecter) TotalSupply(ctx interface{}, in interface{}, opts ...interface{}) *QueryClient_TotalSupply_Call

TotalSupply is a helper method to define mock.On call

  • ctx context.Context
  • in *types.QueryTotalSupplyRequest
  • opts ...grpc.CallOption

type QueryClient_Params_Call added in v0.24.0

type QueryClient_Params_Call struct {
	*mock.Call
}

QueryClient_Params_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Params'

func (*QueryClient_Params_Call) Return added in v0.24.0

func (*QueryClient_Params_Call) Run added in v0.24.0

func (*QueryClient_Params_Call) RunAndReturn added in v0.24.0

type QueryClient_SpendableBalances_Call added in v0.24.0

type QueryClient_SpendableBalances_Call struct {
	*mock.Call
}

QueryClient_SpendableBalances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SpendableBalances'

func (*QueryClient_SpendableBalances_Call) Return added in v0.24.0

func (*QueryClient_SpendableBalances_Call) Run added in v0.24.0

type QueryClient_SupplyOf_Call added in v0.24.0

type QueryClient_SupplyOf_Call struct {
	*mock.Call
}

QueryClient_SupplyOf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SupplyOf'

func (*QueryClient_SupplyOf_Call) Return added in v0.24.0

func (*QueryClient_SupplyOf_Call) Run added in v0.24.0

func (*QueryClient_SupplyOf_Call) RunAndReturn added in v0.24.0

type QueryClient_TotalSupply_Call added in v0.24.0

type QueryClient_TotalSupply_Call struct {
	*mock.Call
}

QueryClient_TotalSupply_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TotalSupply'

func (*QueryClient_TotalSupply_Call) Return added in v0.24.0

func (*QueryClient_TotalSupply_Call) Run added in v0.24.0

func (*QueryClient_TotalSupply_Call) RunAndReturn added in v0.24.0

Jump to

Keyboard shortcuts

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