bufio_fake

package
v0.50.0 Latest Latest
Warning

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

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

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

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 FakeBufio

type FakeBufio struct {
	NewReadWriterStub func(*bufio.Reader, *bufio.Writer) *bufio.ReadWriter

	NewReaderStub func(io.Reader) bufioshim.Reader

	NewReaderSizeStub func(io.Reader, int) bufioshim.Reader

	NewScannerStub func(io.Reader) *bufio.Scanner

	NewWriterStub func(io.Writer) *bufio.Writer

	NewWriterSizeStub func(io.Writer, int) *bufio.Writer

	ScanBytesStub func([]byte, bool) (int, []byte, error)

	ScanLinesStub func([]byte, bool) (int, []byte, error)

	ScanRunesStub func([]byte, bool) (int, []byte, error)

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

func (*FakeBufio) Invocations

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

func (*FakeBufio) NewReadWriter

func (fake *FakeBufio) NewReadWriter(arg1 *bufio.Reader, arg2 *bufio.Writer) *bufio.ReadWriter

func (*FakeBufio) NewReadWriterArgsForCall

func (fake *FakeBufio) NewReadWriterArgsForCall(i int) (*bufio.Reader, *bufio.Writer)

func (*FakeBufio) NewReadWriterCallCount

func (fake *FakeBufio) NewReadWriterCallCount() int

func (*FakeBufio) NewReadWriterCalls

func (fake *FakeBufio) NewReadWriterCalls(stub func(*bufio.Reader, *bufio.Writer) *bufio.ReadWriter)

func (*FakeBufio) NewReadWriterReturns

func (fake *FakeBufio) NewReadWriterReturns(result1 *bufio.ReadWriter)

func (*FakeBufio) NewReadWriterReturnsOnCall

func (fake *FakeBufio) NewReadWriterReturnsOnCall(i int, result1 *bufio.ReadWriter)

func (*FakeBufio) NewReader

func (fake *FakeBufio) NewReader(arg1 io.Reader) bufioshim.Reader

func (*FakeBufio) NewReaderArgsForCall

func (fake *FakeBufio) NewReaderArgsForCall(i int) io.Reader

func (*FakeBufio) NewReaderCallCount

func (fake *FakeBufio) NewReaderCallCount() int

func (*FakeBufio) NewReaderCalls

func (fake *FakeBufio) NewReaderCalls(stub func(io.Reader) bufioshim.Reader)

func (*FakeBufio) NewReaderReturns

func (fake *FakeBufio) NewReaderReturns(result1 bufioshim.Reader)

func (*FakeBufio) NewReaderReturnsOnCall

func (fake *FakeBufio) NewReaderReturnsOnCall(i int, result1 bufioshim.Reader)

func (*FakeBufio) NewReaderSize

func (fake *FakeBufio) NewReaderSize(arg1 io.Reader, arg2 int) bufioshim.Reader

func (*FakeBufio) NewReaderSizeArgsForCall

func (fake *FakeBufio) NewReaderSizeArgsForCall(i int) (io.Reader, int)

func (*FakeBufio) NewReaderSizeCallCount

func (fake *FakeBufio) NewReaderSizeCallCount() int

func (*FakeBufio) NewReaderSizeCalls

func (fake *FakeBufio) NewReaderSizeCalls(stub func(io.Reader, int) bufioshim.Reader)

func (*FakeBufio) NewReaderSizeReturns

func (fake *FakeBufio) NewReaderSizeReturns(result1 bufioshim.Reader)

func (*FakeBufio) NewReaderSizeReturnsOnCall

func (fake *FakeBufio) NewReaderSizeReturnsOnCall(i int, result1 bufioshim.Reader)

func (*FakeBufio) NewScanner

func (fake *FakeBufio) NewScanner(arg1 io.Reader) *bufio.Scanner

func (*FakeBufio) NewScannerArgsForCall

func (fake *FakeBufio) NewScannerArgsForCall(i int) io.Reader

func (*FakeBufio) NewScannerCallCount

func (fake *FakeBufio) NewScannerCallCount() int

func (*FakeBufio) NewScannerCalls

func (fake *FakeBufio) NewScannerCalls(stub func(io.Reader) *bufio.Scanner)

func (*FakeBufio) NewScannerReturns

func (fake *FakeBufio) NewScannerReturns(result1 *bufio.Scanner)

func (*FakeBufio) NewScannerReturnsOnCall

func (fake *FakeBufio) NewScannerReturnsOnCall(i int, result1 *bufio.Scanner)

func (*FakeBufio) NewWriter

func (fake *FakeBufio) NewWriter(arg1 io.Writer) *bufio.Writer

func (*FakeBufio) NewWriterArgsForCall

func (fake *FakeBufio) NewWriterArgsForCall(i int) io.Writer

func (*FakeBufio) NewWriterCallCount

func (fake *FakeBufio) NewWriterCallCount() int

func (*FakeBufio) NewWriterCalls

func (fake *FakeBufio) NewWriterCalls(stub func(io.Writer) *bufio.Writer)

func (*FakeBufio) NewWriterReturns

func (fake *FakeBufio) NewWriterReturns(result1 *bufio.Writer)

func (*FakeBufio) NewWriterReturnsOnCall

func (fake *FakeBufio) NewWriterReturnsOnCall(i int, result1 *bufio.Writer)

func (*FakeBufio) NewWriterSize

func (fake *FakeBufio) NewWriterSize(arg1 io.Writer, arg2 int) *bufio.Writer

func (*FakeBufio) NewWriterSizeArgsForCall

func (fake *FakeBufio) NewWriterSizeArgsForCall(i int) (io.Writer, int)

func (*FakeBufio) NewWriterSizeCallCount

func (fake *FakeBufio) NewWriterSizeCallCount() int

func (*FakeBufio) NewWriterSizeCalls

func (fake *FakeBufio) NewWriterSizeCalls(stub func(io.Writer, int) *bufio.Writer)

func (*FakeBufio) NewWriterSizeReturns

func (fake *FakeBufio) NewWriterSizeReturns(result1 *bufio.Writer)

func (*FakeBufio) NewWriterSizeReturnsOnCall

func (fake *FakeBufio) NewWriterSizeReturnsOnCall(i int, result1 *bufio.Writer)

func (*FakeBufio) ScanBytes

func (fake *FakeBufio) ScanBytes(arg1 []byte, arg2 bool) (int, []byte, error)

func (*FakeBufio) ScanBytesArgsForCall

func (fake *FakeBufio) ScanBytesArgsForCall(i int) ([]byte, bool)

func (*FakeBufio) ScanBytesCallCount

func (fake *FakeBufio) ScanBytesCallCount() int

func (*FakeBufio) ScanBytesCalls

func (fake *FakeBufio) ScanBytesCalls(stub func([]byte, bool) (int, []byte, error))

func (*FakeBufio) ScanBytesReturns

func (fake *FakeBufio) ScanBytesReturns(result1 int, result2 []byte, result3 error)

func (*FakeBufio) ScanBytesReturnsOnCall

func (fake *FakeBufio) ScanBytesReturnsOnCall(i int, result1 int, result2 []byte, result3 error)

func (*FakeBufio) ScanLines

func (fake *FakeBufio) ScanLines(arg1 []byte, arg2 bool) (int, []byte, error)

func (*FakeBufio) ScanLinesArgsForCall

func (fake *FakeBufio) ScanLinesArgsForCall(i int) ([]byte, bool)

func (*FakeBufio) ScanLinesCallCount

func (fake *FakeBufio) ScanLinesCallCount() int

func (*FakeBufio) ScanLinesCalls

func (fake *FakeBufio) ScanLinesCalls(stub func([]byte, bool) (int, []byte, error))

func (*FakeBufio) ScanLinesReturns

func (fake *FakeBufio) ScanLinesReturns(result1 int, result2 []byte, result3 error)

func (*FakeBufio) ScanLinesReturnsOnCall

func (fake *FakeBufio) ScanLinesReturnsOnCall(i int, result1 int, result2 []byte, result3 error)

func (*FakeBufio) ScanRunes

func (fake *FakeBufio) ScanRunes(arg1 []byte, arg2 bool) (int, []byte, error)

func (*FakeBufio) ScanRunesArgsForCall

func (fake *FakeBufio) ScanRunesArgsForCall(i int) ([]byte, bool)

func (*FakeBufio) ScanRunesCallCount

func (fake *FakeBufio) ScanRunesCallCount() int

func (*FakeBufio) ScanRunesCalls

func (fake *FakeBufio) ScanRunesCalls(stub func([]byte, bool) (int, []byte, error))

func (*FakeBufio) ScanRunesReturns

func (fake *FakeBufio) ScanRunesReturns(result1 int, result2 []byte, result3 error)

func (*FakeBufio) ScanRunesReturnsOnCall

func (fake *FakeBufio) ScanRunesReturnsOnCall(i int, result1 int, result2 []byte, result3 error)

func (*FakeBufio) ScanWords

func (fake *FakeBufio) ScanWords(arg1 []byte, arg2 bool) (int, []byte, error)

func (*FakeBufio) ScanWordsArgsForCall

func (fake *FakeBufio) ScanWordsArgsForCall(i int) ([]byte, bool)

func (*FakeBufio) ScanWordsCallCount

func (fake *FakeBufio) ScanWordsCallCount() int

func (*FakeBufio) ScanWordsCalls

func (fake *FakeBufio) ScanWordsCalls(stub func([]byte, bool) (int, []byte, error))

func (*FakeBufio) ScanWordsReturns

func (fake *FakeBufio) ScanWordsReturns(result1 int, result2 []byte, result3 error)

func (*FakeBufio) ScanWordsReturnsOnCall

func (fake *FakeBufio) ScanWordsReturnsOnCall(i int, result1 int, result2 []byte, result3 error)

type FakeReader

type FakeReader struct {
	ReadStringStub func(byte) (string, error)
	// contains filtered or unexported fields
}

func (*FakeReader) Invocations

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

func (*FakeReader) ReadString

func (fake *FakeReader) ReadString(arg1 byte) (string, error)

func (*FakeReader) ReadStringArgsForCall

func (fake *FakeReader) ReadStringArgsForCall(i int) byte

func (*FakeReader) ReadStringCallCount

func (fake *FakeReader) ReadStringCallCount() int

func (*FakeReader) ReadStringCalls

func (fake *FakeReader) ReadStringCalls(stub func(byte) (string, error))

func (*FakeReader) ReadStringReturns

func (fake *FakeReader) ReadStringReturns(result1 string, result2 error)

func (*FakeReader) ReadStringReturnsOnCall

func (fake *FakeReader) ReadStringReturnsOnCall(i int, result1 string, result2 error)

Jump to

Keyboard shortcuts

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