mocks

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockApplication

type MockApplication struct {
	// contains filtered or unexported fields
}

MockApplication is a mock of Application interface.

func NewMockApplication

func NewMockApplication(ctrl *gomock.Controller) *MockApplication

NewMockApplication creates a new mock instance.

func (*MockApplication) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockApplication) EnableMouse

func (m *MockApplication) EnableMouse(enable bool) *tview.Application

EnableMouse mocks base method.

func (*MockApplication) QueueUpdateDraw

func (m *MockApplication) QueueUpdateDraw(f func()) *tview.Application

QueueUpdateDraw mocks base method.

func (*MockApplication) SetFocus

SetFocus mocks base method.

func (*MockApplication) SetInputCapture

func (m *MockApplication) SetInputCapture(capture func(*tcell.EventKey) *tcell.EventKey) *tview.Application

SetInputCapture mocks base method.

func (*MockApplication) SetRoot

func (m *MockApplication) SetRoot(root tview.Primitive, fullscreen bool) *tview.Application

SetRoot mocks base method.

func (*MockApplication) Stop

func (m *MockApplication) Stop()

Stop mocks base method.

type MockApplicationMockRecorder

type MockApplicationMockRecorder struct {
	// contains filtered or unexported fields
}

MockApplicationMockRecorder is the mock recorder for MockApplication.

func (*MockApplicationMockRecorder) EnableMouse

func (mr *MockApplicationMockRecorder) EnableMouse(enable any) *gomock.Call

EnableMouse indicates an expected call of EnableMouse.

func (*MockApplicationMockRecorder) QueueUpdateDraw

func (mr *MockApplicationMockRecorder) QueueUpdateDraw(f any) *gomock.Call

QueueUpdateDraw indicates an expected call of QueueUpdateDraw.

func (*MockApplicationMockRecorder) SetFocus

func (mr *MockApplicationMockRecorder) SetFocus(p any) *gomock.Call

SetFocus indicates an expected call of SetFocus.

func (*MockApplicationMockRecorder) SetInputCapture

func (mr *MockApplicationMockRecorder) SetInputCapture(capture any) *gomock.Call

SetInputCapture indicates an expected call of SetInputCapture.

func (*MockApplicationMockRecorder) SetRoot

func (mr *MockApplicationMockRecorder) SetRoot(root, fullscreen any) *gomock.Call

SetRoot indicates an expected call of SetRoot.

func (*MockApplicationMockRecorder) Stop

Stop indicates an expected call of Stop.

type MockClipboard

type MockClipboard struct {
	// contains filtered or unexported fields
}

MockClipboard is a mock of Clipboard interface.

func NewMockClipboard

func NewMockClipboard(ctrl *gomock.Controller) *MockClipboard

NewMockClipboard creates a new mock instance.

func (*MockClipboard) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockClipboard) WriteAll

func (m *MockClipboard) WriteAll(text string) error

WriteAll mocks base method.

type MockClipboardMockRecorder

type MockClipboardMockRecorder struct {
	// contains filtered or unexported fields
}

MockClipboardMockRecorder is the mock recorder for MockClipboard.

func (*MockClipboardMockRecorder) WriteAll

func (mr *MockClipboardMockRecorder) WriteAll(text any) *gomock.Call

WriteAll indicates an expected call of WriteAll.

type MockHandlers

type MockHandlers struct {
	// contains filtered or unexported fields
}

MockHandlers is a mock of Handlers interface.

func NewMockHandlers

func NewMockHandlers(ctrl *gomock.Controller) *MockHandlers

NewMockHandlers creates a new mock instance.

func (*MockHandlers) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockHandlers) HandleHelpDone

func (m *MockHandlers) HandleHelpDone(a tui.Application, e *elements.Elements) func(int, string)

HandleHelpDone mocks base method.

func (*MockHandlers) HandleNodeChanged

func (m *MockHandlers) HandleNodeChanged(e *elements.Elements, s *state.State) func(*tview.TreeNode)

HandleNodeChanged mocks base method.

func (*MockHandlers) HandleResize

func (m *MockHandlers) HandleResize(d tui.ResizeDirection, e *elements.Elements, s *state.State)

HandleResize mocks base method.

func (*MockHandlers) HandleRun

func (m *MockHandlers) HandleRun(r tui.Runner, a tui.Application, e *elements.Elements, s *state.State)

HandleRun mocks base method.

func (*MockHandlers) HandleRunAll

func (m *MockHandlers) HandleRunAll(r tui.Runner, a tui.Application, e *elements.Elements, s *state.State)

HandleRunAll mocks base method.

func (*MockHandlers) HandleRunFailed

func (m *MockHandlers) HandleRunFailed(r tui.Runner, a tui.Application, e *elements.Elements, s *state.State)

HandleRunFailed mocks base method.

func (*MockHandlers) HandleRunPassed

func (m *MockHandlers) HandleRunPassed(r tui.Runner, a tui.Application, e *elements.Elements, s *state.State)

HandleRunPassed mocks base method.

func (*MockHandlers) HandleSearchChanged

func (m *MockHandlers) HandleSearchChanged(e *elements.Elements, s *state.State) func(string)

HandleSearchChanged mocks base method.

func (*MockHandlers) HandleSearchClear

func (m *MockHandlers) HandleSearchClear(a tui.Application, e *elements.Elements, s *state.State)

HandleSearchClear mocks base method.

func (*MockHandlers) HandleSearchDone

func (m *MockHandlers) HandleSearchDone(a tui.Application, e *elements.Elements, s *state.State) func(tcell.Key)

HandleSearchDone mocks base method.

func (*MockHandlers) HandleSearchFocus

func (m *MockHandlers) HandleSearchFocus(a tui.Application, e *elements.Elements, s *state.State)

HandleSearchFocus mocks base method.

func (*MockHandlers) HandleYankNode

func (m *MockHandlers) HandleYankNode(a tui.Application, c tui.Clipboard, e *elements.Elements)

HandleYankNode mocks base method.

func (*MockHandlers) HandleYankOutput

func (m *MockHandlers) HandleYankOutput(a tui.Application, c tui.Clipboard, e *elements.Elements)

HandleYankOutput mocks base method.

type MockHandlersMockRecorder

type MockHandlersMockRecorder struct {
	// contains filtered or unexported fields
}

MockHandlersMockRecorder is the mock recorder for MockHandlers.

func (*MockHandlersMockRecorder) HandleHelpDone

func (mr *MockHandlersMockRecorder) HandleHelpDone(a, e any) *gomock.Call

HandleHelpDone indicates an expected call of HandleHelpDone.

func (*MockHandlersMockRecorder) HandleNodeChanged

func (mr *MockHandlersMockRecorder) HandleNodeChanged(e, s any) *gomock.Call

HandleNodeChanged indicates an expected call of HandleNodeChanged.

func (*MockHandlersMockRecorder) HandleResize

func (mr *MockHandlersMockRecorder) HandleResize(d, e, s any) *gomock.Call

HandleResize indicates an expected call of HandleResize.

func (*MockHandlersMockRecorder) HandleRun

func (mr *MockHandlersMockRecorder) HandleRun(r, a, e, s any) *gomock.Call

HandleRun indicates an expected call of HandleRun.

func (*MockHandlersMockRecorder) HandleRunAll

func (mr *MockHandlersMockRecorder) HandleRunAll(r, a, e, s any) *gomock.Call

HandleRunAll indicates an expected call of HandleRunAll.

func (*MockHandlersMockRecorder) HandleRunFailed

func (mr *MockHandlersMockRecorder) HandleRunFailed(r, a, e, s any) *gomock.Call

HandleRunFailed indicates an expected call of HandleRunFailed.

func (*MockHandlersMockRecorder) HandleRunPassed

func (mr *MockHandlersMockRecorder) HandleRunPassed(r, a, e, s any) *gomock.Call

HandleRunPassed indicates an expected call of HandleRunPassed.

func (*MockHandlersMockRecorder) HandleSearchChanged

func (mr *MockHandlersMockRecorder) HandleSearchChanged(e, s any) *gomock.Call

HandleSearchChanged indicates an expected call of HandleSearchChanged.

func (*MockHandlersMockRecorder) HandleSearchClear

func (mr *MockHandlersMockRecorder) HandleSearchClear(a, e, s any) *gomock.Call

HandleSearchClear indicates an expected call of HandleSearchClear.

func (*MockHandlersMockRecorder) HandleSearchDone

func (mr *MockHandlersMockRecorder) HandleSearchDone(a, e, s any) *gomock.Call

HandleSearchDone indicates an expected call of HandleSearchDone.

func (*MockHandlersMockRecorder) HandleSearchFocus

func (mr *MockHandlersMockRecorder) HandleSearchFocus(a, e, s any) *gomock.Call

HandleSearchFocus indicates an expected call of HandleSearchFocus.

func (*MockHandlersMockRecorder) HandleYankNode

func (mr *MockHandlersMockRecorder) HandleYankNode(a, c, e any) *gomock.Call

HandleYankNode indicates an expected call of HandleYankNode.

func (*MockHandlersMockRecorder) HandleYankOutput

func (mr *MockHandlersMockRecorder) HandleYankOutput(a, c, e any) *gomock.Call

HandleYankOutput indicates an expected call of HandleYankOutput.

type MockRunner

type MockRunner struct {
	// contains filtered or unexported fields
}

MockRunner is a mock of Runner interface.

func NewMockRunner

func NewMockRunner(ctrl *gomock.Controller) *MockRunner

NewMockRunner creates a new mock instance.

func (*MockRunner) EXPECT

func (m *MockRunner) EXPECT() *MockRunnerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRunner) RunTest

func (m *MockRunner) RunTest(command string) *models.LazyTestResult

RunTest mocks base method.

type MockRunnerMockRecorder

type MockRunnerMockRecorder struct {
	// contains filtered or unexported fields
}

MockRunnerMockRecorder is the mock recorder for MockRunner.

func (*MockRunnerMockRecorder) RunTest

func (mr *MockRunnerMockRecorder) RunTest(command any) *gomock.Call

RunTest indicates an expected call of RunTest.

Jump to

Keyboard shortcuts

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