Documentation
¶
Index ¶
- func InGoroutine(fn func())
- type RecorderTB
- func (rtb *RecorderTB) Cleanup(f func())
- func (rtb *RecorderTB) CleanupNow()
- func (rtb *RecorderTB) Error(args ...interface{})
- func (rtb *RecorderTB) Errorf(format string, args ...interface{})
- func (rtb *RecorderTB) Fail()
- func (rtb *RecorderTB) FailNow()
- func (rtb *RecorderTB) Failed() bool
- func (rtb *RecorderTB) Fatal(args ...interface{})
- func (rtb *RecorderTB) Fatalf(format string, args ...interface{})
- func (rtb *RecorderTB) Forward()
- func (rtb *RecorderTB) Helper()
- func (rtb *RecorderTB) Log(args ...interface{})
- func (rtb *RecorderTB) Logf(format string, args ...interface{})
- func (rtb *RecorderTB) Record(blk func(r *record))
- func (rtb *RecorderTB) Run(_ string, blk func(testing.TB)) bool
- type StubTB
- func (m *StubTB) Cleanup(f func())
- func (m *StubTB) Error(args ...interface{})
- func (m *StubTB) Errorf(format string, args ...interface{})
- func (m *StubTB) Fail()
- func (m *StubTB) FailNow()
- func (m *StubTB) Failed() bool
- func (m *StubTB) Fatal(args ...interface{})
- func (m *StubTB) Fatalf(format string, args ...interface{})
- func (m *StubTB) Finish()
- func (m *StubTB) Helper()
- func (m *StubTB) Log(args ...interface{})
- func (m *StubTB) Logf(format string, args ...interface{})
- func (m *StubTB) Name() string
- func (m *StubTB) Skip(args ...interface{})
- func (m *StubTB) SkipNow()
- func (m *StubTB) Skipf(format string, args ...interface{})
- func (m *StubTB) Skipped() bool
- func (m *StubTB) TempDir() string
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 (rtb *RecorderTB) Cleanup(f func())
func (*RecorderTB) CleanupNow ¶ added in v0.23.0
func (rtb *RecorderTB) CleanupNow()
func (*RecorderTB) Error ¶ added in v0.19.0
func (rtb *RecorderTB) Error(args ...interface{})
func (*RecorderTB) Errorf ¶ added in v0.19.0
func (rtb *RecorderTB) Errorf(format string, args ...interface{})
func (*RecorderTB) Fail ¶ added in v0.19.0
func (rtb *RecorderTB) Fail()
func (*RecorderTB) FailNow ¶ added in v0.19.0
func (rtb *RecorderTB) FailNow()
func (*RecorderTB) Failed ¶ added in v0.19.0
func (rtb *RecorderTB) Failed() bool
func (*RecorderTB) Fatal ¶ added in v0.19.0
func (rtb *RecorderTB) Fatal(args ...interface{})
func (*RecorderTB) Fatalf ¶ added in v0.19.0
func (rtb *RecorderTB) Fatalf(format string, args ...interface{})
func (*RecorderTB) Forward ¶ added in v0.23.1
func (rtb *RecorderTB) Forward()
func (*RecorderTB) Helper ¶ added in v0.19.0
func (rtb *RecorderTB) Helper()
func (*RecorderTB) Log ¶ added in v0.19.0
func (rtb *RecorderTB) Log(args ...interface{})
func (*RecorderTB) Logf ¶ added in v0.19.0
func (rtb *RecorderTB) Logf(format string, args ...interface{})
func (*RecorderTB) Record ¶ added in v0.19.0
func (rtb *RecorderTB) Record(blk func(r *record))
Click to show internal directories.
Click to hide internal directories.