uifakes

package
v6.23.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2017 License: Apache-2.0 Imports: 3 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() configv3.ColorSetting

	LocaleStub func() string
	// contains filtered or unexported fields
}

func (*FakeConfig) ColorEnabled

func (fake *FakeConfig) ColorEnabled() configv3.ColorSetting

func (*FakeConfig) ColorEnabledCallCount

func (fake *FakeConfig) ColorEnabledCallCount() int

func (*FakeConfig) ColorEnabledReturns

func (fake *FakeConfig) ColorEnabledReturns(result1 configv3.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

	TranslateStub func(func(string, ...interface{}) string) string
	// 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) Translate

func (fake *FakeTranslatableError) Translate(arg1 func(string, ...interface{}) string) string

func (*FakeTranslatableError) TranslateArgsForCall

func (fake *FakeTranslatableError) TranslateArgsForCall(i int) func(string, ...interface{}) string

func (*FakeTranslatableError) TranslateCallCount

func (fake *FakeTranslatableError) TranslateCallCount() int

func (*FakeTranslatableError) TranslateReturns

func (fake *FakeTranslatableError) TranslateReturns(result1 string)

Jump to

Keyboard shortcuts

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