fake

package
v0.0.0-...-8efffb4 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StateFlusher

type StateFlusher struct {
	FlagStub func(int) bool

	FlushStub func() error

	PrecisionStub func() (int, bool)

	WidthStub func() (int, bool)

	WriteStub func([]byte) (int, error)
	// contains filtered or unexported fields
}

func (*StateFlusher) Flag

func (fake *StateFlusher) Flag(arg1 int) bool

func (*StateFlusher) FlagArgsForCall

func (fake *StateFlusher) FlagArgsForCall(i int) int

func (*StateFlusher) FlagCallCount

func (fake *StateFlusher) FlagCallCount() int

func (*StateFlusher) FlagCalls

func (fake *StateFlusher) FlagCalls(stub func(int) bool)

func (*StateFlusher) FlagReturns

func (fake *StateFlusher) FlagReturns(result1 bool)

func (*StateFlusher) FlagReturnsOnCall

func (fake *StateFlusher) FlagReturnsOnCall(i int, result1 bool)

func (*StateFlusher) Flush

func (fake *StateFlusher) Flush() error

func (*StateFlusher) FlushCallCount

func (fake *StateFlusher) FlushCallCount() int

func (*StateFlusher) FlushCalls

func (fake *StateFlusher) FlushCalls(stub func() error)

func (*StateFlusher) FlushReturns

func (fake *StateFlusher) FlushReturns(result1 error)

func (*StateFlusher) FlushReturnsOnCall

func (fake *StateFlusher) FlushReturnsOnCall(i int, result1 error)

func (*StateFlusher) Invocations

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

func (*StateFlusher) Precision

func (fake *StateFlusher) Precision() (int, bool)

func (*StateFlusher) PrecisionCallCount

func (fake *StateFlusher) PrecisionCallCount() int

func (*StateFlusher) PrecisionCalls

func (fake *StateFlusher) PrecisionCalls(stub func() (int, bool))

func (*StateFlusher) PrecisionReturns

func (fake *StateFlusher) PrecisionReturns(result1 int, result2 bool)

func (*StateFlusher) PrecisionReturnsOnCall

func (fake *StateFlusher) PrecisionReturnsOnCall(i int, result1 int, result2 bool)

func (*StateFlusher) Width

func (fake *StateFlusher) Width() (int, bool)

func (*StateFlusher) WidthCallCount

func (fake *StateFlusher) WidthCallCount() int

func (*StateFlusher) WidthCalls

func (fake *StateFlusher) WidthCalls(stub func() (int, bool))

func (*StateFlusher) WidthReturns

func (fake *StateFlusher) WidthReturns(result1 int, result2 bool)

func (*StateFlusher) WidthReturnsOnCall

func (fake *StateFlusher) WidthReturnsOnCall(i int, result1 int, result2 bool)

func (*StateFlusher) Write

func (fake *StateFlusher) Write(arg1 []byte) (int, error)

func (*StateFlusher) WriteArgsForCall

func (fake *StateFlusher) WriteArgsForCall(i int) []byte

func (*StateFlusher) WriteCallCount

func (fake *StateFlusher) WriteCallCount() int

func (*StateFlusher) WriteCalls

func (fake *StateFlusher) WriteCalls(stub func([]byte) (int, error))

func (*StateFlusher) WriteReturns

func (fake *StateFlusher) WriteReturns(result1 int, result2 error)

func (*StateFlusher) WriteReturnsOnCall

func (fake *StateFlusher) WriteReturnsOnCall(i int, result1 int, result2 error)

Jump to

Keyboard shortcuts

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