mocks

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBeaconNetwork

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

MockBeaconNetwork is a mock of BeaconNetwork interface.

func NewMockBeaconNetwork

func NewMockBeaconNetwork(ctrl *gomock.Controller) *MockBeaconNetwork

NewMockBeaconNetwork creates a new mock instance.

func (*MockBeaconNetwork) EXPECT

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

func (*MockBeaconNetwork) GetSlotStartTime

func (m *MockBeaconNetwork) GetSlotStartTime(slot phase0.Slot) time.Time

GetSlotStartTime mocks base method.

func (*MockBeaconNetwork) SlotDurationSec

func (m *MockBeaconNetwork) SlotDurationSec() time.Duration

SlotDurationSec mocks base method.

type MockBeaconNetworkMockRecorder

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

MockBeaconNetworkMockRecorder is the mock recorder for MockBeaconNetwork.

func (*MockBeaconNetworkMockRecorder) GetSlotStartTime

func (mr *MockBeaconNetworkMockRecorder) GetSlotStartTime(slot interface{}) *gomock.Call

GetSlotStartTime indicates an expected call of GetSlotStartTime.

func (*MockBeaconNetworkMockRecorder) SlotDurationSec

func (mr *MockBeaconNetworkMockRecorder) SlotDurationSec() *gomock.Call

SlotDurationSec indicates an expected call of SlotDurationSec.

type MockTimer

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

MockTimer is a mock of Timer interface.

func NewMockTimer

func NewMockTimer(ctrl *gomock.Controller) *MockTimer

NewMockTimer creates a new mock instance.

func (*MockTimer) EXPECT

func (m *MockTimer) EXPECT() *MockTimerMockRecorder

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

func (*MockTimer) TimeoutForRound

func (m *MockTimer) TimeoutForRound(height qbft.Height, round qbft.Round)

TimeoutForRound mocks base method.

type MockTimerMockRecorder

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

MockTimerMockRecorder is the mock recorder for MockTimer.

func (*MockTimerMockRecorder) TimeoutForRound

func (mr *MockTimerMockRecorder) TimeoutForRound(height, round interface{}) *gomock.Call

TimeoutForRound indicates an expected call of TimeoutForRound.

Jump to

Keyboard shortcuts

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