mock_lib

package
v0.0.0-...-968ba5a Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package mock_lib is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPersistence

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

MockPersistence is a mock of Persistence interface.

func NewMockPersistence

func NewMockPersistence(ctrl *gomock.Controller) *MockPersistence

NewMockPersistence creates a new mock instance.

func (*MockPersistence) AnnotateHistory

func (m *MockPersistence) AnnotateHistory(arg0 uint, arg1 string) error

AnnotateHistory mocks base method.

func (*MockPersistence) EXPECT

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

func (*MockPersistence) GetBookmark

func (m *MockPersistence) GetBookmark(arg0 string) (lib.Bookmark, error)

GetBookmark mocks base method.

func (*MockPersistence) GetBookmarks

func (m *MockPersistence) GetBookmarks() []lib.Bookmark

GetBookmarks mocks base method.

func (*MockPersistence) GetHistory

func (m *MockPersistence) GetHistory() []lib.History

GetHistory mocks base method.

func (*MockPersistence) GetRawCookies

func (m *MockPersistence) GetRawCookies() string

GetRawCookies mocks base method.

func (*MockPersistence) SaveBookmark

func (m *MockPersistence) SaveBookmark(arg0 lib.Bookmark)

SaveBookmark mocks base method.

func (*MockPersistence) SaveHistory

func (m *MockPersistence) SaveHistory(arg0 lib.History)

SaveHistory mocks base method.

func (*MockPersistence) SaveRawCookies

func (m *MockPersistence) SaveRawCookies(arg0 string)

SaveRawCookies mocks base method.

type MockPersistenceMockRecorder

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

MockPersistenceMockRecorder is the mock recorder for MockPersistence.

func (*MockPersistenceMockRecorder) AnnotateHistory

func (mr *MockPersistenceMockRecorder) AnnotateHistory(arg0, arg1 interface{}) *gomock.Call

AnnotateHistory indicates an expected call of AnnotateHistory.

func (*MockPersistenceMockRecorder) GetBookmark

func (mr *MockPersistenceMockRecorder) GetBookmark(arg0 interface{}) *gomock.Call

GetBookmark indicates an expected call of GetBookmark.

func (*MockPersistenceMockRecorder) GetBookmarks

func (mr *MockPersistenceMockRecorder) GetBookmarks() *gomock.Call

GetBookmarks indicates an expected call of GetBookmarks.

func (*MockPersistenceMockRecorder) GetHistory

func (mr *MockPersistenceMockRecorder) GetHistory() *gomock.Call

GetHistory indicates an expected call of GetHistory.

func (*MockPersistenceMockRecorder) GetRawCookies

func (mr *MockPersistenceMockRecorder) GetRawCookies() *gomock.Call

GetRawCookies indicates an expected call of GetRawCookies.

func (*MockPersistenceMockRecorder) SaveBookmark

func (mr *MockPersistenceMockRecorder) SaveBookmark(arg0 interface{}) *gomock.Call

SaveBookmark indicates an expected call of SaveBookmark.

func (*MockPersistenceMockRecorder) SaveHistory

func (mr *MockPersistenceMockRecorder) SaveHistory(arg0 interface{}) *gomock.Call

SaveHistory indicates an expected call of SaveHistory.

func (*MockPersistenceMockRecorder) SaveRawCookies

func (mr *MockPersistenceMockRecorder) SaveRawCookies(arg0 interface{}) *gomock.Call

SaveRawCookies indicates an expected call of SaveRawCookies.

Jump to

Keyboard shortcuts

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