Home
last modified time | relevance | path

Searched refs:MockTProtocol (Results 1 – 2 of 2) sorted by relevance

/thrift-3.4.0/lib/go/test/tests/
Dprotocol_mock.go16 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 …]
Dclient_error_test.go35 func prepareClientCallReply(protocol *MockTProtocol, failAt int, failWith error) bool { argument
548 func prepareClientCallException(protocol *MockTProtocol, failAt int, failWith error) bool { argument