fixtures

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 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 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