mocks

package
v2.0.0-...-eaed07a Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: Apache-2.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 Usecase

type Usecase struct {
	mock.Mock
}

usecase is an autogenerated mock type for the usecase type

func New

func New(t interface {
	mock.TestingT
	Cleanup(func())
}) *Usecase

newUsecase creates a new instance of usecase. 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 (*Usecase) GetModePowerOff

func (_m *Usecase) GetModePowerOff() (string, error)

GetModePowerOff provides a mock function with given fields:

func (*Usecase) GetTimePowerOff

func (_m *Usecase) GetTimePowerOff() (string, error)

GetTimePowerOff provides a mock function with given fields:

func (*Usecase) IsNeedPowerOff

func (_m *Usecase) IsNeedPowerOff(ctx context.Context, logslevel uint8)

IsNeedPowerOff provides a mock function with given fields: logslevel

func (*Usecase) SetPowerOff

func (_m *Usecase) SetPowerOff(pc entity.MyPc) error

SetPowerOff provides a mock function with given fields: pc

Jump to

Keyboard shortcuts

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