mocks

package
v0.1.0-test Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChainSpecificAddressCodec

type ChainSpecificAddressCodec struct {
	mock.Mock
}

ChainSpecificAddressCodec is an autogenerated mock type for the ChainSpecificAddressCodec type

func NewChainSpecificAddressCodec

func NewChainSpecificAddressCodec(t interface {
	mock.TestingT
	Cleanup(func())
}) *ChainSpecificAddressCodec

NewChainSpecificAddressCodec creates a new instance of ChainSpecificAddressCodec. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ChainSpecificAddressCodec) AddressBytesToString

func (_mock *ChainSpecificAddressCodec) AddressBytesToString(bytes []byte) (string, error)

AddressBytesToString provides a mock function for the type ChainSpecificAddressCodec

func (*ChainSpecificAddressCodec) AddressStringToBytes

func (_mock *ChainSpecificAddressCodec) AddressStringToBytes(s string) ([]byte, error)

AddressStringToBytes provides a mock function for the type ChainSpecificAddressCodec

func (*ChainSpecificAddressCodec) EXPECT

func (*ChainSpecificAddressCodec) OracleIDAsAddressBytes

func (_mock *ChainSpecificAddressCodec) OracleIDAsAddressBytes(oracleID uint8) ([]byte, error)

OracleIDAsAddressBytes provides a mock function for the type ChainSpecificAddressCodec

func (*ChainSpecificAddressCodec) TransmitterBytesToString

func (_mock *ChainSpecificAddressCodec) TransmitterBytesToString(bytes []byte) (string, error)

TransmitterBytesToString provides a mock function for the type ChainSpecificAddressCodec

type ChainSpecificAddressCodec_AddressBytesToString_Call

type ChainSpecificAddressCodec_AddressBytesToString_Call struct {
	*mock.Call
}

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

func (*ChainSpecificAddressCodec_AddressBytesToString_Call) Return

func (*ChainSpecificAddressCodec_AddressBytesToString_Call) Run

func (*ChainSpecificAddressCodec_AddressBytesToString_Call) RunAndReturn

type ChainSpecificAddressCodec_AddressStringToBytes_Call

type ChainSpecificAddressCodec_AddressStringToBytes_Call struct {
	*mock.Call
}

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

func (*ChainSpecificAddressCodec_AddressStringToBytes_Call) Return

func (*ChainSpecificAddressCodec_AddressStringToBytes_Call) Run

func (*ChainSpecificAddressCodec_AddressStringToBytes_Call) RunAndReturn

type ChainSpecificAddressCodec_Expecter

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

func (*ChainSpecificAddressCodec_Expecter) AddressBytesToString

AddressBytesToString is a helper method to define mock.On call

  • bytes []byte

func (*ChainSpecificAddressCodec_Expecter) AddressStringToBytes

AddressStringToBytes is a helper method to define mock.On call

  • s string

func (*ChainSpecificAddressCodec_Expecter) OracleIDAsAddressBytes

func (_e *ChainSpecificAddressCodec_Expecter) OracleIDAsAddressBytes(oracleID interface{}) *ChainSpecificAddressCodec_OracleIDAsAddressBytes_Call

OracleIDAsAddressBytes is a helper method to define mock.On call

  • oracleID uint8

func (*ChainSpecificAddressCodec_Expecter) TransmitterBytesToString

TransmitterBytesToString is a helper method to define mock.On call

  • bytes []byte

type ChainSpecificAddressCodec_OracleIDAsAddressBytes_Call

type ChainSpecificAddressCodec_OracleIDAsAddressBytes_Call struct {
	*mock.Call
}

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

func (*ChainSpecificAddressCodec_OracleIDAsAddressBytes_Call) Return

func (*ChainSpecificAddressCodec_OracleIDAsAddressBytes_Call) Run

func (*ChainSpecificAddressCodec_OracleIDAsAddressBytes_Call) RunAndReturn

type ChainSpecificAddressCodec_TransmitterBytesToString_Call

type ChainSpecificAddressCodec_TransmitterBytesToString_Call struct {
	*mock.Call
}

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

func (*ChainSpecificAddressCodec_TransmitterBytesToString_Call) Return

func (*ChainSpecificAddressCodec_TransmitterBytesToString_Call) Run

func (*ChainSpecificAddressCodec_TransmitterBytesToString_Call) RunAndReturn

type SourceChainExtraDataCodec

type SourceChainExtraDataCodec struct {
	mock.Mock
}

SourceChainExtraDataCodec is an autogenerated mock type for the SourceChainExtraDataCodec type

func NewSourceChainExtraDataCodec

func NewSourceChainExtraDataCodec(t interface {
	mock.TestingT
	Cleanup(func())
}) *SourceChainExtraDataCodec

NewSourceChainExtraDataCodec creates a new instance of SourceChainExtraDataCodec. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SourceChainExtraDataCodec) DecodeDestExecDataToMap

func (_mock *SourceChainExtraDataCodec) DecodeDestExecDataToMap(destExecData ccipocr3.Bytes) (map[string]any, error)

DecodeDestExecDataToMap provides a mock function for the type SourceChainExtraDataCodec

func (*SourceChainExtraDataCodec) DecodeExtraArgsToMap

func (_mock *SourceChainExtraDataCodec) DecodeExtraArgsToMap(extraArgs ccipocr3.Bytes) (map[string]any, error)

DecodeExtraArgsToMap provides a mock function for the type SourceChainExtraDataCodec

func (*SourceChainExtraDataCodec) EXPECT

type SourceChainExtraDataCodec_DecodeDestExecDataToMap_Call

type SourceChainExtraDataCodec_DecodeDestExecDataToMap_Call struct {
	*mock.Call
}

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

func (*SourceChainExtraDataCodec_DecodeDestExecDataToMap_Call) Return

func (*SourceChainExtraDataCodec_DecodeDestExecDataToMap_Call) Run

func (*SourceChainExtraDataCodec_DecodeDestExecDataToMap_Call) RunAndReturn

type SourceChainExtraDataCodec_DecodeExtraArgsToMap_Call

type SourceChainExtraDataCodec_DecodeExtraArgsToMap_Call struct {
	*mock.Call
}

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

func (*SourceChainExtraDataCodec_DecodeExtraArgsToMap_Call) Return

func (*SourceChainExtraDataCodec_DecodeExtraArgsToMap_Call) Run

func (*SourceChainExtraDataCodec_DecodeExtraArgsToMap_Call) RunAndReturn

type SourceChainExtraDataCodec_Expecter

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

func (*SourceChainExtraDataCodec_Expecter) DecodeDestExecDataToMap

func (_e *SourceChainExtraDataCodec_Expecter) DecodeDestExecDataToMap(destExecData interface{}) *SourceChainExtraDataCodec_DecodeDestExecDataToMap_Call

DecodeDestExecDataToMap is a helper method to define mock.On call

  • destExecData ccipocr3.Bytes

func (*SourceChainExtraDataCodec_Expecter) DecodeExtraArgsToMap

func (_e *SourceChainExtraDataCodec_Expecter) DecodeExtraArgsToMap(extraArgs interface{}) *SourceChainExtraDataCodec_DecodeExtraArgsToMap_Call

DecodeExtraArgsToMap is a helper method to define mock.On call

  • extraArgs ccipocr3.Bytes

Jump to

Keyboard shortcuts

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