testclockz

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Helper

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

Helper is a test helper for Clock.

func (*Helper) AfterSuite

func (f *Helper) AfterSuite(_ context.Context, _ *testing.T)

AfterSuite implements fixturez.AfterSuite.

func (*Helper) BeforeSuite

func (f *Helper) BeforeSuite(ctx context.Context, _ *testing.T) context.Context

BeforeSuite implements fixturez.BeforeSuite.

type MockHelper

type MockHelper struct {
	Mock *clock.Mock
}

MockHelper is a test helper for Clock.

func (*MockHelper) AfterTest

func (f *MockHelper) AfterTest(_ context.Context, _ *testing.T)

AfterTest implements fixturez.AfterTest.

func (*MockHelper) BeforeTest

func (f *MockHelper) BeforeTest(ctx context.Context, _ *testing.T) context.Context

BeforeTest implements fixturez.BeforeTest.

Jump to

Keyboard shortcuts

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