mockdlq

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockLocalServer

type MockLocalServer struct {
	mock.Mock
}

MockLocalServer is an autogenerated mock type for the LocalServer type

func NewMockLocalServer

func NewMockLocalServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockLocalServer

NewMockLocalServer creates a new instance of MockLocalServer. 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 (*MockLocalServer) AddRecoveredBlock

AddRecoveredBlock provides a mock function with given fields: _a0, _a1

func (*MockLocalServer) EXPECT

type MockLocalServer_AddRecoveredBlock_Call

type MockLocalServer_AddRecoveredBlock_Call struct {
	*mock.Call
}

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

func (*MockLocalServer_AddRecoveredBlock_Call) Return

func (*MockLocalServer_AddRecoveredBlock_Call) Run

type MockLocalServer_Expecter

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

func (*MockLocalServer_Expecter) AddRecoveredBlock

func (_e *MockLocalServer_Expecter) AddRecoveredBlock(_a0 interface{}, _a1 interface{}) *MockLocalServer_AddRecoveredBlock_Call

AddRecoveredBlock is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *metastorev1.AddBlockRequest

Jump to

Keyboard shortcuts

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