(t *testing.T, port int, ht hType)
| 588 | } |
| 589 | |
| 590 | func setUp(t *testing.T, port int, ht hType) (*server, *http2Client, func()) { |
| 591 | copts := ConnectOptions{ |
| 592 | BufferPool: mem.DefaultBufferPool(), |
| 593 | } |
| 594 | return setUpWithOptions(t, port, &ServerConfig{BufferPool: mem.DefaultBufferPool()}, ht, copts) |
| 595 | } |
| 596 | |
| 597 | func setUpWithOptions(t *testing.T, port int, sc *ServerConfig, ht hType, copts ConnectOptions) (*server, *http2Client, func()) { |
| 598 | server := setUpServerOnly(t, port, sc, ht) |
no test coverage detected