mocks

package
v0.8.4 Latest Latest
Warning

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

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

README

To generate mocks, run the following command:

go get github.com/vektra/mockery/.../
cd sdk
mockery -all -recursive -keeptree

If will generate mocks in sdk folder. After that you can copy it to mocks folder.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssetId added in v0.6.0

type AssetId struct {
	mock.Mock
}

AssetId is an autogenerated mock type for the AssetId type

func (*AssetId) Equals added in v0.6.0

func (_m *AssetId) Equals(_a0 sdk.AssetId) (bool, error)

Equals provides a mock function with given fields: _a0

func (*AssetId) Id added in v0.6.0

func (_m *AssetId) Id() uint64

Id provides a mock function with given fields:

func (*AssetId) String added in v0.6.0

func (_m *AssetId) String() string

String provides a mock function with given fields:

func (*AssetId) Type added in v0.6.0

func (_m *AssetId) Type() sdk.AssetIdType

Type provides a mock function with given fields:

type BlockMapper added in v0.7.0

type BlockMapper struct {
	mock.Mock
}

BlockMapper is an autogenerated mock type for the BlockMapper type

func (*BlockMapper) MapBlock added in v0.7.0

func (_m *BlockMapper) MapBlock(m []byte) (*sdk.BlockInfo, error)

MapBlock provides a mock function with given fields: m

type ConfirmedAddedMapper added in v0.7.0

type ConfirmedAddedMapper struct {
	mock.Mock
}

ConfirmedAddedMapper is an autogenerated mock type for the ConfirmedAddedMapper type

func (*ConfirmedAddedMapper) MapConfirmedAdded added in v0.7.0

func (_m *ConfirmedAddedMapper) MapConfirmedAdded(m []byte) (sdk.Transaction, error)

MapConfirmedAdded provides a mock function with given fields: m

type CosignatureMapper added in v0.7.0

type CosignatureMapper struct {
	mock.Mock
}

CosignatureMapper is an autogenerated mock type for the CosignatureMapper type

func (*CosignatureMapper) MapCosignature added in v0.7.0

func (_m *CosignatureMapper) MapCosignature(m []byte) (*sdk.SignerInfo, error)

MapCosignature provides a mock function with given fields: m

type DriveStateMapper added in v0.7.0

type DriveStateMapper struct {
	mock.Mock
}

DriveStateMapper is an autogenerated mock type for the DriveStateMapper type

func (*DriveStateMapper) MapDriveState added in v0.7.0

func (_m *DriveStateMapper) MapDriveState(m []byte) (*sdk.DriveStateInfo, error)

MapDriveState provides a mock function with given fields: m

type Message added in v0.6.0

type Message struct {
	mock.Mock
}

Message is an autogenerated mock type for the Message type

func (*Message) Payload added in v0.6.0

func (_m *Message) Payload() []byte

Payload provides a mock function with given fields:

func (*Message) String added in v0.6.0

func (_m *Message) String() string

String provides a mock function with given fields:

func (*Message) Type added in v0.6.0

func (_m *Message) Type() sdk.MessageType

Type provides a mock function with given fields:

type PartialAddedMapper added in v0.7.0

type PartialAddedMapper struct {
	mock.Mock
}

PartialAddedMapper is an autogenerated mock type for the PartialAddedMapper type

func (*PartialAddedMapper) MapPartialAdded added in v0.7.0

func (_m *PartialAddedMapper) MapPartialAdded(m []byte) (*sdk.AggregateTransaction, error)

MapPartialAdded provides a mock function with given fields: m

type PartialRemovedMapper added in v0.7.0

type PartialRemovedMapper struct {
	mock.Mock
}

PartialRemovedMapper is an autogenerated mock type for the PartialRemovedMapper type

func (*PartialRemovedMapper) MapPartialRemoved added in v0.7.0

func (_m *PartialRemovedMapper) MapPartialRemoved(m []byte) (*sdk.PartialRemovedInfo, error)

MapPartialRemoved provides a mock function with given fields: m

type StatusMapper added in v0.7.0

type StatusMapper struct {
	mock.Mock
}

StatusMapper is an autogenerated mock type for the StatusMapper type

func (*StatusMapper) MapStatus added in v0.7.0

func (_m *StatusMapper) MapStatus(m []byte) (*sdk.StatusInfo, error)

MapStatus provides a mock function with given fields: m

type Transaction added in v0.6.0

type Transaction struct {
	mock.Mock
}

Transaction is an autogenerated mock type for the Transaction type

func (*Transaction) Bytes added in v0.6.0

func (_m *Transaction) Bytes() ([]byte, error)

Bytes provides a mock function with given fields:

func (*Transaction) GetAbstractTransaction added in v0.6.0

func (_m *Transaction) GetAbstractTransaction() *sdk.AbstractTransaction

GetAbstractTransaction provides a mock function with given fields:

func (*Transaction) Size added in v0.6.0

func (_m *Transaction) Size() int

Size provides a mock function with given fields:

func (*Transaction) String added in v0.6.0

func (_m *Transaction) String() string

String provides a mock function with given fields:

type UnconfirmedAddedMapper added in v0.7.0

type UnconfirmedAddedMapper struct {
	mock.Mock
}

UnconfirmedAddedMapper is an autogenerated mock type for the UnconfirmedAddedMapper type

func (*UnconfirmedAddedMapper) MapUnconfirmedAdded added in v0.7.0

func (_m *UnconfirmedAddedMapper) MapUnconfirmedAdded(m []byte) (sdk.Transaction, error)

MapUnconfirmedAdded provides a mock function with given fields: m

type UnconfirmedRemovedMapper added in v0.7.0

type UnconfirmedRemovedMapper struct {
	mock.Mock
}

UnconfirmedRemovedMapper is an autogenerated mock type for the UnconfirmedRemovedMapper type

func (*UnconfirmedRemovedMapper) MapUnconfirmedRemoved added in v0.7.0

func (_m *UnconfirmedRemovedMapper) MapUnconfirmedRemoved(m []byte) (*sdk.UnconfirmedRemoved, error)

MapUnconfirmedRemoved provides a mock function with given fields: m

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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