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

Method SetTTY

gardenfakes/fake_process.go:111–127  ·  view source on GitHub ↗
(arg1 garden.TTYSpec)

Source from the content-addressed store, hash-verified

109}
110
111func (fake *FakeProcess) SetTTY(arg1 garden.TTYSpec) error {
112 fake.setTTYMutex.Lock()
113 ret, specificReturn := fake.setTTYReturnsOnCall[len(fake.setTTYArgsForCall)]
114 fake.setTTYArgsForCall = append(fake.setTTYArgsForCall, struct {
115 arg1 garden.TTYSpec
116 }{arg1})
117 fake.recordInvocation("SetTTY", []interface{}{arg1})
118 fake.setTTYMutex.Unlock()
119 if fake.SetTTYStub != nil {
120 return fake.SetTTYStub(arg1)
121 }
122 if specificReturn {
123 return ret.result1
124 }
125 fakeReturns := fake.setTTYReturns
126 return fakeReturns.result1
127}
128
129func (fake *FakeProcess) SetTTYCallCount() int {
130 fake.setTTYMutex.RLock()

Callers

nothing calls this directly

Calls 1

recordInvocationMethod · 0.95

Tested by

no test coverage detected