Documentation ¶
Index ¶
- func ContainsExpectedStrings(testStrings ...string) bool
- func SimpleDelete(uri string) error
- func SimpleGet(uri string) (string, error)
- func SimplePatch(uri string, jsonBytes []byte) error
- func SimplePost(uri string, jsonBytes []byte) (string, error)
- func SimplePut(uri string, jsonBytes []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsExpectedStrings ¶
ContainsExpectedStrings - expects the first half of the strings to contain the expected strings and the second half to be those that are being compared against. Returns true if all the strings are found and false if any mis-matches are found.
The order does not matter, only that each validation string is found and paired. Example: "this", "that", "other", "that", "other", "this" - will return true because each 2nd half of the strings is found in the first half "this", "that", "other", "that", "this", "this" - will return false because one of the strings was not found
func SimpleDelete ¶
SimpleDelete - Tests an endpoint and returns an error if unsuccessful
func SimplePatch ¶
SimplePatch - Tests an endpoint and returns an error if unsuccessful
func SimplePost ¶
SimplePost - Returns the resource URI of a newly created resource per the location header
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.