testing

package
v1.127.1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Counter = 0

Functions

func DoHTTPClientTest

func DoHTTPClientTest(t *testing.T, mustSuccess bool, testName, method, url, contentType string, body []byte) *http.Response

func ResponseBodyToJSON

func ResponseBodyToJSON(t *testing.T, r *http.Response) (utils.JSON, error)

func Style0HTTPClientTest

func Style0HTTPClientTest(t *testing.T, mustSuccess bool, testName, method, url, contentType string, body []byte) (r utils.JSON)

func Style1HTTPClientTest

func Style1HTTPClientTest(t *testing.T, mustSuccess bool, testName, method, url, contentType string, body []byte) (r utils.JSON)

func THTTPClient

func THTTPClient(t *testing.T, mustStatusCode int, method string, url string, contentType string, body string) (responseBodyAsString string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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