test

package
v0.27.2 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2021 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTempfile

func CreateTempfile(b []byte, t *testing.T) *os.File

func DeleteTempfile

func DeleteTempfile(f *os.File, t *testing.T)

func WaitForContents added in v0.16.0

func WaitForContents(t *testing.T, d time.Duration, p, c string)

Types

type TestingTB added in v0.25.2

type TestingTB struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*TestingTB) Cleanup added in v0.25.2

func (t *TestingTB) Cleanup(f func())

func (*TestingTB) DoCleanup added in v0.25.2

func (t *TestingTB) DoCleanup()

func (*TestingTB) Failed added in v0.25.2

func (*TestingTB) Failed() bool

func (*TestingTB) Logf added in v0.25.2

func (*TestingTB) Logf(string, ...interface{})

func (*TestingTB) Name added in v0.25.2

func (*TestingTB) Name() string

Jump to

Keyboard shortcuts

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