mock_ttime

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_ttime is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTime

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

MockTime is a mock of Time interface

func NewMockTime

func NewMockTime(ctrl *gomock.Controller) *MockTime

NewMockTime creates a new mock instance

func (*MockTime) After

func (m *MockTime) After(arg0 time.Duration) <-chan time.Time

After mocks base method

func (*MockTime) AfterFunc

func (m *MockTime) AfterFunc(arg0 time.Duration, arg1 func()) ttime.Timer

AfterFunc mocks base method

func (*MockTime) EXPECT

func (m *MockTime) EXPECT() *MockTimeMockRecorder

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

func (*MockTime) Now

func (m *MockTime) Now() time.Time

Now mocks base method

func (*MockTime) Sleep

func (m *MockTime) Sleep(arg0 time.Duration)

Sleep mocks base method

type MockTimeMockRecorder

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

MockTimeMockRecorder is the mock recorder for MockTime

func (*MockTimeMockRecorder) After

func (mr *MockTimeMockRecorder) After(arg0 interface{}) *gomock.Call

After indicates an expected call of After

func (*MockTimeMockRecorder) AfterFunc

func (mr *MockTimeMockRecorder) AfterFunc(arg0, arg1 interface{}) *gomock.Call

AfterFunc indicates an expected call of AfterFunc

func (*MockTimeMockRecorder) Now

func (mr *MockTimeMockRecorder) Now() *gomock.Call

Now indicates an expected call of Now

func (*MockTimeMockRecorder) Sleep

func (mr *MockTimeMockRecorder) Sleep(arg0 interface{}) *gomock.Call

Sleep indicates an expected call of Sleep

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) Reset

func (m *MockTimer) Reset(arg0 time.Duration) bool

Reset mocks base method

func (*MockTimer) Stop

func (m *MockTimer) Stop() bool

Stop mocks base method

type MockTimerMockRecorder

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

MockTimerMockRecorder is the mock recorder for MockTimer

func (*MockTimerMockRecorder) Reset

func (mr *MockTimerMockRecorder) Reset(arg0 interface{}) *gomock.Call

Reset indicates an expected call of Reset

func (*MockTimerMockRecorder) Stop

func (mr *MockTimerMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop

Jump to

Keyboard shortcuts

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