thriftrw: go.uber.org/thriftrw/internal/plugin/handletest Index | Files

package handletest

import "go.uber.org/thriftrw/internal/plugin/handletest"

Package handletest is a generated GoMock package.

Index

Package Files

mock.go

type MockHandle Uses

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

MockHandle is a mock of Handle interface

func NewMockHandle Uses

func NewMockHandle(ctrl *gomock.Controller) *MockHandle

NewMockHandle creates a new mock instance

func (*MockHandle) Close Uses

func (m *MockHandle) Close() error

Close mocks base method

func (*MockHandle) EXPECT Uses

func (m *MockHandle) EXPECT() *MockHandleMockRecorder

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

func (*MockHandle) Name Uses

func (m *MockHandle) Name() string

Name mocks base method

func (*MockHandle) ServiceGenerator Uses

func (m *MockHandle) ServiceGenerator() plugin.ServiceGenerator

ServiceGenerator mocks base method

type MockHandleMockRecorder Uses

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

MockHandleMockRecorder is the mock recorder for MockHandle

func (*MockHandleMockRecorder) Close Uses

func (mr *MockHandleMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockHandleMockRecorder) Name Uses

func (mr *MockHandleMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name

func (*MockHandleMockRecorder) ServiceGenerator Uses

func (mr *MockHandleMockRecorder) ServiceGenerator() *gomock.Call

ServiceGenerator indicates an expected call of ServiceGenerator

type MockServiceGenerator Uses

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

MockServiceGenerator is a mock of ServiceGenerator interface

func NewMockServiceGenerator Uses

func NewMockServiceGenerator(ctrl *gomock.Controller) *MockServiceGenerator

NewMockServiceGenerator creates a new mock instance

func (*MockServiceGenerator) EXPECT Uses

func (m *MockServiceGenerator) EXPECT() *MockServiceGeneratorMockRecorder

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

func (*MockServiceGenerator) Generate Uses

func (m *MockServiceGenerator) Generate(arg0 *api.GenerateServiceRequest) (*api.GenerateServiceResponse, error)

Generate mocks base method

func (*MockServiceGenerator) Handle Uses

func (m *MockServiceGenerator) Handle() plugin.Handle

Handle mocks base method

type MockServiceGeneratorMockRecorder Uses

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

MockServiceGeneratorMockRecorder is the mock recorder for MockServiceGenerator

func (*MockServiceGeneratorMockRecorder) Generate Uses

func (mr *MockServiceGeneratorMockRecorder) Generate(arg0 interface{}) *gomock.Call

Generate indicates an expected call of Generate

func (*MockServiceGeneratorMockRecorder) Handle Uses

func (mr *MockServiceGeneratorMockRecorder) Handle() *gomock.Call

Handle indicates an expected call of Handle

Package handletest imports 4 packages (graph). Updated 2020-01-26. Refresh now. Tools for package owners.