thriftrw: go.uber.org/thriftrw/plugin/plugintest Index | Files

package plugintest

import "go.uber.org/thriftrw/plugin/plugintest"

Package plugintest is a generated GoMock package.

Index

Package Files

api.go

type MockPlugin Uses

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

MockPlugin is a mock of Plugin interface

func NewMockPlugin Uses

func NewMockPlugin(ctrl *gomock.Controller) *MockPlugin

NewMockPlugin creates a new mock instance

func (*MockPlugin) EXPECT Uses

func (m *MockPlugin) EXPECT() *MockPluginMockRecorder

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

func (*MockPlugin) Goodbye Uses

func (m *MockPlugin) Goodbye() error

Goodbye mocks base method

func (*MockPlugin) Handshake Uses

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

Handshake mocks base method

type MockPluginMockRecorder Uses

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

MockPluginMockRecorder is the mock recorder for MockPlugin

func (*MockPluginMockRecorder) Goodbye Uses

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

Goodbye indicates an expected call of Goodbye

func (*MockPluginMockRecorder) Handshake Uses

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

Handshake indicates an expected call of Handshake

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

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

Package plugintest imports 3 packages (graph). Updated 2020-01-22. Refresh now. Tools for package owners.