mocks

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Testing

type Testing struct {
	mock.Mock
}

Testing is an autogenerated mock type for the Testing type

func NewTesting

func NewTesting(t testing.TB) *Testing

NewTesting creates a new instance of Testing. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*Testing) Cleanup

func (_m *Testing) Cleanup(_a0 func())

Cleanup provides a mock function with given fields: _a0

func (*Testing) Error

func (_m *Testing) Error(args ...interface{})

Error provides a mock function with given fields: args

func (*Testing) Errorf

func (_m *Testing) Errorf(format string, args ...interface{})

Errorf provides a mock function with given fields: format, args

func (*Testing) Fail

func (_m *Testing) Fail()

Fail provides a mock function with given fields:

func (*Testing) FailNow

func (_m *Testing) FailNow()

FailNow provides a mock function with given fields:

func (*Testing) Failed

func (_m *Testing) Failed() bool

Failed provides a mock function with given fields:

func (*Testing) Fatal

func (_m *Testing) Fatal(args ...interface{})

Fatal provides a mock function with given fields: args

func (*Testing) Fatalf

func (_m *Testing) Fatalf(format string, args ...interface{})

Fatalf provides a mock function with given fields: format, args

func (*Testing) Helper

func (_m *Testing) Helper()

Helper provides a mock function with given fields:

func (*Testing) Log

func (_m *Testing) Log(args ...interface{})

Log provides a mock function with given fields: args

func (*Testing) Logf

func (_m *Testing) Logf(format string, args ...interface{})

Logf provides a mock function with given fields: format, args

func (*Testing) Name

func (_m *Testing) Name() string

Name provides a mock function with given fields:

func (*Testing) Setenv

func (_m *Testing) Setenv(key string, value string)

Setenv provides a mock function with given fields: key, value

func (*Testing) Skip

func (_m *Testing) Skip(args ...interface{})

Skip provides a mock function with given fields: args

func (*Testing) SkipNow

func (_m *Testing) SkipNow()

SkipNow provides a mock function with given fields:

func (*Testing) Skipf

func (_m *Testing) Skipf(format string, args ...interface{})

Skipf provides a mock function with given fields: format, args

func (*Testing) Skipped

func (_m *Testing) Skipped() bool

Skipped provides a mock function with given fields:

func (*Testing) TempDir

func (_m *Testing) TempDir() string

TempDir provides a mock function with given fields:

Jump to

Keyboard shortcuts

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