Documentation ¶
Overview ¶
Package moduletesting is a generated GoMock package.
Package moduletesting is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockGenerator ¶
type MockGenerator struct {
// contains filtered or unexported fields
}
MockGenerator is a mock of Generator interface
func NewMockGenerator ¶
func NewMockGenerator(ctrl *gomock.Controller) *MockGenerator
NewMockGenerator creates a new mock instance
func (*MockGenerator) EXPECT ¶
func (m *MockGenerator) EXPECT() *MockGeneratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockGenerator) GenerateProject ¶
func (m *MockGenerator) GenerateProject(rootDir, pkgName string) error
GenerateProject mocks base method
type MockGeneratorMockRecorder ¶
type MockGeneratorMockRecorder struct {
// contains filtered or unexported fields
}
MockGeneratorMockRecorder is the mock recorder for MockGenerator
func (*MockGeneratorMockRecorder) GenerateProject ¶
func (mr *MockGeneratorMockRecorder) GenerateProject(rootDir, pkgName interface{}) *gomock.Call
GenerateProject indicates an expected call of GenerateProject
type MockProjectGenerator ¶
type MockProjectGenerator struct {
// contains filtered or unexported fields
}
MockProjectGenerator is a mock of ProjectGenerator interface
func NewMockProjectGenerator ¶
func NewMockProjectGenerator(ctrl *gomock.Controller) *MockProjectGenerator
NewMockProjectGenerator creates a new mock instance
func (*MockProjectGenerator) EXPECT ¶
func (m *MockProjectGenerator) EXPECT() *MockProjectGeneratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockProjectGenerator) GenerateProject ¶
func (m *MockProjectGenerator) GenerateProject(rootDir, pkgName string) error
GenerateProject mocks base method
type MockProjectGeneratorMockRecorder ¶
type MockProjectGeneratorMockRecorder struct {
// contains filtered or unexported fields
}
MockProjectGeneratorMockRecorder is the mock recorder for MockProjectGenerator
func (*MockProjectGeneratorMockRecorder) GenerateProject ¶
func (mr *MockProjectGeneratorMockRecorder) GenerateProject(rootDir, pkgName interface{}) *gomock.Call
GenerateProject indicates an expected call of GenerateProject
type MockScript ¶
type MockScript struct {
// contains filtered or unexported fields
}
MockScript is a mock of Script interface
func NewMockScript ¶
func NewMockScript(ctrl *gomock.Controller) *MockScript
NewMockScript creates a new mock instance
func (*MockScript) EXPECT ¶
func (m *MockScript) EXPECT() *MockScriptMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockScriptLoader ¶
type MockScriptLoader struct {
// contains filtered or unexported fields
}
MockScriptLoader is a mock of ScriptLoader interface
func NewMockScriptLoader ¶
func NewMockScriptLoader(ctrl *gomock.Controller) *MockScriptLoader
NewMockScriptLoader creates a new mock instance
func (*MockScriptLoader) EXPECT ¶
func (m *MockScriptLoader) EXPECT() *MockScriptLoaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockScriptLoader) Get ¶
func (m *MockScriptLoader) Get(name string) (module.Script, bool)
Get mocks base method
func (*MockScriptLoader) Load ¶
func (m *MockScriptLoader) Load(dir string) error
Load mocks base method
func (*MockScriptLoader) Names ¶
func (m *MockScriptLoader) Names() []string
Names mocks base method
type MockScriptLoaderMockRecorder ¶
type MockScriptLoaderMockRecorder struct {
// contains filtered or unexported fields
}
MockScriptLoaderMockRecorder is the mock recorder for MockScriptLoader
func (*MockScriptLoaderMockRecorder) Get ¶
func (mr *MockScriptLoaderMockRecorder) Get(name interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockScriptLoaderMockRecorder) Load ¶
func (mr *MockScriptLoaderMockRecorder) Load(dir interface{}) *gomock.Call
Load indicates an expected call of Load
func (*MockScriptLoaderMockRecorder) Names ¶
func (mr *MockScriptLoaderMockRecorder) Names() *gomock.Call
Names indicates an expected call of Names
type MockScriptMockRecorder ¶
type MockScriptMockRecorder struct {
// contains filtered or unexported fields
}
MockScriptMockRecorder is the mock recorder for MockScript
func (*MockScriptMockRecorder) Build ¶
func (mr *MockScriptMockRecorder) Build(args ...interface{}) *gomock.Call
Build indicates an expected call of Build
func (*MockScriptMockRecorder) Name ¶
func (mr *MockScriptMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name
func (*MockScriptMockRecorder) Run ¶
func (mr *MockScriptMockRecorder) Run(args ...interface{}) *gomock.Call
Run indicates an expected call of Run