fixtures

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CountersFixture

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

func NewCountersFixture

func NewCountersFixture(counters *ccount.CachedCounters) *CountersFixture

func (*CountersFixture) TestMeasureElapsedTime

func (c *CountersFixture) TestMeasureElapsedTime(t *testing.T)

func (*CountersFixture) TestSimpleCounters

func (c *CountersFixture) TestSimpleCounters(t *testing.T)

type LoggerFixture

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

func NewLoggerFixture

func NewLoggerFixture(logger *clog.CachedLogger) *LoggerFixture

func (*LoggerFixture) TestErrorLogging

func (c *LoggerFixture) TestErrorLogging(t *testing.T)

func (*LoggerFixture) TestLogLevel

func (c *LoggerFixture) TestLogLevel(t *testing.T)

func (*LoggerFixture) TestSimpleLogging

func (c *LoggerFixture) TestSimpleLogging(t *testing.T)

Jump to

Keyboard shortcuts

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