aggregatemock

package
v0.5.25 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SampleEncodeCloser

type SampleEncodeCloser struct {
	mock.Mock
}

SampleEncodeCloser is an autogenerated mock type for the SampleEncodeCloser type

func NewSampleEncodeCloser added in v0.5.4

func NewSampleEncodeCloser(t mockConstructorTestingTNewSampleEncodeCloser) *SampleEncodeCloser

NewSampleEncodeCloser creates a new instance of SampleEncodeCloser. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*SampleEncodeCloser) Close

func (_m *SampleEncodeCloser) Close() error

Close provides a mock function with given fields:

func (*SampleEncodeCloser) Encode

func (_m *SampleEncodeCloser) Encode(s core.Sample) error

Encode provides a mock function with given fields: s

func (*SampleEncodeCloser) Flush

func (_m *SampleEncodeCloser) Flush() error

Flush provides a mock function with given fields:

type SampleEncoder

type SampleEncoder struct {
	mock.Mock
}

SampleEncoder is an autogenerated mock type for the SampleEncoder type

func NewSampleEncoder added in v0.5.4

func NewSampleEncoder(t mockConstructorTestingTNewSampleEncoder) *SampleEncoder

NewSampleEncoder creates a new instance of SampleEncoder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*SampleEncoder) Encode

func (_m *SampleEncoder) Encode(s core.Sample) error

Encode provides a mock function with given fields: s

func (*SampleEncoder) Flush

func (_m *SampleEncoder) Flush() error

Flush provides a mock function with given fields:

Jump to

Keyboard shortcuts

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