testutil

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2016 License: Apache-2.0 Imports: 7 Imported by: 58

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendAll

func AppendAll(content ...[]byte) []byte

func AssertContains

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

func AssertContainsAll

func AssertContainsAll(t *testing.T, sliceActual interface{}, sliceExpected interface{})

func AssertEquals

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

func AssertError

func AssertError(t *testing.T, err error, message string)

func AssertNil

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

func AssertNoError

func AssertNoError(t *testing.T, err error, message string)

func AssertNotEquals

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

func AssertNotNil

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

func AssertPanic

func AssertPanic(t *testing.T, msg string)

func AssertSame

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

func ComputeCryptoHash

func ComputeCryptoHash(content ...[]byte) []byte

func GenerateUUID

func GenerateUUID(t *testing.T) string

func SetupTestConfig

func SetupTestConfig()

Types

This section is empty.

Jump to

Keyboard shortcuts

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