Documentation ¶
Overview ¶
Package mock_lib is a generated GoMock package.
Index ¶
- type MockPersistence
- func (m *MockPersistence) AnnotateHistory(arg0 uint, arg1 string) error
- func (m *MockPersistence) EXPECT() *MockPersistenceMockRecorder
- func (m *MockPersistence) GetBookmark(arg0 string) (lib.Bookmark, error)
- func (m *MockPersistence) GetBookmarks() []lib.Bookmark
- func (m *MockPersistence) GetHistory() []lib.History
- func (m *MockPersistence) GetRawCookies() string
- func (m *MockPersistence) SaveBookmark(arg0 lib.Bookmark)
- func (m *MockPersistence) SaveHistory(arg0 lib.History)
- func (m *MockPersistence) SaveRawCookies(arg0 string)
- type MockPersistenceMockRecorder
- func (mr *MockPersistenceMockRecorder) AnnotateHistory(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPersistenceMockRecorder) GetBookmark(arg0 interface{}) *gomock.Call
- func (mr *MockPersistenceMockRecorder) GetBookmarks() *gomock.Call
- func (mr *MockPersistenceMockRecorder) GetHistory() *gomock.Call
- func (mr *MockPersistenceMockRecorder) GetRawCookies() *gomock.Call
- func (mr *MockPersistenceMockRecorder) SaveBookmark(arg0 interface{}) *gomock.Call
- func (mr *MockPersistenceMockRecorder) SaveHistory(arg0 interface{}) *gomock.Call
- func (mr *MockPersistenceMockRecorder) SaveRawCookies(arg0 interface{}) *gomock.Call
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 ¶
func (m *MockPersistence) EXPECT() *MockPersistenceMockRecorder
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.