Documentation
¶
Index ¶
- type MockPathValidator
- type MockPathValidator_Expecter
- type MockPathValidator_ValidateFolderPath_Call
- func (_c *MockPathValidator_ValidateFolderPath_Call) Return(s string, err error) *MockPathValidator_ValidateFolderPath_Call
- func (_c *MockPathValidator_ValidateFolderPath_Call) Run(run func(filePath string)) *MockPathValidator_ValidateFolderPath_Call
- func (_c *MockPathValidator_ValidateFolderPath_Call) RunAndReturn(run func(filePath string) (string, error)) *MockPathValidator_ValidateFolderPath_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPathValidator ¶
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 (_m *MockPathValidator) EXPECT() *MockPathValidator_Expecter
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 ¶
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 (_c *MockPathValidator_ValidateFolderPath_Call) Return(s string, err error) *MockPathValidator_ValidateFolderPath_Call
func (*MockPathValidator_ValidateFolderPath_Call) Run ¶
func (_c *MockPathValidator_ValidateFolderPath_Call) Run(run func(filePath string)) *MockPathValidator_ValidateFolderPath_Call
func (*MockPathValidator_ValidateFolderPath_Call) RunAndReturn ¶
func (_c *MockPathValidator_ValidateFolderPath_Call) RunAndReturn(run func(filePath string) (string, error)) *MockPathValidator_ValidateFolderPath_Call
Click to show internal directories.
Click to hide internal directories.