thriftrw: go.uber.org/thriftrw/thrifttest Index | Files

package thrifttest

import "go.uber.org/thriftrw/thrifttest"

Package thrifttest is a generated GoMock package.

Index

Package Files

gen.go mock_protocol.go

type MockEnvelopeAgnosticProtocol Uses

type MockEnvelopeAgnosticProtocol struct {
    // contains filtered or unexported fields
}

MockEnvelopeAgnosticProtocol is a mock of EnvelopeAgnosticProtocol interface

func NewMockEnvelopeAgnosticProtocol Uses

func NewMockEnvelopeAgnosticProtocol(ctrl *gomock.Controller) *MockEnvelopeAgnosticProtocol

NewMockEnvelopeAgnosticProtocol creates a new mock instance

func (*MockEnvelopeAgnosticProtocol) Decode Uses

func (m *MockEnvelopeAgnosticProtocol) Decode(arg0 io.ReaderAt, arg1 wire.Type) (wire.Value, error)

Decode mocks base method

func (*MockEnvelopeAgnosticProtocol) DecodeEnveloped Uses

func (m *MockEnvelopeAgnosticProtocol) DecodeEnveloped(arg0 io.ReaderAt) (wire.Envelope, error)

DecodeEnveloped mocks base method

func (*MockEnvelopeAgnosticProtocol) DecodeRequest Uses

func (m *MockEnvelopeAgnosticProtocol) DecodeRequest(arg0 wire.EnvelopeType, arg1 io.ReaderAt) (wire.Value, protocol.Responder, error)

DecodeRequest mocks base method

func (*MockEnvelopeAgnosticProtocol) EXPECT Uses

func (m *MockEnvelopeAgnosticProtocol) EXPECT() *MockEnvelopeAgnosticProtocolMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockEnvelopeAgnosticProtocol) Encode Uses

func (m *MockEnvelopeAgnosticProtocol) Encode(arg0 wire.Value, arg1 io.Writer) error

Encode mocks base method

func (*MockEnvelopeAgnosticProtocol) EncodeEnveloped Uses

func (m *MockEnvelopeAgnosticProtocol) EncodeEnveloped(arg0 wire.Envelope, arg1 io.Writer) error

EncodeEnveloped mocks base method

type MockEnvelopeAgnosticProtocolMockRecorder Uses

type MockEnvelopeAgnosticProtocolMockRecorder struct {
    // contains filtered or unexported fields
}

MockEnvelopeAgnosticProtocolMockRecorder is the mock recorder for MockEnvelopeAgnosticProtocol

func (*MockEnvelopeAgnosticProtocolMockRecorder) Decode Uses

func (mr *MockEnvelopeAgnosticProtocolMockRecorder) Decode(arg0, arg1 interface{}) *gomock.Call

Decode indicates an expected call of Decode

func (*MockEnvelopeAgnosticProtocolMockRecorder) DecodeEnveloped Uses

func (mr *MockEnvelopeAgnosticProtocolMockRecorder) DecodeEnveloped(arg0 interface{}) *gomock.Call

DecodeEnveloped indicates an expected call of DecodeEnveloped

func (*MockEnvelopeAgnosticProtocolMockRecorder) DecodeRequest Uses

func (mr *MockEnvelopeAgnosticProtocolMockRecorder) DecodeRequest(arg0, arg1 interface{}) *gomock.Call

DecodeRequest indicates an expected call of DecodeRequest

func (*MockEnvelopeAgnosticProtocolMockRecorder) Encode Uses

func (mr *MockEnvelopeAgnosticProtocolMockRecorder) Encode(arg0, arg1 interface{}) *gomock.Call

Encode indicates an expected call of Encode

func (*MockEnvelopeAgnosticProtocolMockRecorder) EncodeEnveloped Uses

func (mr *MockEnvelopeAgnosticProtocolMockRecorder) EncodeEnveloped(arg0, arg1 interface{}) *gomock.Call

EncodeEnveloped indicates an expected call of EncodeEnveloped

type MockProtocol Uses

type MockProtocol struct {
    // contains filtered or unexported fields
}

MockProtocol is a mock of Protocol interface

func NewMockProtocol Uses

func NewMockProtocol(ctrl *gomock.Controller) *MockProtocol

NewMockProtocol creates a new mock instance

func (*MockProtocol) Decode Uses

func (m *MockProtocol) Decode(arg0 io.ReaderAt, arg1 wire.Type) (wire.Value, error)

Decode mocks base method

func (*MockProtocol) DecodeEnveloped Uses

func (m *MockProtocol) DecodeEnveloped(arg0 io.ReaderAt) (wire.Envelope, error)

DecodeEnveloped mocks base method

func (*MockProtocol) EXPECT Uses

func (m *MockProtocol) EXPECT() *MockProtocolMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockProtocol) Encode Uses

func (m *MockProtocol) Encode(arg0 wire.Value, arg1 io.Writer) error

Encode mocks base method

func (*MockProtocol) EncodeEnveloped Uses

func (m *MockProtocol) EncodeEnveloped(arg0 wire.Envelope, arg1 io.Writer) error

EncodeEnveloped mocks base method

type MockProtocolMockRecorder Uses

type MockProtocolMockRecorder struct {
    // contains filtered or unexported fields
}

MockProtocolMockRecorder is the mock recorder for MockProtocol

func (*MockProtocolMockRecorder) Decode Uses

func (mr *MockProtocolMockRecorder) Decode(arg0, arg1 interface{}) *gomock.Call

Decode indicates an expected call of Decode

func (*MockProtocolMockRecorder) DecodeEnveloped Uses

func (mr *MockProtocolMockRecorder) DecodeEnveloped(arg0 interface{}) *gomock.Call

DecodeEnveloped indicates an expected call of DecodeEnveloped

func (*MockProtocolMockRecorder) Encode Uses

func (mr *MockProtocolMockRecorder) Encode(arg0, arg1 interface{}) *gomock.Call

Encode indicates an expected call of Encode

func (*MockProtocolMockRecorder) EncodeEnveloped Uses

func (mr *MockProtocolMockRecorder) EncodeEnveloped(arg0, arg1 interface{}) *gomock.Call

EncodeEnveloped indicates an expected call of EncodeEnveloped

type MockResponder Uses

type MockResponder struct {
    // contains filtered or unexported fields
}

MockResponder is a mock of Responder interface

func NewMockResponder Uses

func NewMockResponder(ctrl *gomock.Controller) *MockResponder

NewMockResponder creates a new mock instance

func (*MockResponder) EXPECT Uses

func (m *MockResponder) EXPECT() *MockResponderMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockResponder) EncodeResponse Uses

func (m *MockResponder) EncodeResponse(arg0 wire.Value, arg1 wire.EnvelopeType, arg2 io.Writer) error

EncodeResponse mocks base method

type MockResponderMockRecorder Uses

type MockResponderMockRecorder struct {
    // contains filtered or unexported fields
}

MockResponderMockRecorder is the mock recorder for MockResponder

func (*MockResponderMockRecorder) EncodeResponse Uses

func (mr *MockResponderMockRecorder) EncodeResponse(arg0, arg1, arg2 interface{}) *gomock.Call

EncodeResponse indicates an expected call of EncodeResponse

Package thrifttest imports 5 packages (graph). Updated 2020-01-24. Refresh now. Tools for package owners.