| 9 | ) |
| 10 | |
| 11 | type FakeConfig struct { |
| 12 | ColorEnabledStub func() configv3.ColorSetting |
| 13 | colorEnabledMutex sync.RWMutex |
| 14 | colorEnabledArgsForCall []struct { |
| 15 | } |
| 16 | colorEnabledReturns struct { |
| 17 | result1 configv3.ColorSetting |
| 18 | } |
| 19 | colorEnabledReturnsOnCall map[int]struct { |
| 20 | result1 configv3.ColorSetting |
| 21 | } |
| 22 | IsTTYStub func() bool |
| 23 | isTTYMutex sync.RWMutex |
| 24 | isTTYArgsForCall []struct { |
| 25 | } |
| 26 | isTTYReturns struct { |
| 27 | result1 bool |
| 28 | } |
| 29 | isTTYReturnsOnCall map[int]struct { |
| 30 | result1 bool |
| 31 | } |
| 32 | LocaleStub func() string |
| 33 | localeMutex sync.RWMutex |
| 34 | localeArgsForCall []struct { |
| 35 | } |
| 36 | localeReturns struct { |
| 37 | result1 string |
| 38 | } |
| 39 | localeReturnsOnCall map[int]struct { |
| 40 | result1 string |
| 41 | } |
| 42 | TerminalWidthStub func() int |
| 43 | terminalWidthMutex sync.RWMutex |
| 44 | terminalWidthArgsForCall []struct { |
| 45 | } |
| 46 | terminalWidthReturns struct { |
| 47 | result1 int |
| 48 | } |
| 49 | terminalWidthReturnsOnCall map[int]struct { |
| 50 | result1 int |
| 51 | } |
| 52 | invocations map[string][][]interface{} |
| 53 | invocationsMutex sync.RWMutex |
| 54 | } |
| 55 | |
| 56 | func (fake *FakeConfig) ColorEnabled() configv3.ColorSetting { |
| 57 | fake.colorEnabledMutex.Lock() |
nothing calls this directly
no outgoing calls
no test coverage detected