Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RoundTripperQueue ¶
func RoundTripperQueue(t *testing.T, queue []RoundTripFunc) http.RoundTripper
Types ¶
type AssertFailure ¶
type AssertFailure struct { Expected interface{} `json:"expected"` Actual interface{} `json:"actual"` }
type ExpectedTestRequest ¶
type RoundTripFunc ¶
func ServeAndValidate ¶
func ServeAndValidate(t *testing.T, r TestResponse, expected ExpectedTestRequest) RoundTripFunc
type RoundTripper ¶
type TestResponse ¶
type TestResponseFile ¶
func (*TestResponseFile) CreateResponse ¶
func (f *TestResponseFile) CreateResponse() (*http.Response, error)
Click to show internal directories.
Click to hide internal directories.