mocks

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Converter

type Converter struct {
	mock.Mock
}

Converter is an autogenerated mock type for the Converter type

func NewConverter

func NewConverter(t mockConstructorTestingTNewConverter) *Converter

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

func (*Converter) Convert

func (_m *Converter) Convert(_a0 file.Info) (string, error)

Convert provides a mock function with given fields: _a0

func (*Converter) SetNext

func (_m *Converter) SetNext(_a0 file.Converter)

SetNext provides a mock function with given fields: _a0

type Source

type Source struct {
	mock.Mock
}

Source is an autogenerated mock type for the Source type

func NewSource

func NewSource(t mockConstructorTestingTNewSource) *Source

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

func (*Source) GetFiles

func (_m *Source) GetFiles() ([]file.Info, error)

GetFiles provides a mock function with given fields:

type Subscriber

type Subscriber struct {
	mock.Mock
}

Subscriber is an autogenerated mock type for the Subscriber type

func NewSubscriber

func NewSubscriber(t mockConstructorTestingTNewSubscriber) *Subscriber

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

func (*Subscriber) Notify

func (_m *Subscriber) Notify(_a0 observer.Event)

Notify provides a mock function with given fields: _a0

type Target

type Target struct {
	mock.Mock
}

Target is an autogenerated mock type for the Target type

func NewTarget

func NewTarget(t mockConstructorTestingTNewTarget) *Target

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

func (*Target) Acquire

func (_m *Target) Acquire(info file.Info, newName string) error

Rename provides a mock function with given fields: info, newName

Jump to

Keyboard shortcuts

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