Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Licensed to the Apache Software Foundation (ASF) under one |
| 3 | * or more contributor license agreements. See the NOTICE file |
| 4 | * distributed with this work for additional information |
| 5 | * regarding copyright ownership. The ASF licenses this file |
| 6 | * to you under the Apache License, Version 2.0 (the |
| 7 | * "License"); you may not use this file except in compliance |
| 8 | * with the License. You may obtain a copy of the License at |
| 9 | * |
| 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | * |
| 12 | * Unless required by applicable law or agreed to in writing, |
| 13 | * software distributed under the License is distributed on an |
| 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | * KIND, either express or implied. See the License for the |
| 16 | * specific language governing permissions and limitations |
| 17 | * under the License. |
| 18 | */ |
| 19 | |
| 20 | // Automatically generated by MockGen. DO NOT EDIT! |
| 21 | // Source: gen/thrifttest (interfaces: ThriftTest) |
| 22 | |
| 23 | package common |
| 24 | |
| 25 | import ( |
Jens Geyer | 91cfb99 | 2014-05-17 01:07:28 +0200 | [diff] [blame] | 26 | thrifttest "gen/thrifttest" |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 27 | gomock "github.com/golang/mock/gomock" |
| 28 | context "golang.org/x/net/context" |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 29 | ) |
| 30 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 31 | // MockThriftTest is a mock of ThriftTest interface |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 32 | type MockThriftTest struct { |
| 33 | ctrl *gomock.Controller |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 34 | recorder *MockThriftTestMockRecorder |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 35 | } |
| 36 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 37 | // MockThriftTestMockRecorder is the mock recorder for MockThriftTest |
| 38 | type MockThriftTestMockRecorder struct { |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 39 | mock *MockThriftTest |
| 40 | } |
| 41 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 42 | // NewMockThriftTest creates a new mock instance |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 43 | func NewMockThriftTest(ctrl *gomock.Controller) *MockThriftTest { |
| 44 | mock := &MockThriftTest{ctrl: ctrl} |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 45 | mock.recorder = &MockThriftTestMockRecorder{mock} |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 46 | return mock |
| 47 | } |
| 48 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 49 | // EXPECT returns an object that allows the caller to indicate expected use |
| 50 | func (_m *MockThriftTest) EXPECT() *MockThriftTestMockRecorder { |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 51 | return _m.recorder |
| 52 | } |
| 53 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 54 | // TestBinary mocks base method |
| 55 | func (_m *MockThriftTest) TestBinary(_param0 context.Context, _param1 []byte) ([]byte, error) { |
| 56 | ret := _m.ctrl.Call(_m, "TestBinary", _param0, _param1) |
Jens Geyer | 8bcfdd9 | 2014-12-14 03:14:26 +0100 | [diff] [blame] | 57 | ret0, _ := ret[0].([]byte) |
| 58 | ret1, _ := ret[1].(error) |
| 59 | return ret0, ret1 |
| 60 | } |
| 61 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 62 | // TestBinary indicates an expected call of TestBinary |
| 63 | func (_mr *MockThriftTestMockRecorder) TestBinary(arg0, arg1 interface{}) *gomock.Call { |
| 64 | return _mr.mock.ctrl.RecordCall(_mr.mock, "TestBinary", arg0, arg1) |
Jens Geyer | 8bcfdd9 | 2014-12-14 03:14:26 +0100 | [diff] [blame] | 65 | } |
| 66 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 67 | // TestBool mocks base method |
| 68 | func (_m *MockThriftTest) TestBool(_param0 context.Context, _param1 bool) (bool, error) { |
| 69 | ret := _m.ctrl.Call(_m, "TestBool", _param0, _param1) |
| 70 | ret0, _ := ret[0].(bool) |
| 71 | ret1, _ := ret[1].(error) |
| 72 | return ret0, ret1 |
| 73 | } |
| 74 | |
| 75 | // TestBool indicates an expected call of TestBool |
| 76 | func (_mr *MockThriftTestMockRecorder) TestBool(arg0, arg1 interface{}) *gomock.Call { |
| 77 | return _mr.mock.ctrl.RecordCall(_mr.mock, "TestBool", arg0, arg1) |
| 78 | } |
| 79 | |
| 80 | // TestByte mocks base method |
| 81 | func (_m *MockThriftTest) TestByte(_param0 context.Context, _param1 int8) (int8, error) { |
| 82 | ret := _m.ctrl.Call(_m, "TestByte", _param0, _param1) |
| 83 | ret0, _ := ret[0].(int8) |
| 84 | ret1, _ := ret[1].(error) |
| 85 | return ret0, ret1 |
| 86 | } |
| 87 | |
| 88 | // TestByte indicates an expected call of TestByte |
| 89 | func (_mr *MockThriftTestMockRecorder) TestByte(arg0, arg1 interface{}) *gomock.Call { |
| 90 | return _mr.mock.ctrl.RecordCall(_mr.mock, "TestByte", arg0, arg1) |
| 91 | } |
| 92 | |
| 93 | // TestDouble mocks base method |
| 94 | func (_m *MockThriftTest) TestDouble(_param0 context.Context, _param1 float64) (float64, error) { |
| 95 | ret := _m.ctrl.Call(_m, "TestDouble", _param0, _param1) |
| 96 | ret0, _ := ret[0].(float64) |
| 97 | ret1, _ := ret[1].(error) |
| 98 | return ret0, ret1 |
| 99 | } |
| 100 | |
| 101 | // TestDouble indicates an expected call of TestDouble |
| 102 | func (_mr *MockThriftTestMockRecorder) TestDouble(arg0, arg1 interface{}) *gomock.Call { |
| 103 | return _mr.mock.ctrl.RecordCall(_mr.mock, "TestDouble", arg0, arg1) |
| 104 | } |
| 105 | |
| 106 | // TestEnum mocks base method |
| 107 | func (_m *MockThriftTest) TestEnum(_param0 context.Context, _param1 thrifttest.Numberz) (thrifttest.Numberz, error) { |
| 108 | ret := _m.ctrl.Call(_m, "TestEnum", _param0, _param1) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 109 | ret0, _ := ret[0].(thrifttest.Numberz) |
| 110 | ret1, _ := ret[1].(error) |
| 111 | return ret0, ret1 |
| 112 | } |
| 113 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 114 | // TestEnum indicates an expected call of TestEnum |
| 115 | func (_mr *MockThriftTestMockRecorder) TestEnum(arg0, arg1 interface{}) *gomock.Call { |
| 116 | return _mr.mock.ctrl.RecordCall(_mr.mock, "TestEnum", arg0, arg1) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 117 | } |
| 118 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 119 | // TestException mocks base method |
| 120 | func (_m *MockThriftTest) TestException(_param0 context.Context, _param1 string) error { |
| 121 | ret := _m.ctrl.Call(_m, "TestException", _param0, _param1) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 122 | ret0, _ := ret[0].(error) |
| 123 | return ret0 |
| 124 | } |
| 125 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 126 | // TestException indicates an expected call of TestException |
| 127 | func (_mr *MockThriftTestMockRecorder) TestException(arg0, arg1 interface{}) *gomock.Call { |
| 128 | return _mr.mock.ctrl.RecordCall(_mr.mock, "TestException", arg0, arg1) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 129 | } |
| 130 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 131 | // TestI32 mocks base method |
| 132 | func (_m *MockThriftTest) TestI32(_param0 context.Context, _param1 int32) (int32, error) { |
| 133 | ret := _m.ctrl.Call(_m, "TestI32", _param0, _param1) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 134 | ret0, _ := ret[0].(int32) |
| 135 | ret1, _ := ret[1].(error) |
| 136 | return ret0, ret1 |
| 137 | } |
| 138 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 139 | // TestI32 indicates an expected call of TestI32 |
| 140 | func (_mr *MockThriftTestMockRecorder) TestI32(arg0, arg1 interface{}) *gomock.Call { |
| 141 | return _mr.mock.ctrl.RecordCall(_mr.mock, "TestI32", arg0, arg1) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 142 | } |
| 143 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 144 | // TestI64 mocks base method |
| 145 | func (_m *MockThriftTest) TestI64(_param0 context.Context, _param1 int64) (int64, error) { |
| 146 | ret := _m.ctrl.Call(_m, "TestI64", _param0, _param1) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 147 | ret0, _ := ret[0].(int64) |
| 148 | ret1, _ := ret[1].(error) |
| 149 | return ret0, ret1 |
| 150 | } |
| 151 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 152 | // TestI64 indicates an expected call of TestI64 |
| 153 | func (_mr *MockThriftTestMockRecorder) TestI64(arg0, arg1 interface{}) *gomock.Call { |
| 154 | return _mr.mock.ctrl.RecordCall(_mr.mock, "TestI64", arg0, arg1) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 155 | } |
| 156 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 157 | // TestInsanity mocks base method |
| 158 | func (_m *MockThriftTest) TestInsanity(_param0 context.Context, _param1 *thrifttest.Insanity) (map[thrifttest.UserId]map[thrifttest.Numberz]*thrifttest.Insanity, error) { |
| 159 | ret := _m.ctrl.Call(_m, "TestInsanity", _param0, _param1) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 160 | ret0, _ := ret[0].(map[thrifttest.UserId]map[thrifttest.Numberz]*thrifttest.Insanity) |
| 161 | ret1, _ := ret[1].(error) |
| 162 | return ret0, ret1 |
| 163 | } |
| 164 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 165 | // TestInsanity indicates an expected call of TestInsanity |
| 166 | func (_mr *MockThriftTestMockRecorder) TestInsanity(arg0, arg1 interface{}) *gomock.Call { |
| 167 | return _mr.mock.ctrl.RecordCall(_mr.mock, "TestInsanity", arg0, arg1) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 168 | } |
| 169 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 170 | // TestList mocks base method |
| 171 | func (_m *MockThriftTest) TestList(_param0 context.Context, _param1 []int32) ([]int32, error) { |
| 172 | ret := _m.ctrl.Call(_m, "TestList", _param0, _param1) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 173 | ret0, _ := ret[0].([]int32) |
| 174 | ret1, _ := ret[1].(error) |
| 175 | return ret0, ret1 |
| 176 | } |
| 177 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 178 | // TestList indicates an expected call of TestList |
| 179 | func (_mr *MockThriftTestMockRecorder) TestList(arg0, arg1 interface{}) *gomock.Call { |
| 180 | return _mr.mock.ctrl.RecordCall(_mr.mock, "TestList", arg0, arg1) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 181 | } |
| 182 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 183 | // TestMap mocks base method |
| 184 | func (_m *MockThriftTest) TestMap(_param0 context.Context, _param1 map[int32]int32) (map[int32]int32, error) { |
| 185 | ret := _m.ctrl.Call(_m, "TestMap", _param0, _param1) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 186 | ret0, _ := ret[0].(map[int32]int32) |
| 187 | ret1, _ := ret[1].(error) |
| 188 | return ret0, ret1 |
| 189 | } |
| 190 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 191 | // TestMap indicates an expected call of TestMap |
| 192 | func (_mr *MockThriftTestMockRecorder) TestMap(arg0, arg1 interface{}) *gomock.Call { |
| 193 | return _mr.mock.ctrl.RecordCall(_mr.mock, "TestMap", arg0, arg1) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 194 | } |
| 195 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 196 | // TestMapMap mocks base method |
| 197 | func (_m *MockThriftTest) TestMapMap(_param0 context.Context, _param1 int32) (map[int32]map[int32]int32, error) { |
| 198 | ret := _m.ctrl.Call(_m, "TestMapMap", _param0, _param1) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 199 | ret0, _ := ret[0].(map[int32]map[int32]int32) |
| 200 | ret1, _ := ret[1].(error) |
| 201 | return ret0, ret1 |
| 202 | } |
| 203 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 204 | // TestMapMap indicates an expected call of TestMapMap |
| 205 | func (_mr *MockThriftTestMockRecorder) TestMapMap(arg0, arg1 interface{}) *gomock.Call { |
| 206 | return _mr.mock.ctrl.RecordCall(_mr.mock, "TestMapMap", arg0, arg1) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 207 | } |
| 208 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 209 | // TestMulti mocks base method |
| 210 | func (_m *MockThriftTest) TestMulti(_param0 context.Context, _param1 int8, _param2 int32, _param3 int64, _param4 map[int16]string, _param5 thrifttest.Numberz, _param6 thrifttest.UserId) (*thrifttest.Xtruct, error) { |
| 211 | ret := _m.ctrl.Call(_m, "TestMulti", _param0, _param1, _param2, _param3, _param4, _param5, _param6) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 212 | ret0, _ := ret[0].(*thrifttest.Xtruct) |
| 213 | ret1, _ := ret[1].(error) |
| 214 | return ret0, ret1 |
| 215 | } |
| 216 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 217 | // TestMulti indicates an expected call of TestMulti |
| 218 | func (_mr *MockThriftTestMockRecorder) TestMulti(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call { |
| 219 | return _mr.mock.ctrl.RecordCall(_mr.mock, "TestMulti", arg0, arg1, arg2, arg3, arg4, arg5, arg6) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 220 | } |
| 221 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 222 | // TestMultiException mocks base method |
| 223 | func (_m *MockThriftTest) TestMultiException(_param0 context.Context, _param1 string, _param2 string) (*thrifttest.Xtruct, error) { |
| 224 | ret := _m.ctrl.Call(_m, "TestMultiException", _param0, _param1, _param2) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 225 | ret0, _ := ret[0].(*thrifttest.Xtruct) |
| 226 | ret1, _ := ret[1].(error) |
| 227 | return ret0, ret1 |
| 228 | } |
| 229 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 230 | // TestMultiException indicates an expected call of TestMultiException |
| 231 | func (_mr *MockThriftTestMockRecorder) TestMultiException(arg0, arg1, arg2 interface{}) *gomock.Call { |
| 232 | return _mr.mock.ctrl.RecordCall(_mr.mock, "TestMultiException", arg0, arg1, arg2) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 233 | } |
| 234 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 235 | // TestNest mocks base method |
| 236 | func (_m *MockThriftTest) TestNest(_param0 context.Context, _param1 *thrifttest.Xtruct2) (*thrifttest.Xtruct2, error) { |
| 237 | ret := _m.ctrl.Call(_m, "TestNest", _param0, _param1) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 238 | ret0, _ := ret[0].(*thrifttest.Xtruct2) |
| 239 | ret1, _ := ret[1].(error) |
| 240 | return ret0, ret1 |
| 241 | } |
| 242 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 243 | // TestNest indicates an expected call of TestNest |
| 244 | func (_mr *MockThriftTestMockRecorder) TestNest(arg0, arg1 interface{}) *gomock.Call { |
| 245 | return _mr.mock.ctrl.RecordCall(_mr.mock, "TestNest", arg0, arg1) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 246 | } |
| 247 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 248 | // TestOneway mocks base method |
| 249 | func (_m *MockThriftTest) TestOneway(_param0 context.Context, _param1 int32) error { |
| 250 | ret := _m.ctrl.Call(_m, "TestOneway", _param0, _param1) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 251 | ret0, _ := ret[0].(error) |
| 252 | return ret0 |
| 253 | } |
| 254 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 255 | // TestOneway indicates an expected call of TestOneway |
| 256 | func (_mr *MockThriftTestMockRecorder) TestOneway(arg0, arg1 interface{}) *gomock.Call { |
| 257 | return _mr.mock.ctrl.RecordCall(_mr.mock, "TestOneway", arg0, arg1) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 258 | } |
| 259 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 260 | // TestSet mocks base method |
| 261 | func (_m *MockThriftTest) TestSet(_param0 context.Context, _param1 []int32) ([]int32, error) { |
| 262 | ret := _m.ctrl.Call(_m, "TestSet", _param0, _param1) |
D. Can Celasun | 43fb34d | 2017-01-15 10:53:19 +0100 | [diff] [blame] | 263 | ret0, _ := ret[0].([]int32) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 264 | ret1, _ := ret[1].(error) |
| 265 | return ret0, ret1 |
| 266 | } |
| 267 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 268 | // TestSet indicates an expected call of TestSet |
| 269 | func (_mr *MockThriftTestMockRecorder) TestSet(arg0, arg1 interface{}) *gomock.Call { |
| 270 | return _mr.mock.ctrl.RecordCall(_mr.mock, "TestSet", arg0, arg1) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 271 | } |
| 272 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 273 | // TestString mocks base method |
| 274 | func (_m *MockThriftTest) TestString(_param0 context.Context, _param1 string) (string, error) { |
| 275 | ret := _m.ctrl.Call(_m, "TestString", _param0, _param1) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 276 | ret0, _ := ret[0].(string) |
| 277 | ret1, _ := ret[1].(error) |
| 278 | return ret0, ret1 |
| 279 | } |
| 280 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 281 | // TestString indicates an expected call of TestString |
| 282 | func (_mr *MockThriftTestMockRecorder) TestString(arg0, arg1 interface{}) *gomock.Call { |
| 283 | return _mr.mock.ctrl.RecordCall(_mr.mock, "TestString", arg0, arg1) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 284 | } |
| 285 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 286 | // TestStringMap mocks base method |
| 287 | func (_m *MockThriftTest) TestStringMap(_param0 context.Context, _param1 map[string]string) (map[string]string, error) { |
| 288 | ret := _m.ctrl.Call(_m, "TestStringMap", _param0, _param1) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 289 | ret0, _ := ret[0].(map[string]string) |
| 290 | ret1, _ := ret[1].(error) |
| 291 | return ret0, ret1 |
| 292 | } |
| 293 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 294 | // TestStringMap indicates an expected call of TestStringMap |
| 295 | func (_mr *MockThriftTestMockRecorder) TestStringMap(arg0, arg1 interface{}) *gomock.Call { |
| 296 | return _mr.mock.ctrl.RecordCall(_mr.mock, "TestStringMap", arg0, arg1) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 297 | } |
| 298 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 299 | // TestStruct mocks base method |
| 300 | func (_m *MockThriftTest) TestStruct(_param0 context.Context, _param1 *thrifttest.Xtruct) (*thrifttest.Xtruct, error) { |
| 301 | ret := _m.ctrl.Call(_m, "TestStruct", _param0, _param1) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 302 | ret0, _ := ret[0].(*thrifttest.Xtruct) |
| 303 | ret1, _ := ret[1].(error) |
| 304 | return ret0, ret1 |
| 305 | } |
| 306 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 307 | // TestStruct indicates an expected call of TestStruct |
| 308 | func (_mr *MockThriftTestMockRecorder) TestStruct(arg0, arg1 interface{}) *gomock.Call { |
| 309 | return _mr.mock.ctrl.RecordCall(_mr.mock, "TestStruct", arg0, arg1) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 310 | } |
| 311 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 312 | // TestTypedef mocks base method |
| 313 | func (_m *MockThriftTest) TestTypedef(_param0 context.Context, _param1 thrifttest.UserId) (thrifttest.UserId, error) { |
| 314 | ret := _m.ctrl.Call(_m, "TestTypedef", _param0, _param1) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 315 | ret0, _ := ret[0].(thrifttest.UserId) |
| 316 | ret1, _ := ret[1].(error) |
| 317 | return ret0, ret1 |
| 318 | } |
| 319 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 320 | // TestTypedef indicates an expected call of TestTypedef |
| 321 | func (_mr *MockThriftTestMockRecorder) TestTypedef(arg0, arg1 interface{}) *gomock.Call { |
| 322 | return _mr.mock.ctrl.RecordCall(_mr.mock, "TestTypedef", arg0, arg1) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 323 | } |
| 324 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 325 | // TestVoid mocks base method |
| 326 | func (_m *MockThriftTest) TestVoid(_param0 context.Context) error { |
| 327 | ret := _m.ctrl.Call(_m, "TestVoid", _param0) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 328 | ret0, _ := ret[0].(error) |
| 329 | return ret0 |
| 330 | } |
| 331 | |
taozle | c0d384a | 2017-07-17 18:40:42 +0200 | [diff] [blame] | 332 | // TestVoid indicates an expected call of TestVoid |
| 333 | func (_mr *MockThriftTestMockRecorder) TestVoid(arg0 interface{}) *gomock.Call { |
| 334 | return _mr.mock.ctrl.RecordCall(_mr.mock, "TestVoid", arg0) |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 335 | } |