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 ¶ added in v0.2.0
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 ¶ added in v0.2.0
func (mr *MockGeneratorMockRecorder) GenerateProject(rootDir, pkgName interface{}) *gomock.Call
GenerateProject indicates an expected call of GenerateProject
type MockProjectGenerator ¶ added in v0.2.0
type MockProjectGenerator struct {
// contains filtered or unexported fields
}
MockProjectGenerator is a mock of ProjectGenerator interface
func NewMockProjectGenerator ¶ added in v0.2.0
func NewMockProjectGenerator(ctrl *gomock.Controller) *MockProjectGenerator
NewMockProjectGenerator creates a new mock instance
func (*MockProjectGenerator) EXPECT ¶ added in v0.2.0
func (m *MockProjectGenerator) EXPECT() *MockProjectGeneratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockProjectGenerator) GenerateProject ¶ added in v0.2.0
func (m *MockProjectGenerator) GenerateProject(rootDir, pkgName string) error
GenerateProject mocks base method
type MockProjectGeneratorMockRecorder ¶ added in v0.2.0
type MockProjectGeneratorMockRecorder struct {
// contains filtered or unexported fields
}
MockProjectGeneratorMockRecorder is the mock recorder for MockProjectGenerator
func (*MockProjectGeneratorMockRecorder) GenerateProject ¶ added in v0.2.0
func (mr *MockProjectGeneratorMockRecorder) GenerateProject(rootDir, pkgName interface{}) *gomock.Call
GenerateProject indicates an expected call of GenerateProject
type MockScript ¶ added in v0.1.4
type MockScript struct {
// contains filtered or unexported fields
}
MockScript is a mock of Script interface
func NewMockScript ¶ added in v0.1.4
func NewMockScript(ctrl *gomock.Controller) *MockScript
NewMockScript creates a new mock instance
func (*MockScript) Build ¶ added in v0.1.4
func (m *MockScript) Build(args ...string) error
Build mocks base method
func (*MockScript) EXPECT ¶ added in v0.1.4
func (m *MockScript) EXPECT() *MockScriptMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockScript) Run ¶ added in v0.1.4
func (m *MockScript) Run(args ...string) error
Run mocks base method
type MockScriptLoader ¶ added in v0.1.4
type MockScriptLoader struct {
// contains filtered or unexported fields
}
MockScriptLoader is a mock of ScriptLoader interface
func NewMockScriptLoader ¶ added in v0.1.4
func NewMockScriptLoader(ctrl *gomock.Controller) *MockScriptLoader
NewMockScriptLoader creates a new mock instance
func (*MockScriptLoader) EXPECT ¶ added in v0.1.4
func (m *MockScriptLoader) EXPECT() *MockScriptLoaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockScriptLoader) Get ¶ added in v0.1.4
func (m *MockScriptLoader) Get(name string) (module.Script, bool)
Get mocks base method
func (*MockScriptLoader) Load ¶ added in v0.1.4
func (m *MockScriptLoader) Load(dir string) error
Load mocks base method
func (*MockScriptLoader) Names ¶ added in v0.1.4
func (m *MockScriptLoader) Names() []string
Names mocks base method
type MockScriptLoaderMockRecorder ¶ added in v0.1.4
type MockScriptLoaderMockRecorder struct {
// contains filtered or unexported fields
}
MockScriptLoaderMockRecorder is the mock recorder for MockScriptLoader
func (*MockScriptLoaderMockRecorder) Get ¶ added in v0.1.4
func (mr *MockScriptLoaderMockRecorder) Get(name interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockScriptLoaderMockRecorder) Load ¶ added in v0.1.4
func (mr *MockScriptLoaderMockRecorder) Load(dir interface{}) *gomock.Call
Load indicates an expected call of Load
func (*MockScriptLoaderMockRecorder) Names ¶ added in v0.1.4
func (mr *MockScriptLoaderMockRecorder) Names() *gomock.Call
Names indicates an expected call of Names
type MockScriptMockRecorder ¶ added in v0.1.4
type MockScriptMockRecorder struct {
// contains filtered or unexported fields
}
MockScriptMockRecorder is the mock recorder for MockScript
func (*MockScriptMockRecorder) Build ¶ added in v0.1.4
func (mr *MockScriptMockRecorder) Build(args ...interface{}) *gomock.Call
Build indicates an expected call of Build
func (*MockScriptMockRecorder) Name ¶ added in v0.1.4
func (mr *MockScriptMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name
func (*MockScriptMockRecorder) Run ¶ added in v0.1.4
func (mr *MockScriptMockRecorder) Run(args ...interface{}) *gomock.Call
Run indicates an expected call of Run