mocks

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2020 License: MPL-2.0, MPL-2.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 Clock

type Clock struct {
	mock.Mock
}

Clock is an autogenerated mock type for the Clock type

func (*Clock) NewTimer

func (_m *Clock) NewTimer(_a0 time.Duration) cagetime.Timer

NewTimer provides a mock function with given fields: _a0

func (*Clock) Now

func (_m *Clock) Now() time.Time

Now provides a mock function with given fields:

type Timer

type Timer struct {
	mock.Mock
}

Timer is an autogenerated mock type for the Timer type

func (*Timer) C

func (_m *Timer) C() <-chan time.Time

C provides a mock function with given fields:

func (*Timer) Reset

func (_m *Timer) Reset(_a0 time.Duration) bool

Reset provides a mock function with given fields: _a0

func (*Timer) Stop

func (_m *Timer) Stop() bool

Stop provides a mock function with given fields:

Jump to

Keyboard shortcuts

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