Home
last modified time | relevance | path

Searched defs:cancelTest (Results 1 – 1 of 1) sorted by relevance

/prebuilts/go/linux-x86/src/net/http/
Dtransport_test.go2559 type cancelTest struct { struct
2560 mode testMode
2561 newReq func(req *Request) *Request // prepare the request to cancel
2562 cancel func(tr *Transport, req *Request) // cancel the request
2563 checkErr func(when string, err error) // verify the expected error
2567 func runCancelTestTransport(t *testing.T, mode testMode, f func(t *testing.T, test cancelTest)) {
2587 func runCancelTestChannel(t *testing.T, mode testMode, f func(t *testing.T, test cancelTest)) {
2610 func runCancelTestContext(t *testing.T, mode testMode, f func(t *testing.T, test cancelTest)) {
2628 func runCancelTest(t *testing.T, f func(t *testing.T, test cancelTest), opts ...any) {
2647 func testTransportCancelRequest(t *testing.T, test cancelTest) {
[all …]