MCPcopy Index your code
hub / github.com/codegangsta/gin / Test_NewProxy

Function Test_NewProxy

lib/proxy_test.go:12–18  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

10)
11
12func Test_NewProxy(t *testing.T) {
13 builder := NewMockBuilder()
14 runner := NewMockRunner()
15 proxy := gin.NewProxy(builder, runner)
16
17 expect(t, proxy != nil, true)
18}
19
20func Test_Proxy_Run(t *testing.T) {
21 builder := NewMockBuilder()

Callers

nothing calls this directly

Calls 3

NewMockBuilderFunction · 0.85
NewMockRunnerFunction · 0.85
expectFunction · 0.85

Tested by

no test coverage detected