utils

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: May 7, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertEqual

func AssertEqual(testVal interface{}, expectedVal interface{}, t *testing.T, err string)

func ContainsString

func ContainsString(s []string, e string) bool

ContainsString checks whether a string is present in a slice

func GetAuthResponse

func GetAuthResponse(expiry int) []byte

func GetQueryFromFile added in v1.7.0

func GetQueryFromFile(fileName string) string

func RaiseIfError

func RaiseIfError(t *testing.T, err error)

func RunInMemoryAndStream

func RunInMemoryAndStream(t *testing.T, testCase func(t *testing.T, ctx context.Context))

RunInMemoryAndStream runs a test case with both in memory result and streamed result

Types

This section is empty.

Jump to

Keyboard shortcuts

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