Back to godoc.org
go.uber.org/thriftrw / plugin / plugintest

Package plugintest

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

Overview

Package plugintest is a generated GoMock package.

Index

Package Files

type MockPlugin

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

MockPlugin is a mock of Plugin interface

func NewMockPlugin

func NewMockPlugin(ctrl *gomock.Controller) *MockPlugin

NewMockPlugin creates a new mock instance

func (*MockPlugin) EXPECT

func (m *MockPlugin) EXPECT() *MockPluginMockRecorder

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

func (*MockPlugin) Goodbye

func (m *MockPlugin) Goodbye() error

Goodbye mocks base method

func (*MockPlugin) Handshake

func (m *MockPlugin) Handshake(arg0 *api.HandshakeRequest) (*api.HandshakeResponse, error)

Handshake mocks base method

type MockPluginMockRecorder

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

MockPluginMockRecorder is the mock recorder for MockPlugin

func (*MockPluginMockRecorder) Goodbye

func (mr *MockPluginMockRecorder) Goodbye() *gomock.Call

Goodbye indicates an expected call of Goodbye

func (*MockPluginMockRecorder) Handshake

func (mr *MockPluginMockRecorder) Handshake(arg0 interface{}) *gomock.Call

Handshake indicates an expected call of Handshake

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

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

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

Jump to identifier

Keyboard shortcuts

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