mocks

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 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) ValidateMATLABScript

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

ValidateMATLABScript provides a mock function for the type MockPathValidator

type MockPathValidator_Expecter

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

func (*MockPathValidator_Expecter) ValidateMATLABScript

func (_e *MockPathValidator_Expecter) ValidateMATLABScript(filePath interface{}) *MockPathValidator_ValidateMATLABScript_Call

ValidateMATLABScript is a helper method to define mock.On call

  • filePath string

type MockPathValidator_ValidateMATLABScript_Call

type MockPathValidator_ValidateMATLABScript_Call struct {
	*mock.Call
}

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

func (*MockPathValidator_ValidateMATLABScript_Call) Return

func (*MockPathValidator_ValidateMATLABScript_Call) Run

func (*MockPathValidator_ValidateMATLABScript_Call) RunAndReturn

Jump to

Keyboard shortcuts

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