mocks

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2025 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPathValidator

type MockPathValidator struct {
	mock.Mock
}

MockPathValidator is an autogenerated mock type for the PathValidator type

func NewMockPathValidator

func NewMockPathValidator(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockPathValidator

NewMockPathValidator creates a new instance of MockPathValidator. 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 (*MockPathValidator) EXPECT

func (*MockPathValidator) ValidateFolderPath

func (_mock *MockPathValidator) ValidateFolderPath(filePath string) (string, error)

ValidateFolderPath provides a mock function for the type MockPathValidator

type MockPathValidator_Expecter

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

func (*MockPathValidator_Expecter) ValidateFolderPath

func (_e *MockPathValidator_Expecter) ValidateFolderPath(filePath interface{}) *MockPathValidator_ValidateFolderPath_Call

ValidateFolderPath is a helper method to define mock.On call

  • filePath string

type MockPathValidator_ValidateFolderPath_Call

type MockPathValidator_ValidateFolderPath_Call struct {
	*mock.Call
}

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

func (*MockPathValidator_ValidateFolderPath_Call) Return

func (*MockPathValidator_ValidateFolderPath_Call) Run

func (*MockPathValidator_ValidateFolderPath_Call) RunAndReturn

Jump to

Keyboard shortcuts

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