testutil

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package testutil is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPortal

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

MockPortal is a mock of Portal interface.

func NewMockPortal

func NewMockPortal(ctrl *gomock.Controller) *MockPortal

NewMockPortal creates a new mock instance.

func (*MockPortal) EXPECT

func (m *MockPortal) EXPECT() *MockPortalMockRecorder

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

func (*MockPortal) EmitMsg added in v0.1.10

func (m *MockPortal) EmitMsg(ctx types.Context, typ types0.MsgType, msgTypeID, destChainID uint64, shardID xchain.ShardID) (uint64, error)

EmitMsg mocks base method.

type MockPortalMockRecorder

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

MockPortalMockRecorder is the mock recorder for MockPortal.

func (*MockPortalMockRecorder) EmitMsg added in v0.1.10

func (mr *MockPortalMockRecorder) EmitMsg(ctx, typ, msgTypeID, destChainID, shardID any) *gomock.Call

EmitMsg indicates an expected call of EmitMsg.

type Portal

type Portal interface {
	types.EmitPortal
}

Jump to

Keyboard shortcuts

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