uifakes

package
v6.25.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

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 FakeLogMessage

type FakeLogMessage struct {
	MessageStub func() string

	TypeStub func() string

	TimestampStub func() time.Time

	ApplicationIDStub func() string

	SourceTypeStub func() string

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

func (*FakeLogMessage) ApplicationID

func (fake *FakeLogMessage) ApplicationID() string

func (*FakeLogMessage) ApplicationIDCallCount

func (fake *FakeLogMessage) ApplicationIDCallCount() int

func (*FakeLogMessage) ApplicationIDReturns

func (fake *FakeLogMessage) ApplicationIDReturns(result1 string)

func (*FakeLogMessage) Invocations

func (fake *FakeLogMessage) Invocations() map[string][][]interface{}

func (*FakeLogMessage) Message

func (fake *FakeLogMessage) Message() string

func (*FakeLogMessage) MessageCallCount

func (fake *FakeLogMessage) MessageCallCount() int

func (*FakeLogMessage) MessageReturns

func (fake *FakeLogMessage) MessageReturns(result1 string)

func (*FakeLogMessage) SourceInstance

func (fake *FakeLogMessage) SourceInstance() string

func (*FakeLogMessage) SourceInstanceCallCount

func (fake *FakeLogMessage) SourceInstanceCallCount() int

func (*FakeLogMessage) SourceInstanceReturns

func (fake *FakeLogMessage) SourceInstanceReturns(result1 string)

func (*FakeLogMessage) SourceType

func (fake *FakeLogMessage) SourceType() string

func (*FakeLogMessage) SourceTypeCallCount

func (fake *FakeLogMessage) SourceTypeCallCount() int

func (*FakeLogMessage) SourceTypeReturns

func (fake *FakeLogMessage) SourceTypeReturns(result1 string)

func (*FakeLogMessage) Timestamp

func (fake *FakeLogMessage) Timestamp() time.Time

func (*FakeLogMessage) TimestampCallCount

func (fake *FakeLogMessage) TimestampCallCount() int

func (*FakeLogMessage) TimestampReturns

func (fake *FakeLogMessage) TimestampReturns(result1 time.Time)

func (*FakeLogMessage) Type

func (fake *FakeLogMessage) Type() string

func (*FakeLogMessage) TypeCallCount

func (fake *FakeLogMessage) TypeCallCount() int

func (*FakeLogMessage) TypeReturns

func (fake *FakeLogMessage) TypeReturns(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