tmuxtest

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2023 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package tmuxtest includes utilities to test APIs defined in the tmux package.

Package tmuxtest is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DisplayMessageRequestMatcher added in v0.9.0

type DisplayMessageRequestMatcher struct {
	Pane string
}

DisplayMessageRequestMatcher is a gomock matcher that matches tmux.DisplayMessageRequest objects by pane ID.

func (DisplayMessageRequestMatcher) Matches added in v0.9.0

func (m DisplayMessageRequestMatcher) Matches(x interface{}) bool

Matches reports whether the provided DisplayMessageRequest matches.

func (DisplayMessageRequestMatcher) String added in v0.9.0

type MockDriver

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

MockDriver is a mock of Driver interface.

func NewMockDriver

func NewMockDriver(ctrl *gomock.Controller) *MockDriver

NewMockDriver creates a new mock instance.

func (*MockDriver) CapturePane

func (m *MockDriver) CapturePane(arg0 tmux.CapturePaneRequest) ([]byte, error)

CapturePane mocks base method.

func (*MockDriver) DisplayMessage

func (m *MockDriver) DisplayMessage(arg0 tmux.DisplayMessageRequest) ([]byte, error)

DisplayMessage mocks base method.

func (*MockDriver) EXPECT

func (m *MockDriver) EXPECT() *MockDriverMockRecorder

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

func (*MockDriver) NewSession

func (m *MockDriver) NewSession(arg0 tmux.NewSessionRequest) ([]byte, error)

NewSession mocks base method.

func (*MockDriver) ResizePane added in v0.4.0

func (m *MockDriver) ResizePane(arg0 tmux.ResizePaneRequest) error

ResizePane mocks base method.

func (*MockDriver) ResizeWindow

func (m *MockDriver) ResizeWindow(arg0 tmux.ResizeWindowRequest) error

ResizeWindow mocks base method.

func (*MockDriver) SendSignal

func (m *MockDriver) SendSignal(arg0 string) error

SendSignal mocks base method.

func (*MockDriver) SetOption added in v0.14.0

func (m *MockDriver) SetOption(arg0 tmux.SetOptionRequest) error

SetOption mocks base method.

func (*MockDriver) ShowOptions

func (m *MockDriver) ShowOptions(arg0 tmux.ShowOptionsRequest) ([]byte, error)

ShowOptions mocks base method.

func (*MockDriver) SwapPane

func (m *MockDriver) SwapPane(arg0 tmux.SwapPaneRequest) error

SwapPane mocks base method.

func (*MockDriver) WaitForSignal

func (m *MockDriver) WaitForSignal(arg0 string) error

WaitForSignal mocks base method.

type MockDriverMockRecorder

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

MockDriverMockRecorder is the mock recorder for MockDriver.

func (*MockDriverMockRecorder) CapturePane

func (mr *MockDriverMockRecorder) CapturePane(arg0 interface{}) *gomock.Call

CapturePane indicates an expected call of CapturePane.

func (*MockDriverMockRecorder) DisplayMessage

func (mr *MockDriverMockRecorder) DisplayMessage(arg0 interface{}) *gomock.Call

DisplayMessage indicates an expected call of DisplayMessage.

func (*MockDriverMockRecorder) NewSession

func (mr *MockDriverMockRecorder) NewSession(arg0 interface{}) *gomock.Call

NewSession indicates an expected call of NewSession.

func (*MockDriverMockRecorder) ResizePane added in v0.4.0

func (mr *MockDriverMockRecorder) ResizePane(arg0 interface{}) *gomock.Call

ResizePane indicates an expected call of ResizePane.

func (*MockDriverMockRecorder) ResizeWindow

func (mr *MockDriverMockRecorder) ResizeWindow(arg0 interface{}) *gomock.Call

ResizeWindow indicates an expected call of ResizeWindow.

func (*MockDriverMockRecorder) SendSignal

func (mr *MockDriverMockRecorder) SendSignal(arg0 interface{}) *gomock.Call

SendSignal indicates an expected call of SendSignal.

func (*MockDriverMockRecorder) SetOption added in v0.14.0

func (mr *MockDriverMockRecorder) SetOption(arg0 interface{}) *gomock.Call

SetOption indicates an expected call of SetOption.

func (*MockDriverMockRecorder) ShowOptions

func (mr *MockDriverMockRecorder) ShowOptions(arg0 interface{}) *gomock.Call

ShowOptions indicates an expected call of ShowOptions.

func (*MockDriverMockRecorder) SwapPane

func (mr *MockDriverMockRecorder) SwapPane(arg0 interface{}) *gomock.Call

SwapPane indicates an expected call of SwapPane.

func (*MockDriverMockRecorder) WaitForSignal

func (mr *MockDriverMockRecorder) WaitForSignal(arg0 interface{}) *gomock.Call

WaitForSignal indicates an expected call of WaitForSignal.

Jump to

Keyboard shortcuts

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