MCPcopy
hub / github.com/grpc/grpc-go / newTest

Function newTest

binarylog/binarylog_end2end_test.go:154–159  ·  view source on GitHub ↗

newTest returns a new test using the provided testing.T and environment. It is returned with default values. Tests should modify it before calling its startServer and clientConn methods.

(t *testing.T)

Source from the content-addressed store, hash-verified

152// environment. It is returned with default values. Tests should
153// modify it before calling its startServer and clientConn methods.
154func newTest(t *testing.T) *test {
155 te := &test{
156 t: t,
157 }
158 return te
159}
160
161type listenerWrapper struct {
162 net.Listener

Callers 1

runRPCsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected