testutil

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestResolve

func TestResolve(
	t *testing.T,
	newProm PromiseMaker,
	runProm PromiseTestRunner,
	resolveAsync bool,
)

Types

type PromiseMaker

type PromiseMaker func(*testing.T, promise.Func[uint]) promise.Promise[uint]

type PromiseResolver

type PromiseResolver func(*testing.T, promise.Promise[uint]) promise.Result[uint]

type PromiseTestRunner

type PromiseTestRunner func(*testing.T, promise.Func[uint], promise.Promise[uint])

type TestCase

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

Jump to

Keyboard shortcuts

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