internal

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FormatCall

type FormatCall struct {
	Format       string
	Args         []interface{}
	ResultString string
}

type TestMock

type TestMock struct {
	TestName   string
	SkipGoexit bool

	M         sync.Mutex
	Cleanups  []func()
	Logs      []FormatCall
	Fatals    []FormatCall
	SkipCount int
}

func (*TestMock) CallCleanup

func (t *TestMock) CallCleanup()

func (*TestMock) Cleanup

func (t *TestMock) Cleanup(f func())

func (*TestMock) Fatalf

func (t *TestMock) Fatalf(format string, args ...interface{})

func (*TestMock) Logf

func (t *TestMock) Logf(format string, args ...interface{})

func (*TestMock) Name

func (t *TestMock) Name() string

func (*TestMock) SkipNow

func (t *TestMock) SkipNow()

func (*TestMock) Skipped

func (t *TestMock) Skipped() bool

Jump to

Keyboard shortcuts

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