test

package
v1.33.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloneError added in v1.29.0

func CloneError(err error) error

func CloneSerializable added in v1.29.0

func CloneSerializable(serializable *errors.Serializable) *errors.Serializable

func ExpectEqual added in v1.24.0

func ExpectEqual(actualError error, expectedErrors ...error)

func ExpectErrorDetails added in v1.27.0

func ExpectErrorDetails(err error, code string, title string, detail string)

func ExpectErrorJSON added in v1.27.0

func ExpectErrorJSON(err error, actualJSON []byte)

func NewMeta

func NewMeta() interface{}

func NewObjectFromSerializable added in v1.29.0

func NewObjectFromSerializable(serializable *errors.Serializable, objectFormat test.ObjectFormat) map[string]interface{}

func NewSourceParameter

func NewSourceParameter() string

func NewSourcePointer

func NewSourcePointer() string

func RandomError added in v1.29.0

func RandomError() error

func RandomSerializable added in v1.29.0

func RandomSerializable() *errors.Serializable

func WithParameterSource added in v1.24.0

func WithParameterSource(err error, parameter string) error

func WithParameterSourceAndMeta added in v1.24.0

func WithParameterSourceAndMeta(err error, parameter string, meta interface{}) error

func WithPointerSource added in v1.24.0

func WithPointerSource(err error, pointer string) error

func WithPointerSourceAndMeta added in v1.24.0

func WithPointerSourceAndMeta(err error, pointer string, meta interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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