mocks

package
v0.0.0-...-2e562ea Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct {
	mock.Mock
}

Parser is an autogenerated mock type for the Parser type

func NewParser

func NewParser(t mockConstructorTestingTNewParser) *Parser

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

func (*Parser) LoadScalaRule

func (_m *Parser) LoadScalaRule(from label.Label, rule *parse.Rule) error

LoadScalaRule provides a mock function with given fields: from, rule

func (*Parser) ParseScalaRule

func (_m *Parser) ParseScalaRule(kind string, from label.Label, dir string, srcs ...string) (*parse.Rule, error)

ParseScalaRule provides a mock function with given fields: kind, from, dir, srcs

Jump to

Keyboard shortcuts

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