uifakes

package
v6.22.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL