internal

package
v0.115.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheFlush added in v0.34.2

func CacheFlush()

func Log added in v0.70.1

func Log(logger interface {
	Logf(format string, args ...interface{})
}, args ...interface{})

func RecoverGoexit added in v0.93.0

func RecoverGoexit(fn func()) sandbox.RunOutcome

RecoverGoexit helps overcome the testing.TB#FailNow's behaviour where on failure the goroutine exits to finish earlier.

func RegisterCacheFlush added in v0.34.2

func RegisterCacheFlush(fn func()) struct{}

func SetupCacheFlush added in v0.34.2

func SetupCacheFlush(tb testing.TB)

func SymbolicName added in v0.48.0

func SymbolicName(T interface{}) string

Types

type PersonConfig added in v0.114.0

type PersonConfig struct {
	SexType SexType
}

func ToPersonConfig added in v0.114.0

func ToPersonConfig(opts ...PersonOption) PersonConfig

type PersonOption added in v0.114.0

type PersonOption interface {
	// contains filtered or unexported methods
}

type RecorderTB added in v0.19.0

type RecorderTB = doubles.RecorderTB

type SexType added in v0.114.0

type SexType int
const (
	SexTypeMale SexType
	SexTypeFemale
	SexTypeAny
)

type Teardown added in v0.38.0

type Teardown = teardown.Teardown

Directories

Path Synopsis
example

Jump to

Keyboard shortcuts

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