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

Function NewMockRunner

lib/mocks_test.go:13–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11}
12
13func NewMockRunner() *MockRunner {
14 return &MockRunner{
15 DidRun: false,
16 }
17}
18
19func (m *MockRunner) Run() (*exec.Cmd, error) {
20 m.DidRun = true

Callers 5

Test_NewProxyFunction · 0.85
Test_Proxy_RunFunction · 0.85
Test_ProxyingFunction · 0.85
Test_Proxying_WebsocketFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected