mock

package
v0.37.21-tts Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetStateCommitmentFunc added in v0.26.1

type GetStateCommitmentFunc struct {
	mock.Mock
}

GetStateCommitmentFunc is an autogenerated mock type for the GetStateCommitmentFunc type

func NewGetStateCommitmentFunc added in v0.26.1

func NewGetStateCommitmentFunc(t interface {
	mock.TestingT
	Cleanup(func())
}) *GetStateCommitmentFunc

NewGetStateCommitmentFunc creates a new instance of GetStateCommitmentFunc. 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 (*GetStateCommitmentFunc) Execute added in v0.26.1

Execute provides a mock function with given fields:

type ReportWriter

type ReportWriter struct {
	mock.Mock
}

ReportWriter is an autogenerated mock type for the ReportWriter type

func NewReportWriter added in v0.26.1

func NewReportWriter(t interface {
	mock.TestingT
	Cleanup(func())
}) *ReportWriter

NewReportWriter creates a new instance of ReportWriter. 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 (*ReportWriter) Close

func (_m *ReportWriter) Close()

Close provides a mock function with given fields:

func (*ReportWriter) Write

func (_m *ReportWriter) Write(dataPoint interface{})

Write provides a mock function with given fields: dataPoint

type ReportWriterFactory

type ReportWriterFactory struct {
	mock.Mock
}

ReportWriterFactory is an autogenerated mock type for the ReportWriterFactory type

func NewReportWriterFactory added in v0.26.1

func NewReportWriterFactory(t interface {
	mock.TestingT
	Cleanup(func())
}) *ReportWriterFactory

NewReportWriterFactory creates a new instance of ReportWriterFactory. 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 (*ReportWriterFactory) ReportWriter

func (_m *ReportWriterFactory) ReportWriter(dataNamespace string) reporters.ReportWriter

ReportWriter provides a mock function with given fields: dataNamespace

Jump to

Keyboard shortcuts

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