mock

package
v0.29.6 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 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

type GetStateCommitmentFunc struct {
	mock.Mock
}

GetStateCommitmentFunc is an autogenerated mock type for the GetStateCommitmentFunc type

func NewGetStateCommitmentFunc

func NewGetStateCommitmentFunc(t mockConstructorTestingTNewGetStateCommitmentFunc) *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.

func (*GetStateCommitmentFunc) Execute

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

func NewReportWriter(t mockConstructorTestingTNewReportWriter) *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.

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

func NewReportWriterFactory(t mockConstructorTestingTNewReportWriterFactory) *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.

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