mock_time

package
v0.0.0-...-fe50809 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_time is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTimeHelper

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

MockTimeHelper is a mock of TimeHelper interface.

func NewMockTimeHelper

func NewMockTimeHelper(ctrl *gomock.Controller) *MockTimeHelper

NewMockTimeHelper creates a new mock instance.

func (*MockTimeHelper) EXPECT

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

func (*MockTimeHelper) SleepOrWaitForContextGetCancelled

func (m *MockTimeHelper) SleepOrWaitForContextGetCancelled(ctx context.Context, delay time.Duration)

SleepOrWaitForContextGetCancelled mocks base method.

func (*MockTimeHelper) WaitUntilCancelled

func (m *MockTimeHelper) WaitUntilCancelled(ctx context.Context)

WaitUntilCancelled mocks base method.

type MockTimeHelperMockRecorder

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

MockTimeHelperMockRecorder is the mock recorder for MockTimeHelper.

func (*MockTimeHelperMockRecorder) SleepOrWaitForContextGetCancelled

func (mr *MockTimeHelperMockRecorder) SleepOrWaitForContextGetCancelled(ctx, delay interface{}) *gomock.Call

SleepOrWaitForContextGetCancelled indicates an expected call of SleepOrWaitForContextGetCancelled.

func (*MockTimeHelperMockRecorder) WaitUntilCancelled

func (mr *MockTimeHelperMockRecorder) WaitUntilCancelled(ctx interface{}) *gomock.Call

WaitUntilCancelled indicates an expected call of WaitUntilCancelled.

Jump to

Keyboard shortcuts

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