testing

package
v1.9.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package testing is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInterface

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

MockInterface is a mock of Interface interface.

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) Dial

func (m *MockInterface) Dial(arg0 string, arg1 ...grpc.DialOption) (*grpc.ClientConn, error)

Dial mocks base method.

func (*MockInterface) DialContext

func (m *MockInterface) DialContext(arg0 context.Context, arg1 string, arg2 ...grpc.DialOption) (*grpc.ClientConn, error)

DialContext mocks base method.

func (*MockInterface) EXPECT

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

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) Dial

func (mr *MockInterfaceMockRecorder) Dial(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Dial indicates an expected call of Dial.

func (*MockInterfaceMockRecorder) DialContext

func (mr *MockInterfaceMockRecorder) DialContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

DialContext indicates an expected call of DialContext.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL