ts

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	mock.Mock
}

Manager is an autogenerated mock type for the Manager type

func NewManager

func NewManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *Manager

NewManager creates a new instance of Manager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Manager) EXPECT

func (_m *Manager) EXPECT() *Manager_Expecter

func (*Manager) Get

func (_m *Manager) Get() time.Time

Get provides a mock function with given fields:

func (*Manager) GetLocation

func (_m *Manager) GetLocation() *time.Location

GetLocation provides a mock function with given fields:

func (*Manager) GetPtr

func (_m *Manager) GetPtr() *time.Time

GetPtr provides a mock function with given fields:

func (*Manager) Now

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

Now provides a mock function with given fields:

func (*Manager) NowPtr

func (_m *Manager) NowPtr() *time.Time

NowPtr provides a mock function with given fields:

func (*Manager) Renew

func (_m *Manager) Renew() ts.Manager

Renew provides a mock function with given fields:

type Manager_Expecter

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

func (*Manager_Expecter) Get

Get is a helper method to define mock.On call

func (*Manager_Expecter) GetLocation

func (_e *Manager_Expecter) GetLocation() *Manager_GetLocation_Call

GetLocation is a helper method to define mock.On call

func (*Manager_Expecter) GetPtr

func (_e *Manager_Expecter) GetPtr() *Manager_GetPtr_Call

GetPtr is a helper method to define mock.On call

func (*Manager_Expecter) Now

Now is a helper method to define mock.On call

func (*Manager_Expecter) NowPtr

func (_e *Manager_Expecter) NowPtr() *Manager_NowPtr_Call

NowPtr is a helper method to define mock.On call

func (*Manager_Expecter) Renew

func (_e *Manager_Expecter) Renew() *Manager_Renew_Call

Renew is a helper method to define mock.On call

type Manager_GetLocation_Call

type Manager_GetLocation_Call struct {
	*mock.Call
}

Manager_GetLocation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLocation'

func (*Manager_GetLocation_Call) Return

func (*Manager_GetLocation_Call) Run

func (*Manager_GetLocation_Call) RunAndReturn

func (_c *Manager_GetLocation_Call) RunAndReturn(run func() *time.Location) *Manager_GetLocation_Call

type Manager_GetPtr_Call

type Manager_GetPtr_Call struct {
	*mock.Call
}

Manager_GetPtr_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPtr'

func (*Manager_GetPtr_Call) Return

func (*Manager_GetPtr_Call) Run

func (_c *Manager_GetPtr_Call) Run(run func()) *Manager_GetPtr_Call

func (*Manager_GetPtr_Call) RunAndReturn

func (_c *Manager_GetPtr_Call) RunAndReturn(run func() *time.Time) *Manager_GetPtr_Call

type Manager_Get_Call

type Manager_Get_Call struct {
	*mock.Call
}

Manager_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*Manager_Get_Call) Return

func (_c *Manager_Get_Call) Return(_a0 time.Time) *Manager_Get_Call

func (*Manager_Get_Call) Run

func (_c *Manager_Get_Call) Run(run func()) *Manager_Get_Call

func (*Manager_Get_Call) RunAndReturn

func (_c *Manager_Get_Call) RunAndReturn(run func() time.Time) *Manager_Get_Call

type Manager_NowPtr_Call

type Manager_NowPtr_Call struct {
	*mock.Call
}

Manager_NowPtr_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NowPtr'

func (*Manager_NowPtr_Call) Return

func (*Manager_NowPtr_Call) Run

func (_c *Manager_NowPtr_Call) Run(run func()) *Manager_NowPtr_Call

func (*Manager_NowPtr_Call) RunAndReturn

func (_c *Manager_NowPtr_Call) RunAndReturn(run func() *time.Time) *Manager_NowPtr_Call

type Manager_Now_Call

type Manager_Now_Call struct {
	*mock.Call
}

Manager_Now_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Now'

func (*Manager_Now_Call) Return

func (_c *Manager_Now_Call) Return(_a0 time.Time) *Manager_Now_Call

func (*Manager_Now_Call) Run

func (_c *Manager_Now_Call) Run(run func()) *Manager_Now_Call

func (*Manager_Now_Call) RunAndReturn

func (_c *Manager_Now_Call) RunAndReturn(run func() time.Time) *Manager_Now_Call

type Manager_Renew_Call

type Manager_Renew_Call struct {
	*mock.Call
}

Manager_Renew_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Renew'

func (*Manager_Renew_Call) Return

func (*Manager_Renew_Call) Run

func (_c *Manager_Renew_Call) Run(run func()) *Manager_Renew_Call

func (*Manager_Renew_Call) RunAndReturn

func (_c *Manager_Renew_Call) RunAndReturn(run func() ts.Manager) *Manager_Renew_Call

Jump to

Keyboard shortcuts

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