mock_browser

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_browser is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBrowserAppInterface

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

MockBrowserAppInterface is a mock of BrowserAppInterface interface.

func NewMockBrowserAppInterface

func NewMockBrowserAppInterface(ctrl *gomock.Controller) *MockBrowserAppInterface

NewMockBrowserAppInterface creates a new mock instance.

func (*MockBrowserAppInterface) AppendPane

func (m *MockBrowserAppInterface) AppendPane(pane *browser.BrowserPane)

AppendPane mocks base method.

func (*MockBrowserAppInterface) BuildWebkitConfig

func (m *MockBrowserAppInterface) BuildWebkitConfig() (*webkit.Config, error)

BuildWebkitConfig mocks base method.

func (*MockBrowserAppInterface) CreatePaneForView

func (m *MockBrowserAppInterface) CreatePaneForView(view *webkit.WebView) (*browser.BrowserPane, error)

CreatePaneForView mocks base method.

func (*MockBrowserAppInterface) EXPECT

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

func (*MockBrowserAppInterface) GetActivePane

func (m *MockBrowserAppInterface) GetActivePane() *browser.BrowserPane

GetActivePane mocks base method.

func (*MockBrowserAppInterface) GetPanes

func (m *MockBrowserAppInterface) GetPanes() []*browser.BrowserPane

GetPanes mocks base method.

func (*MockBrowserAppInterface) RemovePane

func (m *MockBrowserAppInterface) RemovePane(pane *browser.BrowserPane)

RemovePane mocks base method.

func (*MockBrowserAppInterface) SetActivePane

func (m *MockBrowserAppInterface) SetActivePane(pane *browser.BrowserPane)

SetActivePane mocks base method.

type MockBrowserAppInterfaceMockRecorder

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

MockBrowserAppInterfaceMockRecorder is the mock recorder for MockBrowserAppInterface.

func (*MockBrowserAppInterfaceMockRecorder) AppendPane

func (mr *MockBrowserAppInterfaceMockRecorder) AppendPane(pane interface{}) *gomock.Call

AppendPane indicates an expected call of AppendPane.

func (*MockBrowserAppInterfaceMockRecorder) BuildWebkitConfig

func (mr *MockBrowserAppInterfaceMockRecorder) BuildWebkitConfig() *gomock.Call

BuildWebkitConfig indicates an expected call of BuildWebkitConfig.

func (*MockBrowserAppInterfaceMockRecorder) CreatePaneForView

func (mr *MockBrowserAppInterfaceMockRecorder) CreatePaneForView(view interface{}) *gomock.Call

CreatePaneForView indicates an expected call of CreatePaneForView.

func (*MockBrowserAppInterfaceMockRecorder) GetActivePane

func (mr *MockBrowserAppInterfaceMockRecorder) GetActivePane() *gomock.Call

GetActivePane indicates an expected call of GetActivePane.

func (*MockBrowserAppInterfaceMockRecorder) GetPanes

GetPanes indicates an expected call of GetPanes.

func (*MockBrowserAppInterfaceMockRecorder) RemovePane

func (mr *MockBrowserAppInterfaceMockRecorder) RemovePane(pane interface{}) *gomock.Call

RemovePane indicates an expected call of RemovePane.

func (*MockBrowserAppInterfaceMockRecorder) SetActivePane

func (mr *MockBrowserAppInterfaceMockRecorder) SetActivePane(pane interface{}) *gomock.Call

SetActivePane indicates an expected call of SetActivePane.

type MockClipboardControllerInterface

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

MockClipboardControllerInterface is a mock of ClipboardControllerInterface interface.

func NewMockClipboardControllerInterface

func NewMockClipboardControllerInterface(ctrl *gomock.Controller) *MockClipboardControllerInterface

NewMockClipboardControllerInterface creates a new mock instance.

func (*MockClipboardControllerInterface) EXPECT

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

type MockClipboardControllerInterfaceMockRecorder

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

MockClipboardControllerInterfaceMockRecorder is the mock recorder for MockClipboardControllerInterface.

type MockMessageHandlerInterface

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

MockMessageHandlerInterface is a mock of MessageHandlerInterface interface.

func NewMockMessageHandlerInterface

func NewMockMessageHandlerInterface(ctrl *gomock.Controller) *MockMessageHandlerInterface

NewMockMessageHandlerInterface creates a new mock instance.

func (*MockMessageHandlerInterface) EXPECT

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

func (*MockMessageHandlerInterface) SetWorkspaceObserver

func (m *MockMessageHandlerInterface) SetWorkspaceObserver(observer messaging.WorkspaceObserver)

SetWorkspaceObserver mocks base method.

type MockMessageHandlerInterfaceMockRecorder

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

MockMessageHandlerInterfaceMockRecorder is the mock recorder for MockMessageHandlerInterface.

func (*MockMessageHandlerInterfaceMockRecorder) SetWorkspaceObserver

func (mr *MockMessageHandlerInterfaceMockRecorder) SetWorkspaceObserver(observer interface{}) *gomock.Call

SetWorkspaceObserver indicates an expected call of SetWorkspaceObserver.

type MockNavigationControllerInterface

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

MockNavigationControllerInterface is a mock of NavigationControllerInterface interface.

func NewMockNavigationControllerInterface

func NewMockNavigationControllerInterface(ctrl *gomock.Controller) *MockNavigationControllerInterface

NewMockNavigationControllerInterface creates a new mock instance.

func (*MockNavigationControllerInterface) EXPECT

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

func (*MockNavigationControllerInterface) NavigateToURL

func (m *MockNavigationControllerInterface) NavigateToURL(url string) error

NavigateToURL mocks base method.

type MockNavigationControllerInterfaceMockRecorder

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

MockNavigationControllerInterfaceMockRecorder is the mock recorder for MockNavigationControllerInterface.

func (*MockNavigationControllerInterfaceMockRecorder) NavigateToURL

func (mr *MockNavigationControllerInterfaceMockRecorder) NavigateToURL(url interface{}) *gomock.Call

NavigateToURL indicates an expected call of NavigateToURL.

type MockPaneInterface

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

MockPaneInterface is a mock of PaneInterface interface.

func NewMockPaneInterface

func NewMockPaneInterface(ctrl *gomock.Controller) *MockPaneInterface

NewMockPaneInterface creates a new mock instance.

func (*MockPaneInterface) Cleanup

func (m *MockPaneInterface) Cleanup()

Cleanup mocks base method.

func (*MockPaneInterface) ClipboardController

func (m *MockPaneInterface) ClipboardController() browser.ClipboardControllerInterface

ClipboardController mocks base method.

func (*MockPaneInterface) EXPECT

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

func (*MockPaneInterface) HasGUI

func (m *MockPaneInterface) HasGUI() bool

HasGUI mocks base method.

func (*MockPaneInterface) HasGUIComponent

func (m *MockPaneInterface) HasGUIComponent(component string) bool

HasGUIComponent mocks base method.

func (*MockPaneInterface) ID

func (m *MockPaneInterface) ID() string

ID mocks base method.

func (*MockPaneInterface) MessageHandler

MessageHandler mocks base method.

func (*MockPaneInterface) NavigationController

func (m *MockPaneInterface) NavigationController() browser.NavigationControllerInterface

NavigationController mocks base method.

func (*MockPaneInterface) SetGUIComponent

func (m *MockPaneInterface) SetGUIComponent(component string, loaded bool)

SetGUIComponent mocks base method.

func (*MockPaneInterface) SetHasGUI

func (m *MockPaneInterface) SetHasGUI(arg0 bool)

SetHasGUI mocks base method.

func (*MockPaneInterface) SetID

func (m *MockPaneInterface) SetID(arg0 string)

SetID mocks base method.

func (*MockPaneInterface) ShortcutHandler

func (m *MockPaneInterface) ShortcutHandler() browser.ShortcutHandlerInterface

ShortcutHandler mocks base method.

func (*MockPaneInterface) UpdateLastFocus

func (m *MockPaneInterface) UpdateLastFocus()

UpdateLastFocus mocks base method.

func (*MockPaneInterface) WebView

WebView mocks base method.

func (*MockPaneInterface) ZoomController

ZoomController mocks base method.

type MockPaneInterfaceMockRecorder

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

MockPaneInterfaceMockRecorder is the mock recorder for MockPaneInterface.

func (*MockPaneInterfaceMockRecorder) Cleanup

func (mr *MockPaneInterfaceMockRecorder) Cleanup() *gomock.Call

Cleanup indicates an expected call of Cleanup.

func (*MockPaneInterfaceMockRecorder) ClipboardController

func (mr *MockPaneInterfaceMockRecorder) ClipboardController() *gomock.Call

ClipboardController indicates an expected call of ClipboardController.

func (*MockPaneInterfaceMockRecorder) HasGUI

HasGUI indicates an expected call of HasGUI.

func (*MockPaneInterfaceMockRecorder) HasGUIComponent

func (mr *MockPaneInterfaceMockRecorder) HasGUIComponent(component interface{}) *gomock.Call

HasGUIComponent indicates an expected call of HasGUIComponent.

func (*MockPaneInterfaceMockRecorder) ID

ID indicates an expected call of ID.

func (*MockPaneInterfaceMockRecorder) MessageHandler

func (mr *MockPaneInterfaceMockRecorder) MessageHandler() *gomock.Call

MessageHandler indicates an expected call of MessageHandler.

func (*MockPaneInterfaceMockRecorder) NavigationController

func (mr *MockPaneInterfaceMockRecorder) NavigationController() *gomock.Call

NavigationController indicates an expected call of NavigationController.

func (*MockPaneInterfaceMockRecorder) SetGUIComponent

func (mr *MockPaneInterfaceMockRecorder) SetGUIComponent(component, loaded interface{}) *gomock.Call

SetGUIComponent indicates an expected call of SetGUIComponent.

func (*MockPaneInterfaceMockRecorder) SetHasGUI

func (mr *MockPaneInterfaceMockRecorder) SetHasGUI(arg0 interface{}) *gomock.Call

SetHasGUI indicates an expected call of SetHasGUI.

func (*MockPaneInterfaceMockRecorder) SetID

func (mr *MockPaneInterfaceMockRecorder) SetID(arg0 interface{}) *gomock.Call

SetID indicates an expected call of SetID.

func (*MockPaneInterfaceMockRecorder) ShortcutHandler

func (mr *MockPaneInterfaceMockRecorder) ShortcutHandler() *gomock.Call

ShortcutHandler indicates an expected call of ShortcutHandler.

func (*MockPaneInterfaceMockRecorder) UpdateLastFocus

func (mr *MockPaneInterfaceMockRecorder) UpdateLastFocus() *gomock.Call

UpdateLastFocus indicates an expected call of UpdateLastFocus.

func (*MockPaneInterfaceMockRecorder) WebView

func (mr *MockPaneInterfaceMockRecorder) WebView() *gomock.Call

WebView indicates an expected call of WebView.

func (*MockPaneInterfaceMockRecorder) ZoomController

func (mr *MockPaneInterfaceMockRecorder) ZoomController() *gomock.Call

ZoomController indicates an expected call of ZoomController.

type MockShortcutHandlerInterface

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

MockShortcutHandlerInterface is a mock of ShortcutHandlerInterface interface.

func NewMockShortcutHandlerInterface

func NewMockShortcutHandlerInterface(ctrl *gomock.Controller) *MockShortcutHandlerInterface

NewMockShortcutHandlerInterface creates a new mock instance.

func (*MockShortcutHandlerInterface) EXPECT

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

type MockShortcutHandlerInterfaceMockRecorder

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

MockShortcutHandlerInterfaceMockRecorder is the mock recorder for MockShortcutHandlerInterface.

type MockWebViewInterface

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

MockWebViewInterface is a mock of WebViewInterface interface.

func NewMockWebViewInterface

func NewMockWebViewInterface(ctrl *gomock.Controller) *MockWebViewInterface

NewMockWebViewInterface creates a new mock instance.

func (*MockWebViewInterface) Destroy

func (m *MockWebViewInterface) Destroy() error

Destroy mocks base method.

func (*MockWebViewInterface) DispatchCustomEvent

func (m *MockWebViewInterface) DispatchCustomEvent(event string, detail map[string]any) error

DispatchCustomEvent mocks base method.

func (*MockWebViewInterface) EXPECT

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

func (*MockWebViewInterface) GetCurrentURL

func (m *MockWebViewInterface) GetCurrentURL() string

GetCurrentURL mocks base method.

func (*MockWebViewInterface) Hide

func (m *MockWebViewInterface) Hide() error

Hide mocks base method.

func (*MockWebViewInterface) InjectScript

func (m *MockWebViewInterface) InjectScript(script string) error

InjectScript mocks base method.

func (*MockWebViewInterface) LoadURL

func (m *MockWebViewInterface) LoadURL(url string) error

LoadURL mocks base method.

func (*MockWebViewInterface) RegisterKeyboardShortcut

func (m *MockWebViewInterface) RegisterKeyboardShortcut(key string, handler func()) error

RegisterKeyboardShortcut mocks base method.

func (*MockWebViewInterface) RegisterURIChangedHandler

func (m *MockWebViewInterface) RegisterURIChangedHandler(handler func(string))

RegisterURIChangedHandler mocks base method.

func (*MockWebViewInterface) RootWidget

func (m *MockWebViewInterface) RootWidget() uintptr

RootWidget mocks base method.

func (*MockWebViewInterface) Show

func (m *MockWebViewInterface) Show() error

Show mocks base method.

func (*MockWebViewInterface) Widget

func (m *MockWebViewInterface) Widget() uintptr

Widget mocks base method.

func (*MockWebViewInterface) Window

func (m *MockWebViewInterface) Window() *webkit.Window

Window mocks base method.

type MockWebViewInterfaceMockRecorder

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

MockWebViewInterfaceMockRecorder is the mock recorder for MockWebViewInterface.

func (*MockWebViewInterfaceMockRecorder) Destroy

Destroy indicates an expected call of Destroy.

func (*MockWebViewInterfaceMockRecorder) DispatchCustomEvent

func (mr *MockWebViewInterfaceMockRecorder) DispatchCustomEvent(event, detail interface{}) *gomock.Call

DispatchCustomEvent indicates an expected call of DispatchCustomEvent.

func (*MockWebViewInterfaceMockRecorder) GetCurrentURL

func (mr *MockWebViewInterfaceMockRecorder) GetCurrentURL() *gomock.Call

GetCurrentURL indicates an expected call of GetCurrentURL.

func (*MockWebViewInterfaceMockRecorder) Hide

Hide indicates an expected call of Hide.

func (*MockWebViewInterfaceMockRecorder) InjectScript

func (mr *MockWebViewInterfaceMockRecorder) InjectScript(script interface{}) *gomock.Call

InjectScript indicates an expected call of InjectScript.

func (*MockWebViewInterfaceMockRecorder) LoadURL

func (mr *MockWebViewInterfaceMockRecorder) LoadURL(url interface{}) *gomock.Call

LoadURL indicates an expected call of LoadURL.

func (*MockWebViewInterfaceMockRecorder) RegisterKeyboardShortcut

func (mr *MockWebViewInterfaceMockRecorder) RegisterKeyboardShortcut(key, handler interface{}) *gomock.Call

RegisterKeyboardShortcut indicates an expected call of RegisterKeyboardShortcut.

func (*MockWebViewInterfaceMockRecorder) RegisterURIChangedHandler

func (mr *MockWebViewInterfaceMockRecorder) RegisterURIChangedHandler(handler interface{}) *gomock.Call

RegisterURIChangedHandler indicates an expected call of RegisterURIChangedHandler.

func (*MockWebViewInterfaceMockRecorder) RootWidget

func (mr *MockWebViewInterfaceMockRecorder) RootWidget() *gomock.Call

RootWidget indicates an expected call of RootWidget.

func (*MockWebViewInterfaceMockRecorder) Show

Show indicates an expected call of Show.

func (*MockWebViewInterfaceMockRecorder) Widget

Widget indicates an expected call of Widget.

func (*MockWebViewInterfaceMockRecorder) Window

Window indicates an expected call of Window.

type MockWindowInterface

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

MockWindowInterface is a mock of WindowInterface interface.

func NewMockWindowInterface

func NewMockWindowInterface(ctrl *gomock.Controller) *MockWindowInterface

NewMockWindowInterface creates a new mock instance.

func (*MockWindowInterface) EXPECT

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

func (*MockWindowInterface) SetChild

func (m *MockWindowInterface) SetChild(widget uintptr)

SetChild mocks base method.

type MockWindowInterfaceMockRecorder

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

MockWindowInterfaceMockRecorder is the mock recorder for MockWindowInterface.

func (*MockWindowInterfaceMockRecorder) SetChild

func (mr *MockWindowInterfaceMockRecorder) SetChild(widget interface{}) *gomock.Call

SetChild indicates an expected call of SetChild.

type MockWindowShortcutHandlerInterface

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

MockWindowShortcutHandlerInterface is a mock of WindowShortcutHandlerInterface interface.

func NewMockWindowShortcutHandlerInterface

func NewMockWindowShortcutHandlerInterface(ctrl *gomock.Controller) *MockWindowShortcutHandlerInterface

NewMockWindowShortcutHandlerInterface creates a new mock instance.

func (*MockWindowShortcutHandlerInterface) Cleanup

Cleanup mocks base method.

func (*MockWindowShortcutHandlerInterface) EXPECT

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

type MockWindowShortcutHandlerInterfaceMockRecorder

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

MockWindowShortcutHandlerInterfaceMockRecorder is the mock recorder for MockWindowShortcutHandlerInterface.

func (*MockWindowShortcutHandlerInterfaceMockRecorder) Cleanup

Cleanup indicates an expected call of Cleanup.

type MockZoomControllerInterface

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

MockZoomControllerInterface is a mock of ZoomControllerInterface interface.

func NewMockZoomControllerInterface

func NewMockZoomControllerInterface(ctrl *gomock.Controller) *MockZoomControllerInterface

NewMockZoomControllerInterface creates a new mock instance.

func (*MockZoomControllerInterface) ApplyInitialZoom

func (m *MockZoomControllerInterface) ApplyInitialZoom()

ApplyInitialZoom mocks base method.

func (*MockZoomControllerInterface) EXPECT

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

type MockZoomControllerInterfaceMockRecorder

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

MockZoomControllerInterfaceMockRecorder is the mock recorder for MockZoomControllerInterface.

func (*MockZoomControllerInterfaceMockRecorder) ApplyInitialZoom

func (mr *MockZoomControllerInterfaceMockRecorder) ApplyInitialZoom() *gomock.Call

ApplyInitialZoom indicates an expected call of ApplyInitialZoom.

Jump to

Keyboard shortcuts

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