mock

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2021 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrFailNow

type ErrFailNow struct{}

type T

type T struct {
	// contains filtered or unexported fields
}

func NewT

func NewT() *T

func (*T) CheckFailed

func (m *T) CheckFailed(t *testing.T, fatal bool)

func (*T) CheckSucceeded

func (m *T) CheckSucceeded(t *testing.T)

func (*T) Errorf

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

func (*T) Fail

func (m *T) Fail()

func (*T) FailNow

func (m *T) FailNow()

func (*T) Fatalf

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

func (*T) Helper

func (m *T) Helper()

func (*T) Logf

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

func (*T) Print

func (m *T) Print()

func (*T) Run

func (*T) Run(name string, f func(*T))

func (*T) Text

func (m *T) Text() string

Jump to

Keyboard shortcuts

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