testutils

package
v1.0.7-0...-053f393 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PingOneClientInfo *connector.PingOneClientInfo
)

Functions

func CheckExpectedError

func CheckExpectedError(t *testing.T, err error, errMessagePattern *string)

func GetEnvironmentID

func GetEnvironmentID() string

func GetPingFederateClientInfo

func GetPingFederateClientInfo(t *testing.T) *connector.PingFederateClientInfo

func GetPingOneClientInfo

func GetPingOneClientInfo(t *testing.T) *connector.PingOneClientInfo

Utility method to initialize a PingOne SDK client for testing

func ValidateImportBlocks

func ValidateImportBlocks(t *testing.T, resource connector.ExportableResource, expectedImportBlocks *[]connector.ImportBlock)

func WriteStringToPipe

func WriteStringToPipe(str string, t *testing.T) (reader *os.File)

Get os.File with string written to it. The caller is responsible for closing the file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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