-
Notifications
You must be signed in to change notification settings - Fork 8
/
mock_iconv.go
93 lines (78 loc) · 3.07 KB
/
mock_iconv.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
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/ARM-software/golang-utils/utils/charset/iconv (interfaces: ICharsetConverter)
// Package mocks is a generated GoMock package.
package mocks
import (
io "io"
reflect "reflect"
gomock "github.com/golang/mock/gomock"
)
// MockICharsetConverter is a mock of ICharsetConverter interface.
type MockICharsetConverter struct {
ctrl *gomock.Controller
recorder *MockICharsetConverterMockRecorder
}
// MockICharsetConverterMockRecorder is the mock recorder for MockICharsetConverter.
type MockICharsetConverterMockRecorder struct {
mock *MockICharsetConverter
}
// NewMockICharsetConverter creates a new mock instance.
func NewMockICharsetConverter(ctrl *gomock.Controller) *MockICharsetConverter {
mock := &MockICharsetConverter{ctrl: ctrl}
mock.recorder = &MockICharsetConverterMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockICharsetConverter) EXPECT() *MockICharsetConverterMockRecorder {
return m.recorder
}
// Convert mocks base method.
func (m *MockICharsetConverter) Convert(arg0 io.Reader) io.Reader {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Convert", arg0)
ret0, _ := ret[0].(io.Reader)
return ret0
}
// Convert indicates an expected call of Convert.
func (mr *MockICharsetConverterMockRecorder) Convert(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Convert", reflect.TypeOf((*MockICharsetConverter)(nil).Convert), arg0)
}
// ConvertBytes mocks base method.
func (m *MockICharsetConverter) ConvertBytes(arg0 []byte) ([]byte, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ConvertBytes", arg0)
ret0, _ := ret[0].([]byte)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ConvertBytes indicates an expected call of ConvertBytes.
func (mr *MockICharsetConverterMockRecorder) ConvertBytes(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConvertBytes", reflect.TypeOf((*MockICharsetConverter)(nil).ConvertBytes), arg0)
}
// ConvertString mocks base method.
func (m *MockICharsetConverter) ConvertString(arg0 string) (string, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ConvertString", arg0)
ret0, _ := ret[0].(string)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ConvertString indicates an expected call of ConvertString.
func (mr *MockICharsetConverterMockRecorder) ConvertString(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConvertString", reflect.TypeOf((*MockICharsetConverter)(nil).ConvertString), arg0)
}
// String mocks base method.
func (m *MockICharsetConverter) String() string {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "String")
ret0, _ := ret[0].(string)
return ret0
}
// String indicates an expected call of String.
func (mr *MockICharsetConverterMockRecorder) String() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "String", reflect.TypeOf((*MockICharsetConverter)(nil).String))
}