mock_printer

package
v0.0.0-...-e6112dc Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_printer is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPrintService

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

MockPrintService is a mock of PrintService interface.

func NewMockPrintService

func NewMockPrintService(ctrl *gomock.Controller) *MockPrintService

NewMockPrintService creates a new mock instance.

func (*MockPrintService) EXPECT

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

func (*MockPrintService) GetStderr

func (m *MockPrintService) GetStderr() io.Writer

GetStderr mocks base method.

func (*MockPrintService) GetStdout

func (m *MockPrintService) GetStdout() io.Writer

GetStdout mocks base method.

func (*MockPrintService) Print

func (m *MockPrintService) Print(arg0 interface{}) error

Print mocks base method.

func (*MockPrintService) SetStderr

func (m *MockPrintService) SetStderr(arg0 io.Writer)

SetStderr mocks base method.

func (*MockPrintService) SetStdout

func (m *MockPrintService) SetStdout(arg0 io.Writer)

SetStdout mocks base method.

func (*MockPrintService) Verbose

func (m *MockPrintService) Verbose(format string, a ...interface{})

Verbose mocks base method.

func (*MockPrintService) Warn

func (m *MockPrintService) Warn(arg0 interface{}) error

Warn mocks base method.

type MockPrintServiceMockRecorder

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

MockPrintServiceMockRecorder is the mock recorder for MockPrintService.

func (*MockPrintServiceMockRecorder) GetStderr

func (mr *MockPrintServiceMockRecorder) GetStderr() *gomock.Call

GetStderr indicates an expected call of GetStderr.

func (*MockPrintServiceMockRecorder) GetStdout

func (mr *MockPrintServiceMockRecorder) GetStdout() *gomock.Call

GetStdout indicates an expected call of GetStdout.

func (*MockPrintServiceMockRecorder) Print

func (mr *MockPrintServiceMockRecorder) Print(arg0 interface{}) *gomock.Call

Print indicates an expected call of Print.

func (*MockPrintServiceMockRecorder) SetStderr

func (mr *MockPrintServiceMockRecorder) SetStderr(arg0 interface{}) *gomock.Call

SetStderr indicates an expected call of SetStderr.

func (*MockPrintServiceMockRecorder) SetStdout

func (mr *MockPrintServiceMockRecorder) SetStdout(arg0 interface{}) *gomock.Call

SetStdout indicates an expected call of SetStdout.

func (*MockPrintServiceMockRecorder) Verbose

func (mr *MockPrintServiceMockRecorder) Verbose(format interface{}, a ...interface{}) *gomock.Call

Verbose indicates an expected call of Verbose.

func (*MockPrintServiceMockRecorder) Warn

func (mr *MockPrintServiceMockRecorder) Warn(arg0 interface{}) *gomock.Call

Warn indicates an expected call of Warn.

Jump to

Keyboard shortcuts

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