Documentation
¶
Index ¶
- type MockLanguage
- func (_m *MockLanguage) Execute(logger *log.Logger, repositoryPath string) (uint64, []error, error)
- func (_m *MockLanguage) Files(logger *log.Logger, repositoryPath string) ([]string, error)
- func (_m *MockLanguage) ID() string
- func (_m *MockLanguage) ImportPath(projectRootPath string, filePath string) string
- func (_m *MockLanguage) Name() string
- func (_m *MockLanguage) TestFilePath(projectRootPath string, filePath string) string
- func (_m *MockLanguage) TestFramework() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLanguage ¶
MockLanguage is an autogenerated mock type for the Language type
func NewMockLanguage ¶
func NewMockLanguage(t interface {
mock.TestingT
Cleanup(func())
}) *MockLanguage
NewMockLanguage creates a new instance of MockLanguage. 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 NewMockLanguageNamed ¶
func NewMockLanguageNamed(t *testing.T, id string) *MockLanguage
NewMockLanguageNamed returns a new named mocked language.
func (*MockLanguage) Execute ¶
Execute provides a mock function with given fields: logger, repositoryPath
func (*MockLanguage) Files ¶
Files provides a mock function with given fields: logger, repositoryPath
func (*MockLanguage) ID ¶
func (_m *MockLanguage) ID() string
ID provides a mock function with given fields:
func (*MockLanguage) ImportPath ¶
func (_m *MockLanguage) ImportPath(projectRootPath string, filePath string) string
ImportPath provides a mock function with given fields: projectRootPath, filePath
func (*MockLanguage) Name ¶
func (_m *MockLanguage) Name() string
Name provides a mock function with given fields:
func (*MockLanguage) TestFilePath ¶
func (_m *MockLanguage) TestFilePath(projectRootPath string, filePath string) string
TestFilePath provides a mock function with given fields: projectRootPath, filePath
func (*MockLanguage) TestFramework ¶
func (_m *MockLanguage) TestFramework() string
TestFramework provides a mock function with given fields: