testutil

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0, Apache-2.0 Imports: 4 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 MockEpochHooks

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

MockEpochHooks is a mock of EpochHooks interface.

func NewMockEpochHooks

func NewMockEpochHooks(ctrl *gomock.Controller) *MockEpochHooks

NewMockEpochHooks creates a new mock instance.

func (*MockEpochHooks) AfterEpochEnd

func (m *MockEpochHooks) AfterEpochEnd(ctx types.Context, epochInfo types0.EpochInfo)

AfterEpochEnd mocks base method.

func (*MockEpochHooks) BeforeEpochStart

func (m *MockEpochHooks) BeforeEpochStart(ctx types.Context, epochInfo types0.EpochInfo)

BeforeEpochStart mocks base method.

func (*MockEpochHooks) EXPECT

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

type MockEpochHooksMockRecorder

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

MockEpochHooksMockRecorder is the mock recorder for MockEpochHooks.

func (*MockEpochHooksMockRecorder) AfterEpochEnd

func (mr *MockEpochHooksMockRecorder) AfterEpochEnd(ctx, epochInfo any) *gomock.Call

AfterEpochEnd indicates an expected call of AfterEpochEnd.

func (*MockEpochHooksMockRecorder) BeforeEpochStart

func (mr *MockEpochHooksMockRecorder) BeforeEpochStart(ctx, epochInfo any) *gomock.Call

BeforeEpochStart indicates an expected call of BeforeEpochStart.

Jump to

Keyboard shortcuts

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