Versions in this module Expand all Collapse all v9 v9.1.0 Jan 26, 2024 v9.0.0 Oct 27, 2023 Changes in this version + func AssertBackendErrorCode(testName string, bslice *[]byte, errCode int, t *testing.T) + func AssertRoute(method, route string, code int, t *testing.T) (*[]byte, bool) + func AssertRouteMultipleArgs(method string, route string, body *bytes.Buffer, code int, signedToken *string, ...) (*[]byte, bool) + func AssertRouteWithBody(method, route string, body *bytes.Buffer, code int, t *testing.T) (*[]byte, bool) + func CreateTmpFolderWithContents(folderName string, files []FileDesc) (string, error) + func GetIndentedTraceToTest() string + func InvalidRouteTestHelper(t *testing.T) + func OptionsTestHelper(uris []string, routenames []string, t *testing.T) + func SendMultipartMethod(testName string, t *testing.T, method, uri string, jwt *string, ...) (respCode int, bslice *[]byte, ok bool) + func SendMultipartPOST(testName string, t *testing.T, uri string, jwt *string, ...) (respCode int, bslice *[]byte, ok bool) + func SetupTest(_router http.Handler) + type AssertResponse struct + BodyAsBytes *[]byte + Ok bool + RespRecorder *httptest.ResponseRecorder + func AssertRouteMultipleArgsStruct(args RequestArgs, expCode int, contentType string, t *testing.T) *AssertResponse + type FileDesc struct + Contents string + Path string + type RequestArgs struct + Body *bytes.Buffer + Headers map[string]string + Method string + Route string + SignedToken *string Other modules containing this package github.com/gazebo-web/gz-go/v10 github.com/gazebo-web/gz-go/v7 github.com/gazebo-web/gz-go/v8