Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter
Index ¶
- type FakeConfig
- func (fake *FakeConfig) ColorEnabled() config.ColorSetting
- func (fake *FakeConfig) ColorEnabledCallCount() int
- func (fake *FakeConfig) ColorEnabledReturns(result1 config.ColorSetting)
- func (fake *FakeConfig) Invocations() map[string][][]interface{}
- func (fake *FakeConfig) Locale() string
- func (fake *FakeConfig) LocaleCallCount() int
- func (fake *FakeConfig) LocaleReturns(result1 string)
- type FakeTranslatableError
- func (fake *FakeTranslatableError) Error() string
- func (fake *FakeTranslatableError) ErrorCallCount() int
- func (fake *FakeTranslatableError) ErrorReturns(result1 string)
- func (fake *FakeTranslatableError) Invocations() map[string][][]interface{}
- func (fake *FakeTranslatableError) SetTranslation(arg1 i18n.TranslateFunc) error
- func (fake *FakeTranslatableError) SetTranslationArgsForCall(i int) i18n.TranslateFunc
- func (fake *FakeTranslatableError) SetTranslationCallCount() int
- func (fake *FakeTranslatableError) SetTranslationReturns(result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeConfig ¶
type FakeConfig struct { ColorEnabledStub func() config.ColorSetting LocaleStub func() string // contains filtered or unexported fields }
func (*FakeConfig) ColorEnabled ¶
func (fake *FakeConfig) ColorEnabled() config.ColorSetting
func (*FakeConfig) ColorEnabledCallCount ¶
func (fake *FakeConfig) ColorEnabledCallCount() int
func (*FakeConfig) ColorEnabledReturns ¶
func (fake *FakeConfig) ColorEnabledReturns(result1 config.ColorSetting)
func (*FakeConfig) Invocations ¶
func (fake *FakeConfig) Invocations() map[string][][]interface{}
func (*FakeConfig) Locale ¶
func (fake *FakeConfig) Locale() string
func (*FakeConfig) LocaleCallCount ¶
func (fake *FakeConfig) LocaleCallCount() int
func (*FakeConfig) LocaleReturns ¶
func (fake *FakeConfig) LocaleReturns(result1 string)
type FakeTranslatableError ¶
type FakeTranslatableError struct { ErrorStub func() string SetTranslationStub func(i18n.TranslateFunc) error // contains filtered or unexported fields }
func (*FakeTranslatableError) Error ¶
func (fake *FakeTranslatableError) Error() string
func (*FakeTranslatableError) ErrorCallCount ¶
func (fake *FakeTranslatableError) ErrorCallCount() int
func (*FakeTranslatableError) ErrorReturns ¶
func (fake *FakeTranslatableError) ErrorReturns(result1 string)
func (*FakeTranslatableError) Invocations ¶
func (fake *FakeTranslatableError) Invocations() map[string][][]interface{}
func (*FakeTranslatableError) SetTranslation ¶
func (fake *FakeTranslatableError) SetTranslation(arg1 i18n.TranslateFunc) error
func (*FakeTranslatableError) SetTranslationArgsForCall ¶
func (fake *FakeTranslatableError) SetTranslationArgsForCall(i int) i18n.TranslateFunc
func (*FakeTranslatableError) SetTranslationCallCount ¶
func (fake *FakeTranslatableError) SetTranslationCallCount() int
func (*FakeTranslatableError) SetTranslationReturns ¶
func (fake *FakeTranslatableError) SetTranslationReturns(result1 error)
Click to show internal directories.
Click to hide internal directories.