mocks

package
v0.0.0-...-41ef176 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertArrayContains

func AssertArrayContains[T any](t *testing.T, collection []T, finder func(value T) bool)

func AssertCountEqual

func AssertCountEqual[T any](t *testing.T, value []T, expectedCount int)

func AssertDefault

func AssertDefault[T comparable](t *testing.T, value T)

func AssertEquals

func AssertEquals[T comparable](t *testing.T, actual T, expected T)

func AssertEqualsNillable

func AssertEqualsNillable[T comparable](t *testing.T, actual *T, expected *T)

func AssertNotDefault

func AssertNotDefault[T comparable](t *testing.T, value T)

func CompareNillable

func CompareNillable[T comparable](left *T, right *T) bool

func DropDatabase

func DropDatabase(dbName string)

func GetDatabase

func GetDatabase() (gotabase.Connector, string)

func PanicOnErr

func PanicOnErr(err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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