Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GZIPReader ¶ added in v0.23.1
GZIPReader is a helper for gzipping the contents and returning the reader.
func NewLogger ¶ added in v0.23.1
NewLogger creates a new logger that integrates with the testing.T logging.
Types ¶
type WantFn ¶ added in v0.23.1
WantFn defines the assertions for a response.
func WantErrs ¶ added in v0.23.1
WantErrs compares verifies the errors received from teh response match the desired.
func WantFileMatch ¶ added in v0.23.1
WantFileMatch verifies the contents of the response body are a fdk.File type and have matching contents.
func WantGzipFileMatch ¶ added in v0.23.1
WantGzipFileMatch compares the wanted file (if encoded will decode) and then compare it with the decoded returned file.
func WantNoErrs ¶ added in v0.23.1
func WantNoErrs() WantFn
WantNoErrs verifies there are no errors returned.
Click to show internal directories.
Click to hide internal directories.