parserfakes

package
v12.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 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 FakeParser

type FakeParser struct {
	IsCaseSensitiveStub func() bool

	KnownCommandStub func(string) bool

	LeadCharStub func() string

	LearnCommandStub func(string)

	ParseCommandStub func(string) (string, error)
	// contains filtered or unexported fields
}

func (*FakeParser) Invocations

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

func (*FakeParser) IsCaseSensitive

func (fake *FakeParser) IsCaseSensitive() bool

func (*FakeParser) IsCaseSensitiveCallCount

func (fake *FakeParser) IsCaseSensitiveCallCount() int

func (*FakeParser) IsCaseSensitiveCalls

func (fake *FakeParser) IsCaseSensitiveCalls(stub func() bool)

func (*FakeParser) IsCaseSensitiveReturns

func (fake *FakeParser) IsCaseSensitiveReturns(result1 bool)

func (*FakeParser) IsCaseSensitiveReturnsOnCall

func (fake *FakeParser) IsCaseSensitiveReturnsOnCall(i int, result1 bool)

func (*FakeParser) KnownCommand

func (fake *FakeParser) KnownCommand(arg1 string) bool

func (*FakeParser) KnownCommandArgsForCall

func (fake *FakeParser) KnownCommandArgsForCall(i int) string

func (*FakeParser) KnownCommandCallCount

func (fake *FakeParser) KnownCommandCallCount() int

func (*FakeParser) KnownCommandCalls

func (fake *FakeParser) KnownCommandCalls(stub func(string) bool)

func (*FakeParser) KnownCommandReturns

func (fake *FakeParser) KnownCommandReturns(result1 bool)

func (*FakeParser) KnownCommandReturnsOnCall

func (fake *FakeParser) KnownCommandReturnsOnCall(i int, result1 bool)

func (*FakeParser) LeadChar

func (fake *FakeParser) LeadChar() string

func (*FakeParser) LeadCharCallCount

func (fake *FakeParser) LeadCharCallCount() int

func (*FakeParser) LeadCharCalls

func (fake *FakeParser) LeadCharCalls(stub func() string)

func (*FakeParser) LeadCharReturns

func (fake *FakeParser) LeadCharReturns(result1 string)

func (*FakeParser) LeadCharReturnsOnCall

func (fake *FakeParser) LeadCharReturnsOnCall(i int, result1 string)

func (*FakeParser) LearnCommand

func (fake *FakeParser) LearnCommand(arg1 string)

func (*FakeParser) LearnCommandArgsForCall

func (fake *FakeParser) LearnCommandArgsForCall(i int) string

func (*FakeParser) LearnCommandCallCount

func (fake *FakeParser) LearnCommandCallCount() int

func (*FakeParser) LearnCommandCalls

func (fake *FakeParser) LearnCommandCalls(stub func(string))

func (*FakeParser) ParseCommand

func (fake *FakeParser) ParseCommand(arg1 string) (string, error)

func (*FakeParser) ParseCommandArgsForCall

func (fake *FakeParser) ParseCommandArgsForCall(i int) string

func (*FakeParser) ParseCommandCallCount

func (fake *FakeParser) ParseCommandCallCount() int

func (*FakeParser) ParseCommandCalls

func (fake *FakeParser) ParseCommandCalls(stub func(string) (string, error))

func (*FakeParser) ParseCommandReturns

func (fake *FakeParser) ParseCommandReturns(result1 string, result2 error)

func (*FakeParser) ParseCommandReturnsOnCall

func (fake *FakeParser) ParseCommandReturnsOnCall(i int, result1 string, result2 error)

Jump to

Keyboard shortcuts

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