| 14 | ) |
| 15 | |
| 16 | type FakeUI struct { |
| 17 | outputs []string |
| 18 | uncapturedOutput []string |
| 19 | WarnOutputs []string |
| 20 | Prompts []string |
| 21 | PasswordPrompts []string |
| 22 | Inputs []string |
| 23 | FailedWithUsage bool |
| 24 | FailedWithUsageCommandName string |
| 25 | ShowConfigurationCalled bool |
| 26 | NotifyUpdateIfNeededCallCount int |
| 27 | |
| 28 | sayMutex sync.Mutex |
| 29 | } |
| 30 | |
| 31 | func (ui *FakeUI) Outputs() []string { |
| 32 | ui.sayMutex.Lock() |
nothing calls this directly
no outgoing calls
no test coverage detected