testutil

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivityError

type ActivityError struct {
	Message        string // Text message.
	MessageWindows string // Test message specific to the Windows platform.
	NRE            bool   // Process as a NRE error.
}

ActivityError describes an error assertion, where its zero value is a non-error. Its Assert method is used to assert against a given error value.

func (ActivityError) Assert

func (ae ActivityError) Assert(t *testing.T, err error)

func (ActivityError) AssertNilError

func (ae ActivityError) AssertNilError(t *testing.T, err error)

func (ActivityError) IsZero

func (ae ActivityError) IsZero() bool

Jump to

Keyboard shortcuts

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