mocks

package
v0.0.0-...-f7ea94f Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	mock.Mock
}

Logger is an autogenerated mock type for the Logger type

func NewLogger

func NewLogger(t interface {
	mock.TestingT
	Cleanup(func())
}) *Logger

NewLogger creates a new instance of Logger. 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 (*Logger) Debugf

func (_m *Logger) Debugf(format string, v ...interface{})

Debugf provides a mock function with given fields: format, v

func (*Logger) Donef

func (_m *Logger) Donef(format string, v ...interface{})

Donef provides a mock function with given fields: format, v

func (*Logger) EnableDebugLog

func (_m *Logger) EnableDebugLog(enable bool)

EnableDebugLog provides a mock function with given fields: enable

func (*Logger) Errorf

func (_m *Logger) Errorf(format string, v ...interface{})

Errorf provides a mock function with given fields: format, v

func (*Logger) Infof

func (_m *Logger) Infof(format string, v ...interface{})

Infof provides a mock function with given fields: format, v

func (*Logger) Printf

func (_m *Logger) Printf(format string, v ...interface{})

Printf provides a mock function with given fields: format, v

func (*Logger) Println

func (_m *Logger) Println()

Println provides a mock function with no fields

func (*Logger) TDebugf

func (_m *Logger) TDebugf(format string, v ...interface{})

TDebugf provides a mock function with given fields: format, v

func (*Logger) TDonef

func (_m *Logger) TDonef(format string, v ...interface{})

TDonef provides a mock function with given fields: format, v

func (*Logger) TErrorf

func (_m *Logger) TErrorf(format string, v ...interface{})

TErrorf provides a mock function with given fields: format, v

func (*Logger) TInfof

func (_m *Logger) TInfof(format string, v ...interface{})

TInfof provides a mock function with given fields: format, v

func (*Logger) TPrintf

func (_m *Logger) TPrintf(format string, v ...interface{})

TPrintf provides a mock function with given fields: format, v

func (*Logger) TWarnf

func (_m *Logger) TWarnf(format string, v ...interface{})

TWarnf provides a mock function with given fields: format, v

func (*Logger) Warnf

func (_m *Logger) Warnf(format string, v ...interface{})

Warnf provides a mock function with given fields: format, v

type OutputExporter

type OutputExporter struct {
	mock.Mock
}

OutputExporter is an autogenerated mock type for the OutputExporter type

func NewOutputExporter

func NewOutputExporter(t interface {
	mock.TestingT
	Cleanup(func())
}) *OutputExporter

NewOutputExporter creates a new instance of OutputExporter. 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 (*OutputExporter) ExportOutput

func (_m *OutputExporter) ExportOutput(key string, value string) error

ExportOutput provides a mock function with given fields: key, value

Jump to

Keyboard shortcuts

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