Documentation
¶
Index ¶
- func CacheFlush()
- func Log(logger interface{ ... }, args ...interface{})
- func RecoverGoexit(fn func()) sandbox.RunOutcome
- func RegisterCacheFlush(fn func()) struct{}
- func SetupCacheFlush(tb testing.TB)
- func SymbolicName(T interface{}) string
- type ContactConfig
- type ContactOption
- type RecorderTB
- type SexType
- type Teardown
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 SymbolicName ¶ added in v0.48.0
func SymbolicName(T interface{}) string
Types ¶
type ContactConfig ¶ added in v0.133.0
type ContactConfig struct {
SexType SexType
}
func ToContactConfig ¶ added in v0.133.0
func ToContactConfig(opts ...ContactOption) ContactConfig
type ContactOption ¶ added in v0.133.0
type ContactOption interface {
// contains filtered or unexported methods
}
type RecorderTB ¶ added in v0.19.0
type RecorderTB = doubles.RecorderTB
Click to show internal directories.
Click to hide internal directories.