mocks

package
v3.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	mock.Mock
}

Application is an autogenerated mock type for the Application type

func NewApplication

func NewApplication(t mockConstructorTestingTNewApplication) *Application

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

func (*Application) IsBackground

func (_m *Application) IsBackground() bool

IsBackground provides a mock function with given fields:

func (*Application) Priority

func (_m *Application) Priority() int

Priority provides a mock function with given fields:

func (*Application) Run

func (_m *Application) Run(servers []configs.Server)

Run provides a mock function with given fields: servers

Jump to

Keyboard shortcuts

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