mocks

package
v0.65.1 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostProcessorSourceFileParser

type PostProcessorSourceFileParser struct {
	mock.Mock
}

PostProcessorSourceFileParser is an autogenerated mock type for the PostProcessorSourceFileParser type

func NewPostProcessorSourceFileParser

func NewPostProcessorSourceFileParser(t interface {
	mock.TestingT
	Cleanup(func())
}) *PostProcessorSourceFileParser

NewPostProcessorSourceFileParser creates a new instance of PostProcessorSourceFileParser. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PostProcessorSourceFileParser) EXPECT

func (*PostProcessorSourceFileParser) ParseAccessProviders

func (_m *PostProcessorSourceFileParser) ParseAccessProviders() ([]*sync_from_target.AccessProvider, error)

ParseAccessProviders provides a mock function with given fields:

type PostProcessorSourceFileParser_Expecter

type PostProcessorSourceFileParser_Expecter struct {
	// contains filtered or unexported fields
}

func (*PostProcessorSourceFileParser_Expecter) ParseAccessProviders

ParseAccessProviders is a helper method to define mock.On call

type PostProcessorSourceFileParser_ParseAccessProviders_Call

type PostProcessorSourceFileParser_ParseAccessProviders_Call struct {
	*mock.Call
}

PostProcessorSourceFileParser_ParseAccessProviders_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ParseAccessProviders'

func (*PostProcessorSourceFileParser_ParseAccessProviders_Call) Return

func (*PostProcessorSourceFileParser_ParseAccessProviders_Call) Run

func (*PostProcessorSourceFileParser_ParseAccessProviders_Call) RunAndReturn

Jump to

Keyboard shortcuts

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