test

package
v0.0.0-...-77c115d Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 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

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

Types

type TestingTB

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

func (*TestingTB) Cleanup

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

func (*TestingTB) DoCleanup

func (t *TestingTB) DoCleanup()

func (*TestingTB) Failed

func (*TestingTB) Failed() bool

func (*TestingTB) Logf

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

func (*TestingTB) Name

func (*TestingTB) Name() string

Jump to

Keyboard shortcuts

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