summaryrefslogtreecommitdiff
path: root/vendor/github.com/golang/mock/mockgen/tests/internal_pkg/subdir/internal/pkg/source_output/mock.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/golang/mock/mockgen/tests/internal_pkg/subdir/internal/pkg/source_output/mock.go')
-rw-r--r--vendor/github.com/golang/mock/mockgen/tests/internal_pkg/subdir/internal/pkg/source_output/mock.go81
1 files changed, 81 insertions, 0 deletions
diff --git a/vendor/github.com/golang/mock/mockgen/tests/internal_pkg/subdir/internal/pkg/source_output/mock.go b/vendor/github.com/golang/mock/mockgen/tests/internal_pkg/subdir/internal/pkg/source_output/mock.go
new file mode 100644
index 0000000..32595ab
--- /dev/null
+++ b/vendor/github.com/golang/mock/mockgen/tests/internal_pkg/subdir/internal/pkg/source_output/mock.go
@@ -0,0 +1,81 @@
+// Code generated by MockGen. DO NOT EDIT.
+// Source: subdir/internal/pkg/input.go
+
+// Package mock_pkg is a generated GoMock package.
+package mock_pkg
+
+import (
+ gomock "github.com/golang/mock/gomock"
+ pkg "github.com/golang/mock/mockgen/tests/internal_pkg/subdir/internal/pkg"
+ reflect "reflect"
+)
+
+// MockArg is a mock of Arg interface
+type MockArg struct {
+ ctrl *gomock.Controller
+ recorder *MockArgMockRecorder
+}
+
+// MockArgMockRecorder is the mock recorder for MockArg
+type MockArgMockRecorder struct {
+ mock *MockArg
+}
+
+// NewMockArg creates a new mock instance
+func NewMockArg(ctrl *gomock.Controller) *MockArg {
+ mock := &MockArg{ctrl: ctrl}
+ mock.recorder = &MockArgMockRecorder{mock}
+ return mock
+}
+
+// EXPECT returns an object that allows the caller to indicate expected use
+func (m *MockArg) EXPECT() *MockArgMockRecorder {
+ return m.recorder
+}
+
+// Foo mocks base method
+func (m *MockArg) Foo() int {
+ ret := m.ctrl.Call(m, "Foo")
+ ret0, _ := ret[0].(int)
+ return ret0
+}
+
+// Foo indicates an expected call of Foo
+func (mr *MockArgMockRecorder) Foo() *gomock.Call {
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Foo", reflect.TypeOf((*MockArg)(nil).Foo))
+}
+
+// MockIntf is a mock of Intf interface
+type MockIntf struct {
+ ctrl *gomock.Controller
+ recorder *MockIntfMockRecorder
+}
+
+// MockIntfMockRecorder is the mock recorder for MockIntf
+type MockIntfMockRecorder struct {
+ mock *MockIntf
+}
+
+// NewMockIntf creates a new mock instance
+func NewMockIntf(ctrl *gomock.Controller) *MockIntf {
+ mock := &MockIntf{ctrl: ctrl}
+ mock.recorder = &MockIntfMockRecorder{mock}
+ return mock
+}
+
+// EXPECT returns an object that allows the caller to indicate expected use
+func (m *MockIntf) EXPECT() *MockIntfMockRecorder {
+ return m.recorder
+}
+
+// F mocks base method
+func (m *MockIntf) F() pkg.Arg {
+ ret := m.ctrl.Call(m, "F")
+ ret0, _ := ret[0].(pkg.Arg)
+ return ret0
+}
+
+// F indicates an expected call of F
+func (mr *MockIntfMockRecorder) F() *gomock.Call {
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "F", reflect.TypeOf((*MockIntf)(nil).F))
+}