cosmos_mocks

package
v1.0.1-sph Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 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

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

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

func (*QueryClient_AllBalances_Call) Run

type QueryClient_Balance_Call

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

func (*QueryClient_Balance_Call) Run

type QueryClient_DenomMetadata_Call

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

func (*QueryClient_DenomMetadata_Call) Run

type QueryClient_DenomsMetadata_Call

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

func (*QueryClient_DenomsMetadata_Call) Run

type QueryClient_Expecter

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

func (*QueryClient_Expecter) AllBalances

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

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

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

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

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

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

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

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

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

func (*QueryClient_Params_Call) Run

type QueryClient_SpendableBalances_Call

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

func (*QueryClient_SpendableBalances_Call) Run

type QueryClient_SupplyOf_Call

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

func (*QueryClient_SupplyOf_Call) Run

type QueryClient_TotalSupply_Call

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

func (*QueryClient_TotalSupply_Call) Run

Jump to

Keyboard shortcuts

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