MCPcopy Create free account
hub / github.com/cloudfoundry/garden / recordInvocation

Method recordInvocation

gardenfakes/fake_process.go:304–314  ·  view source on GitHub ↗
(key string, args []interface{})

Source from the content-addressed store, hash-verified

302}
303
304func (fake *FakeProcess) recordInvocation(key string, args []interface{}) {
305 fake.invocationsMutex.Lock()
306 defer fake.invocationsMutex.Unlock()
307 if fake.invocations == nil {
308 fake.invocations = map[string][][]interface{}{}
309 }
310 if fake.invocations[key] == nil {
311 fake.invocations[key] = [][]interface{}{}
312 }
313 fake.invocations[key] = append(fake.invocations[key], args)
314}
315
316var _ garden.Process = new(FakeProcess)

Callers 4

IDMethod · 0.95
SetTTYMethod · 0.95
SignalMethod · 0.95
WaitMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected