Documentation
¶
Index ¶
- func AssertStatus(t *testing.T, resp *http.Response, want int)
- func MakePOSTMultipart(t *testing.T, ts *httptest.Server, path string, fields map[string]string, ...) *http.Response
- func MakeRequest(t *testing.T, ts *httptest.Server, method string, path string, ...) *http.Response
- func ReadBody(t *testing.T, resp *http.Response) string
- func SetupTestServer(t *testing.T, mountRoutes func(*http.ServeMux)) *httptest.Server
- type FileData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakePOSTMultipart ¶
func MakeRequest ¶
Types ¶
Source Files
¶
- internal.go
Click to show internal directories.
Click to hide internal directories.