internal

package
v0.0.0-...-3e6e175 Latest Latest
Warning

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

Go to latest
Published: May 4, 2023 License: EPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertEqual

func AssertEqual(t *testing.T, expected interface{}, actual interface{})

AssertEqual asserts that the expected and actual values are deeply equal.

func AssertError

func AssertError(t *testing.T, expected error, actual error)

AssertError asserts that the expected and actual errors are the same.

func AssertFalse

func AssertFalse(t *testing.T, actual bool)

AssertFalse asserts that the actual value is false.

func AssertNil

func AssertNil(t *testing.T, value interface{})

AssertNil asserts that a value is nil.

func AssertNotNil

func AssertNotNil(t *testing.T, value interface{})

AssertNotNil asserts that a value is not nil.

func AssertTrue

func AssertTrue(t *testing.T, actual bool)

AssertTrue asserts that the actual value is true.

func AssertWithTimeout

func AssertWithTimeout(t *testing.T, waitGroup *sync.WaitGroup, testTimeout time.Duration)

AssertWithTimeout asserts that an operation is completed within a certain period of time.

func IsNil

func IsNil(v interface{}) bool

IsNil checks if a value is nil.

Types

This section is empty.

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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