multiwritermock

package
v0.0.0-...-da9a336 Latest Latest
Warning

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

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

Documentation

Overview

Package multiwritermock creates the mock mulitwriter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDocumentIOMultiWriter

type MockDocumentIOMultiWriter struct {
	mock.Mock
}

MockDocumentIOMultiWriter mocks a document multi-writer.

func (*MockDocumentIOMultiWriter) AddWriter

func (m *MockDocumentIOMultiWriter) AddWriter(writer *io.PipeWriter)

AddWriter is a mocked method that just returns what mock tells it to.

func (*MockDocumentIOMultiWriter) Close

func (m *MockDocumentIOMultiWriter) Close() (err error)

Close is a mocked method that just returns what mock tells it to.

func (*MockDocumentIOMultiWriter) GetWaitGroup

func (m *MockDocumentIOMultiWriter) GetWaitGroup() (wg *sync.WaitGroup)

GetStreamClosedChannel is a mocked method that just returns what mock tells it to.

func (*MockDocumentIOMultiWriter) Write

func (m *MockDocumentIOMultiWriter) Write(p []byte) (n int, err error)

Write is a mocked method that just returns what mock tells it to.

func (*MockDocumentIOMultiWriter) WriteString

func (m *MockDocumentIOMultiWriter) WriteString(message string) (n int, err error)

WriteString is a mocked method that just returns what mock tells it to.

Jump to

Keyboard shortcuts

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