internal

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InGoroutine added in v0.23.0

func InGoroutine(fn func())

Types

type RecorderTB added in v0.19.0

type RecorderTB struct {
	testing.TB
	IsFailed bool

	Config struct {
		Passthrough bool
	}
	// contains filtered or unexported fields
}

func (*RecorderTB) Cleanup added in v0.19.0

func (tb *RecorderTB) Cleanup(f func())

func (*RecorderTB) CleanupNow added in v0.23.0

func (tb *RecorderTB) CleanupNow()

func (*RecorderTB) Cleanups added in v0.23.0

func (tb *RecorderTB) Cleanups() []*recorderTBEvent

func (*RecorderTB) Error added in v0.19.0

func (tb *RecorderTB) Error(args ...interface{})

func (*RecorderTB) Errorf added in v0.19.0

func (tb *RecorderTB) Errorf(format string, args ...interface{})

func (*RecorderTB) Fail added in v0.19.0

func (tb *RecorderTB) Fail()

func (*RecorderTB) FailNow added in v0.19.0

func (tb *RecorderTB) FailNow()

func (*RecorderTB) Failed added in v0.19.0

func (tb *RecorderTB) Failed() bool

func (*RecorderTB) Fatal added in v0.19.0

func (tb *RecorderTB) Fatal(args ...interface{})

func (*RecorderTB) Fatalf added in v0.19.0

func (tb *RecorderTB) Fatalf(format string, args ...interface{})

func (*RecorderTB) Helper added in v0.19.0

func (tb *RecorderTB) Helper()

func (*RecorderTB) Log added in v0.19.0

func (tb *RecorderTB) Log(args ...interface{})

func (*RecorderTB) Logf added in v0.19.0

func (tb *RecorderTB) Logf(format string, args ...interface{})

func (*RecorderTB) Record added in v0.19.0

func (tb *RecorderTB) Record(action func(tb testing.TB)) *recorderTBEvent

func (*RecorderTB) Replay added in v0.19.0

func (tb *RecorderTB) Replay(oth testing.TB)

func (*RecorderTB) ReplayCleanup added in v0.19.0

func (tb *RecorderTB) ReplayCleanup(oth testing.TB)

func (*RecorderTB) Run added in v0.23.0

func (tb *RecorderTB) Run(name string, blk func(testing.TB)) bool

type StubTB

type StubTB struct {
	testing.TB
	IsFailed bool
}

func (*StubTB) Cleanup

func (m *StubTB) Cleanup(f func())

func (*StubTB) Error

func (m *StubTB) Error(args ...interface{})

func (*StubTB) Errorf

func (m *StubTB) Errorf(format string, args ...interface{})

func (*StubTB) Fail

func (m *StubTB) Fail()

func (*StubTB) FailNow

func (m *StubTB) FailNow()

func (*StubTB) Failed

func (m *StubTB) Failed() bool

func (*StubTB) Fatal

func (m *StubTB) Fatal(args ...interface{})

func (*StubTB) Fatalf

func (m *StubTB) Fatalf(format string, args ...interface{})

func (*StubTB) Helper

func (m *StubTB) Helper()

func (*StubTB) Log

func (m *StubTB) Log(args ...interface{})

func (*StubTB) Logf

func (m *StubTB) Logf(format string, args ...interface{})

func (*StubTB) Name

func (m *StubTB) Name() string

func (*StubTB) Skip

func (m *StubTB) Skip(args ...interface{})

func (*StubTB) SkipNow

func (m *StubTB) SkipNow()

func (*StubTB) Skipf

func (m *StubTB) Skipf(format string, args ...interface{})

func (*StubTB) Skipped

func (m *StubTB) Skipped() bool

func (*StubTB) TempDir

func (m *StubTB) TempDir() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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