testutil

package
v1.0.0-...-1f0868f Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2019 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type T

type T struct {
	*testing.T
	// contains filtered or unexported fields
}

func Wrap

func Wrap(t *testing.T) *T

func (*T) AssertContains

func (t *T) AssertContains(msg, needle string)

func (*T) AssertError

func (t *T) AssertError(err error, msg string)

func (*T) AssertNoError

func (t *T) AssertNoError(err error)

func (*T) Context

func (t *T) Context(name string, val string)

func (*T) Run

func (t *T) Run(name string, f func(*T)) bool

func (*T) Runp

func (t *T) Runp(name string, f func(*T)) bool

Jump to

Keyboard shortcuts

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