InstallLocal calls InstallLocalFunc.
(dir string)
| 292 | |
| 293 | // InstallLocal calls InstallLocalFunc. |
| 294 | func (mock *ExtensionManagerMock) InstallLocal(dir string) error { |
| 295 | if mock.InstallLocalFunc == nil { |
| 296 | panic("ExtensionManagerMock.InstallLocalFunc: method is nil but ExtensionManager.InstallLocal was just called") |
| 297 | } |
| 298 | callInfo := struct { |
| 299 | Dir string |
| 300 | }{ |
| 301 | Dir: dir, |
| 302 | } |
| 303 | mock.lockInstallLocal.Lock() |
| 304 | mock.calls.InstallLocal = append(mock.calls.InstallLocal, callInfo) |
| 305 | mock.lockInstallLocal.Unlock() |
| 306 | return mock.InstallLocalFunc(dir) |
| 307 | } |
| 308 | |
| 309 | // InstallLocalCalls gets all the calls that were made to InstallLocal. |
| 310 | // Check the length with: |
nothing calls this directly
no outgoing calls
no test coverage detected