Back to godoc.org

Package handletest

v1.24.0
Latest Go to latest
Published: Jun 24, 2020 | License: MIT | Module: go.uber.org/thriftrw

Overview

Package handletest is a generated GoMock package.

Index

Package Files

type MockHandle

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

MockHandle is a mock of Handle interface

func NewMockHandle

func NewMockHandle(ctrl *gomock.Controller) *MockHandle

NewMockHandle creates a new mock instance

func (*MockHandle) Close

func (m *MockHandle) Close() error

Close mocks base method

func (*MockHandle) EXPECT

func (m *MockHandle) EXPECT() *MockHandleMockRecorder

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

func (*MockHandle) Name

func (m *MockHandle) Name() string

Name mocks base method

func (*MockHandle) ServiceGenerator

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

ServiceGenerator mocks base method

type MockHandleMockRecorder

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

MockHandleMockRecorder is the mock recorder for MockHandle

func (*MockHandleMockRecorder) Close

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

Close indicates an expected call of Close

func (*MockHandleMockRecorder) Name

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

Name indicates an expected call of Name

func (*MockHandleMockRecorder) ServiceGenerator

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

ServiceGenerator indicates an expected call of ServiceGenerator

type MockServiceGenerator

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

MockServiceGenerator is a mock of ServiceGenerator interface

func NewMockServiceGenerator

func NewMockServiceGenerator(ctrl *gomock.Controller) *MockServiceGenerator

NewMockServiceGenerator creates a new mock instance

func (*MockServiceGenerator) EXPECT

func (m *MockServiceGenerator) EXPECT() *MockServiceGeneratorMockRecorder

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

func (*MockServiceGenerator) Generate

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

Generate mocks base method

func (*MockServiceGenerator) Handle

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

Handle mocks base method

type MockServiceGeneratorMockRecorder

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

MockServiceGeneratorMockRecorder is the mock recorder for MockServiceGenerator

func (*MockServiceGeneratorMockRecorder) Generate

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

Generate indicates an expected call of Generate

func (*MockServiceGeneratorMockRecorder) Handle

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

Handle indicates an expected call of Handle

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier