Searched refs:MockTProtocol (Results 1 – 2 of 2) sorted by relevance
/thrift-3.4.0/lib/go/test/tests/ |
D | protocol_mock.go | 16 type MockTProtocol struct { struct 23 mock *MockTProtocol 27 func NewMockTProtocol(ctrl *gomock.Controller) *MockTProtocol { 28 mock := &MockTProtocol{ctrl: ctrl} 34 func (m *MockTProtocol) EXPECT() *MockTProtocolMockRecorder { argument 39 func (m *MockTProtocol) Flush(arg0 context.Context) error { argument 49 …return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Flush", reflect.TypeOf((*MockTProtocol)(nil… 53 func (m *MockTProtocol) ReadBinary(arg0 context.Context) ([]byte, error) { argument 64 …return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadBinary", reflect.TypeOf((*MockTProtocol… 68 func (m *MockTProtocol) ReadBool(arg0 context.Context) (bool, error) { argument [all …]
|
D | client_error_test.go | 35 func prepareClientCallReply(protocol *MockTProtocol, failAt int, failWith error) bool { argument 548 func prepareClientCallException(protocol *MockTProtocol, failAt int, failWith error) bool { argument
|