mocks

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NewParsingRuleT

type NewParsingRuleT interface {
	mock.TestingT
	Cleanup(func())
}

type NewTokenHandlerT

type NewTokenHandlerT interface {
	mock.TestingT
	Cleanup(func())
}

type NewTokenReaderT

type NewTokenReaderT interface {
	mock.TestingT
	Cleanup(func())
}

type ParsingRule

type ParsingRule struct {
	mock.Mock
}

ParsingRule is an autogenerated mock type for the ParsingRule type

func NewParsingRule

func NewParsingRule(t NewParsingRuleT) *ParsingRule

NewParsingRule creates a new instance of ParsingRule. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ParsingRule) Execute

Execute provides a mock function with given fields: next

type TokenHandler

type TokenHandler struct {
	mock.Mock
}

TokenHandler is an autogenerated mock type for the TokenHandler type

func NewTokenHandler

func NewTokenHandler(t NewTokenHandlerT) *TokenHandler

NewTokenHandler creates a new instance of TokenHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*TokenHandler) Execute

func (_m *TokenHandler) Execute(_a0 interface{}, _a1 xml.StartElement, _a2 xmlparse.TokenReader) error

Execute provides a mock function with given fields: _a0, _a1, _a2

type TokenReader

type TokenReader struct {
	mock.Mock
}

TokenReader is an autogenerated mock type for the TokenReader type

func NewTokenReader

func NewTokenReader(t NewTokenReaderT) *TokenReader

NewTokenReader creates a new instance of TokenReader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*TokenReader) Token

func (_m *TokenReader) Token() (xml.Token, error)

Token provides a mock function with given fields:

Jump to

Keyboard shortcuts

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