Documentation ¶
Index ¶
- type TestWrapper
- func (t *TestWrapper) Error(args ...interface{})
- func (t *TestWrapper) Errorf(format string, args ...interface{})
- func (t *TestWrapper) Fail()
- func (t *TestWrapper) FailNow()
- func (t *TestWrapper) Failed() bool
- func (t *TestWrapper) Fatal(args ...interface{})
- func (t *TestWrapper) Fatalf(format string, args ...interface{})
- func (t *TestWrapper) Helper()
- func (t *TestWrapper) Log(args ...interface{})
- func (t *TestWrapper) Logf(format string, args ...interface{})
- func (t *TestWrapper) Name() string
- func (t *TestWrapper) Skip(args ...interface{})
- func (t *TestWrapper) SkipNow()
- func (t *TestWrapper) Skipf(format string, args ...interface{})
- func (t *TestWrapper) Skipped() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestWrapper ¶
TestWrapper is a nil-safe implementation of *testing.TB. You can use it the same as *testing.T or *testing.B even if {T,B} are empty. For implementations that cannot be wrapped, check the docs.
func (*TestWrapper) Error ¶
func (t *TestWrapper) Error(args ...interface{})
func (*TestWrapper) Errorf ¶
func (t *TestWrapper) Errorf(format string, args ...interface{})
func (*TestWrapper) Fail ¶
func (t *TestWrapper) Fail()
func (*TestWrapper) FailNow ¶
func (t *TestWrapper) FailNow()
func (*TestWrapper) Failed ¶
func (t *TestWrapper) Failed() bool
Returns false by default if T is not set.
func (*TestWrapper) Fatal ¶
func (t *TestWrapper) Fatal(args ...interface{})
func (*TestWrapper) Fatalf ¶
func (t *TestWrapper) Fatalf(format string, args ...interface{})
func (*TestWrapper) Helper ¶
func (t *TestWrapper) Helper()
func (*TestWrapper) Log ¶
func (t *TestWrapper) Log(args ...interface{})
func (*TestWrapper) Logf ¶
func (t *TestWrapper) Logf(format string, args ...interface{})
func (*TestWrapper) Skip ¶
func (t *TestWrapper) Skip(args ...interface{})
func (*TestWrapper) Skipf ¶
func (t *TestWrapper) Skipf(format string, args ...interface{})
Click to show internal directories.
Click to hide internal directories.