assertions

package
v0.0.0-...-6d4a0cd Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertNoError

func AssertNoError(t *testing.T, err error, msgAndArgs ...interface{})

Standard assert.NoError print only the top wrapper of error

func AssertNotNilAndEqualInt

func AssertNotNilAndEqualInt(t *testing.T, expected int, actual *int)

func AssertNotNilAndEqualString

func AssertNotNilAndEqualString(t *testing.T, expected string, actual *string)

func AssertNotNilAndNotEmptyString

func AssertNotNilAndNotEmptyString(t *testing.T, str *string)

func AssertOperation

func AssertOperation(t *testing.T, expectedState gqlschema.OperationState, expectedType gqlschema.OperationType, expectedRuntimeId string, operation gqlschema.OperationStatus)

func AssertOperationInProgress

func AssertOperationInProgress(t *testing.T, expectedType gqlschema.OperationType, expectedRuntimeId string, operation gqlschema.OperationStatus)

func AssertOperationSucceed

func AssertOperationSucceed(t *testing.T, expectedType gqlschema.OperationType, expectedRuntimeId string, operation gqlschema.OperationStatus)

func RequireNoError

func RequireNoError(t *testing.T, err error, msgAndArgs ...interface{})

Standard require.NoError print only the top wrapper of error

Types

This section is empty.

Jump to

Keyboard shortcuts

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