()
| 2774 | } |
| 2775 | |
| 2776 | func newTestClientStream() *ClientStream { |
| 2777 | return &ClientStream{ |
| 2778 | Stream: Stream{ |
| 2779 | buf: recvBuffer{ |
| 2780 | c: make(chan recvMsg), |
| 2781 | }, |
| 2782 | }, |
| 2783 | done: make(chan struct{}), |
| 2784 | headerChan: make(chan struct{}), |
| 2785 | } |
| 2786 | } |
| 2787 | |
| 2788 | func newTestHTTP2Client(cs *ClientStream) *http2Client { |
| 2789 | return &http2Client{ |
no outgoing calls
no test coverage detected