mockui

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2023 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 ContainerizedInterface

type ContainerizedInterface struct {
	mock.Mock
}

ContainerizedInterface is an autogenerated mock type for the ContainerizedInterface type

func NewContainerizedInterface

func NewContainerizedInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *ContainerizedInterface

NewContainerizedInterface creates a new instance of ContainerizedInterface. 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 (*ContainerizedInterface) Children

func (_m *ContainerizedInterface) Children() []string

Children provides a mock function with given fields:

func (*ContainerizedInterface) FocusChild

func (_m *ContainerizedInterface) FocusChild(_a0 string)

FocusChild provides a mock function with given fields: _a0

func (*ContainerizedInterface) Focused

func (_m *ContainerizedInterface) Focused() string

Focused provides a mock function with given fields:

func (*ContainerizedInterface) Next

func (_m *ContainerizedInterface) Next() string

Next provides a mock function with given fields:

type FocusableInterface

type FocusableInterface struct {
	mock.Mock
}

FocusableInterface is an autogenerated mock type for the FocusableInterface type

func NewFocusableInterface

func NewFocusableInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *FocusableInterface

NewFocusableInterface creates a new instance of FocusableInterface. 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 (*FocusableInterface) Blur

func (_m *FocusableInterface) Blur()

Blur provides a mock function with given fields:

func (*FocusableInterface) Focus

func (_m *FocusableInterface) Focus()

Focus provides a mock function with given fields:

type Notifier

type Notifier struct {
	mock.Mock
}

Notifier is an autogenerated mock type for the Notifier type

func NewNotifier

func NewNotifier(t interface {
	mock.TestingT
	Cleanup(func())
}) *Notifier

NewNotifier creates a new instance of Notifier. 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 (*Notifier) Error

func (_m *Notifier) Error(msg string)

Error provides a mock function with given fields: msg

func (*Notifier) Info

func (_m *Notifier) Info(msg string)

Info provides a mock function with given fields: msg

func (*Notifier) Warn

func (_m *Notifier) Warn(msg string)

Warn provides a mock function with given fields: msg

type Refreshable

type Refreshable struct {
	mock.Mock
}

Refreshable is an autogenerated mock type for the Refreshable type

func NewRefreshable

func NewRefreshable(t interface {
	mock.TestingT
	Cleanup(func())
}) *Refreshable

NewRefreshable creates a new instance of Refreshable. 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 (*Refreshable) FetchTasks

func (_m *Refreshable) FetchTasks(isHardRefresh bool) tea.Cmd

FetchTasks provides a mock function with given fields: isHardRefresh

type ResizeInterface

type ResizeInterface struct {
	mock.Mock
}

ResizeInterface is an autogenerated mock type for the ResizeInterface type

func NewResizeInterface

func NewResizeInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *ResizeInterface

NewResizeInterface creates a new instance of ResizeInterface. 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 (*ResizeInterface) Resize

func (_m *ResizeInterface) Resize(width int, height int)

Resize provides a mock function with given fields: width, height

type VisibleInterface

type VisibleInterface struct {
	mock.Mock
}

VisibleInterface is an autogenerated mock type for the VisibleInterface type

func NewVisibleInterface

func NewVisibleInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *VisibleInterface

NewVisibleInterface creates a new instance of VisibleInterface. 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 (*VisibleInterface) Hide

func (_m *VisibleInterface) Hide()

Hide provides a mock function with given fields:

func (*VisibleInterface) IsVisible

func (_m *VisibleInterface) IsVisible() bool

IsVisible provides a mock function with given fields:

func (*VisibleInterface) Show

func (_m *VisibleInterface) Show()

Show provides a mock function with given fields:

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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