forked from inthecloud247/heka-clever-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mock_output_runner_test.go
94 lines (72 loc) · 2.11 KB
/
mock_output_runner_test.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
package heka_clever_plugins
import (
"github.com/mozilla-services/heka/pipeline"
"github.com/stretchr/testify/mock"
"sync"
"time"
)
type MockOutputRunner struct {
mock mock.Mock
t mock.TestingT
}
func (mor *MockOutputRunner) EXPECT() *mock.Mock {
return &mor.mock
}
func (mor *MockOutputRunner) InChan() chan *pipeline.PipelinePack {
args := mor.mock.Called()
return args.Get(0).(chan *pipeline.PipelinePack)
}
func (mor *MockOutputRunner) Output() pipeline.Output {
panic("Method not implemented")
}
func (mor *MockOutputRunner) Start(h pipeline.PluginHelper, wg *sync.WaitGroup) error {
panic("Method not implemented")
}
func (mor *MockOutputRunner) Ticker() (ticker <-chan time.Time) {
panic("Method not implemented")
}
func (mor *MockOutputRunner) RetainPack(pack *pipeline.PipelinePack) {
panic("Method not implemented")
}
func (mor *MockOutputRunner) MatchRunner() *pipeline.MatchRunner {
panic("Method not implemented")
}
func (mor *MockOutputRunner) Encoder() pipeline.Encoder {
panic("Method not implemented")
}
func (mor *MockOutputRunner) Encode(pack *pipeline.PipelinePack) ([]byte, error) {
panic("Method not implemented")
}
func (mor *MockOutputRunner) UsesFraming() bool {
panic("Method not implemented")
}
func (mor *MockOutputRunner) SetUseFraming(useFraming bool) {
panic("Method not implemented")
}
func (mor *MockOutputRunner) Name() string {
panic("Method not implemented")
}
func (mor *MockOutputRunner) SetName(name string) {
panic("Method not implemented")
}
func (mor *MockOutputRunner) Plugin() pipeline.Plugin {
panic("Method not implemented")
}
func (mor *MockOutputRunner) LogError(err error) {
mor.mock.Called(err)
}
func (mor *MockOutputRunner) LogMessage(msg string) {
panic("Method not implemented")
}
func (mor *MockOutputRunner) SetLeakCount(count int) {
panic("Method not implemented")
}
func (mor *MockOutputRunner) LeakCount() int {
panic("Method not implemented")
}
func (mor *MockOutputRunner) IsStoppable() bool {
panic("Method not implemented")
}
func (mor *MockOutputRunner) Unregister(pConfig *pipeline.PipelineConfig) error {
panic("Method not implemented")
}