uifakes

package
v6.23.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2016 License: Apache-2.0 Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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