mocks

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: GPL-3.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 DocumentService_GeneratePreviewServer

type DocumentService_GeneratePreviewServer struct {
	mock.Mock
}

DocumentService_GeneratePreviewServer is an autogenerated mock type for the DocumentService_GeneratePreviewServer type

func NewDocumentService_GeneratePreviewServer

func NewDocumentService_GeneratePreviewServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *DocumentService_GeneratePreviewServer

NewDocumentService_GeneratePreviewServer creates a new instance of DocumentService_GeneratePreviewServer. 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 (*DocumentService_GeneratePreviewServer) Context

Context provides a mock function with given fields:

func (*DocumentService_GeneratePreviewServer) EXPECT

func (*DocumentService_GeneratePreviewServer) RecvMsg

func (_m *DocumentService_GeneratePreviewServer) RecvMsg(m interface{}) error

RecvMsg provides a mock function with given fields: m

func (*DocumentService_GeneratePreviewServer) Send

Send provides a mock function with given fields: _a0

func (*DocumentService_GeneratePreviewServer) SendHeader

SendHeader provides a mock function with given fields: _a0

func (*DocumentService_GeneratePreviewServer) SendMsg

func (_m *DocumentService_GeneratePreviewServer) SendMsg(m interface{}) error

SendMsg provides a mock function with given fields: m

func (*DocumentService_GeneratePreviewServer) SetHeader

SetHeader provides a mock function with given fields: _a0

func (*DocumentService_GeneratePreviewServer) SetTrailer

SetTrailer provides a mock function with given fields: _a0

type DocumentService_GeneratePreviewServer_Context_Call

type DocumentService_GeneratePreviewServer_Context_Call struct {
	*mock.Call
}

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

func (*DocumentService_GeneratePreviewServer_Context_Call) Return

func (*DocumentService_GeneratePreviewServer_Context_Call) Run

func (*DocumentService_GeneratePreviewServer_Context_Call) RunAndReturn

type DocumentService_GeneratePreviewServer_Expecter

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

func (*DocumentService_GeneratePreviewServer_Expecter) Context

Context is a helper method to define mock.On call

func (*DocumentService_GeneratePreviewServer_Expecter) RecvMsg

RecvMsg is a helper method to define mock.On call

  • m interface{}

func (*DocumentService_GeneratePreviewServer_Expecter) Send

Send is a helper method to define mock.On call

  • _a0 *v1.GeneratePreviewResponse

func (*DocumentService_GeneratePreviewServer_Expecter) SendHeader

SendHeader is a helper method to define mock.On call

  • _a0 metadata.MD

func (*DocumentService_GeneratePreviewServer_Expecter) SendMsg

SendMsg is a helper method to define mock.On call

  • m interface{}

func (*DocumentService_GeneratePreviewServer_Expecter) SetHeader

SetHeader is a helper method to define mock.On call

  • _a0 metadata.MD

func (*DocumentService_GeneratePreviewServer_Expecter) SetTrailer

SetTrailer is a helper method to define mock.On call

  • _a0 metadata.MD

type DocumentService_GeneratePreviewServer_RecvMsg_Call

type DocumentService_GeneratePreviewServer_RecvMsg_Call struct {
	*mock.Call
}

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

func (*DocumentService_GeneratePreviewServer_RecvMsg_Call) Return

func (*DocumentService_GeneratePreviewServer_RecvMsg_Call) Run

func (*DocumentService_GeneratePreviewServer_RecvMsg_Call) RunAndReturn

type DocumentService_GeneratePreviewServer_SendHeader_Call

type DocumentService_GeneratePreviewServer_SendHeader_Call struct {
	*mock.Call
}

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

func (*DocumentService_GeneratePreviewServer_SendHeader_Call) Return

func (*DocumentService_GeneratePreviewServer_SendHeader_Call) Run

func (*DocumentService_GeneratePreviewServer_SendHeader_Call) RunAndReturn

type DocumentService_GeneratePreviewServer_SendMsg_Call

type DocumentService_GeneratePreviewServer_SendMsg_Call struct {
	*mock.Call
}

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

func (*DocumentService_GeneratePreviewServer_SendMsg_Call) Return

func (*DocumentService_GeneratePreviewServer_SendMsg_Call) Run

func (*DocumentService_GeneratePreviewServer_SendMsg_Call) RunAndReturn

type DocumentService_GeneratePreviewServer_Send_Call

type DocumentService_GeneratePreviewServer_Send_Call struct {
	*mock.Call
}

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

func (*DocumentService_GeneratePreviewServer_Send_Call) Return

func (*DocumentService_GeneratePreviewServer_Send_Call) Run

func (*DocumentService_GeneratePreviewServer_Send_Call) RunAndReturn

type DocumentService_GeneratePreviewServer_SetHeader_Call

type DocumentService_GeneratePreviewServer_SetHeader_Call struct {
	*mock.Call
}

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

func (*DocumentService_GeneratePreviewServer_SetHeader_Call) Return

func (*DocumentService_GeneratePreviewServer_SetHeader_Call) Run

func (*DocumentService_GeneratePreviewServer_SetHeader_Call) RunAndReturn

type DocumentService_GeneratePreviewServer_SetTrailer_Call

type DocumentService_GeneratePreviewServer_SetTrailer_Call struct {
	*mock.Call
}

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

func (*DocumentService_GeneratePreviewServer_SetTrailer_Call) Return

func (*DocumentService_GeneratePreviewServer_SetTrailer_Call) Run

func (*DocumentService_GeneratePreviewServer_SetTrailer_Call) RunAndReturn

Jump to

Keyboard shortcuts

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