testutilities

package
v0.0.0-...-aace954 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equals

func Equals(thing1, thing2 interface{}) equalityCheckResult

Equals is a deep equals check against two things passed in as parameters

func PerformErrorCheck

func PerformErrorCheck(t *testing.T, testCase BaseTestCase, err errors.RichError)

func ValidateExpectedAppEqualToStoredAppWithAppService

func ValidateExpectedAppEqualToStoredAppWithAppService(t *testing.T, logger *zap.Logger, appService services.AppService, expectedApp models.App)

func ValidateExpectedScopeEqualToStoredScopeWithAppService

func ValidateExpectedScopeEqualToStoredScopeWithAppService(t *testing.T, logger *zap.Logger, appService services.AppService, expectedScope models.Scope)

Types

type BaseTestCase

type BaseTestCase struct {
	ExpectedError     bool
	ExpectedErrorCode string
	Name              string
}

Jump to

Keyboard shortcuts

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