mocks

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockParserServiceClient

type MockParserServiceClient struct {
	mock.Mock
}

MockParserServiceClient is an autogenerated mock type for the ParserServiceClient type

func NewMockParserServiceClient

func NewMockParserServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockParserServiceClient

NewMockParserServiceClient creates a new instance of MockParserServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockParserServiceClient) EXPECT

func (*MockParserServiceClient) Initialize

Initialize provides a mock function for the type MockParserServiceClient

func (*MockParserServiceClient) Parse

Parse provides a mock function for the type MockParserServiceClient

func (*MockParserServiceClient) ParseToTree added in v0.0.7

ParseToTree provides a mock function for the type MockParserServiceClient

type MockParserServiceClient_Expecter

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

func (*MockParserServiceClient_Expecter) Initialize

func (_e *MockParserServiceClient_Expecter) Initialize(ctx interface{}, in interface{}, opts ...interface{}) *MockParserServiceClient_Initialize_Call

Initialize is a helper method to define mock.On call

  • ctx context.Context
  • in *api.InitializeRequest
  • opts ...grpc.CallOption

func (*MockParserServiceClient_Expecter) Parse

func (_e *MockParserServiceClient_Expecter) Parse(ctx interface{}, in interface{}, opts ...interface{}) *MockParserServiceClient_Parse_Call

Parse is a helper method to define mock.On call

  • ctx context.Context
  • in *api.ParseRequest
  • opts ...grpc.CallOption

func (*MockParserServiceClient_Expecter) ParseToTree added in v0.0.7

func (_e *MockParserServiceClient_Expecter) ParseToTree(ctx interface{}, in interface{}, opts ...interface{}) *MockParserServiceClient_ParseToTree_Call

ParseToTree is a helper method to define mock.On call

  • ctx context.Context
  • in *api.ParseToTreeRequest
  • opts ...grpc.CallOption

type MockParserServiceClient_Initialize_Call

type MockParserServiceClient_Initialize_Call struct {
	*mock.Call
}

MockParserServiceClient_Initialize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Initialize'

func (*MockParserServiceClient_Initialize_Call) Return

func (*MockParserServiceClient_Initialize_Call) Run

func (*MockParserServiceClient_Initialize_Call) RunAndReturn

type MockParserServiceClient_ParseToTree_Call added in v0.0.7

type MockParserServiceClient_ParseToTree_Call struct {
	*mock.Call
}

MockParserServiceClient_ParseToTree_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ParseToTree'

func (*MockParserServiceClient_ParseToTree_Call) Return added in v0.0.7

func (*MockParserServiceClient_ParseToTree_Call) Run added in v0.0.7

func (*MockParserServiceClient_ParseToTree_Call) RunAndReturn added in v0.0.7

type MockParserServiceClient_Parse_Call

type MockParserServiceClient_Parse_Call struct {
	*mock.Call
}

MockParserServiceClient_Parse_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Parse'

func (*MockParserServiceClient_Parse_Call) Return

func (*MockParserServiceClient_Parse_Call) Run

func (*MockParserServiceClient_Parse_Call) RunAndReturn

Jump to

Keyboard shortcuts

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