Versions in this module Expand all Collapse all v1 v1.0.1 Apr 3, 2014 v1.0.0 Feb 25, 2014 Changes in this version + func BodyIs(t *testing.T, r *httptest.ResponseRecorder, expectedBody string) + func CodeIs(t *testing.T, r *httptest.ResponseRecorder, expectedCode int) + func ContentEncodingIsGzip(t *testing.T, r *httptest.ResponseRecorder) + func ContentTypeIsJson(t *testing.T, r *httptest.ResponseRecorder) + func DecodeJsonPayload(r *httptest.ResponseRecorder, v interface{}) error + func HeaderIs(t *testing.T, r *httptest.ResponseRecorder, headerKey, expectedValue string) + func MakeSimpleRequest(method string, urlStr string, payload interface{}) *http.Request + type Recorded struct + Recorder *httptest.ResponseRecorder + T *testing.T + func RunRequest(t *testing.T, handler http.Handler, request *http.Request) *Recorded + func (self *Recorded) BodyIs(expectedBody string) + func (self *Recorded) CodeIs(expectedCode int) + func (self *Recorded) ContentEncodingIsGzip() + func (self *Recorded) ContentTypeIsJson() + func (self *Recorded) DecodeJsonPayload(v interface{}) error + func (self *Recorded) HeaderIs(headerKey, expectedValue string)