Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockAddingService
- type MockAddingServiceMockRecorder
- type MockDeletingService
- type MockDeletingServiceMockRecorder
- type MockFeedEntryStorage
- func (m *MockFeedEntryStorage) Add(arg0 *rssfeeder.FeedEntry) error
- func (m *MockFeedEntryStorage) AllByLoginAndFeedName(arg0, arg1 string) ([]*rssfeeder.FeedEntry, error)
- func (m *MockFeedEntryStorage) Delete(arg0 int) error
- func (m *MockFeedEntryStorage) EXPECT() *MockFeedEntryStorageMockRecorder
- func (m *MockFeedEntryStorage) EntryBelongsToLogin(arg0 int, arg1 string) (bool, error)
- func (m *MockFeedEntryStorage) ExistsEntry(arg0 int) (bool, error)
- type MockFeedEntryStorageMockRecorder
- func (mr *MockFeedEntryStorageMockRecorder) Add(arg0 interface{}) *gomock.Call
- func (mr *MockFeedEntryStorageMockRecorder) AllByLoginAndFeedName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFeedEntryStorageMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockFeedEntryStorageMockRecorder) EntryBelongsToLogin(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFeedEntryStorageMockRecorder) ExistsEntry(arg0 interface{}) *gomock.Call
- type MockFeedStorage
- func (m *MockFeedStorage) Add(arg0 *rssfeeder.Feed) error
- func (m *MockFeedStorage) Delete(arg0 int) error
- func (m *MockFeedStorage) EXPECT() *MockFeedStorageMockRecorder
- func (m *MockFeedStorage) Exists(arg0, arg1 string) (bool, error)
- func (m *MockFeedStorage) Get(arg0 int) (*rssfeeder.Feed, error)
- func (m *MockFeedStorage) GetByNameAndLogin(arg0, arg1 string) (*rssfeeder.Feed, error)
- func (m *MockFeedStorage) GetFeedsByLogin(arg0 string) ([]*rssfeeder.Feed, error)
- type MockFeedStorageMockRecorder
- func (mr *MockFeedStorageMockRecorder) Add(arg0 interface{}) *gomock.Call
- func (mr *MockFeedStorageMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockFeedStorageMockRecorder) Exists(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFeedStorageMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockFeedStorageMockRecorder) GetByNameAndLogin(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFeedStorageMockRecorder) GetFeedsByLogin(arg0 interface{}) *gomock.Call
- type MockUserStorage
- func (m *MockUserStorage) Add(arg0 *rssfeeder.User) error
- func (m *MockUserStorage) Delete(arg0 string) error
- func (m *MockUserStorage) EXPECT() *MockUserStorageMockRecorder
- func (m *MockUserStorage) Get(arg0 string) (*rssfeeder.User, error)
- func (m *MockUserStorage) Update(arg0 *rssfeeder.User) error
- type MockUserStorageMockRecorder
- func (mr *MockUserStorageMockRecorder) Add(arg0 interface{}) *gomock.Call
- func (mr *MockUserStorageMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockUserStorageMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockUserStorageMockRecorder) Update(arg0 interface{}) *gomock.Call
- type MockViewingService
- type MockViewingServiceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAddingService ¶
type MockAddingService struct {
// contains filtered or unexported fields
}
MockAddingService is a mock of AddingService interface
func NewMockAddingService ¶
func NewMockAddingService(ctrl *gomock.Controller) *MockAddingService
NewMockAddingService creates a new mock instance
func (*MockAddingService) AddFeedEntry ¶
func (m *MockAddingService) AddFeedEntry(arg0 *rssfeeder.FeedEntry) error
AddFeedEntry mocks base method
func (*MockAddingService) EXPECT ¶
func (m *MockAddingService) EXPECT() *MockAddingServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockAddingServiceMockRecorder ¶
type MockAddingServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockAddingServiceMockRecorder is the mock recorder for MockAddingService
func (*MockAddingServiceMockRecorder) AddFeedEntry ¶
func (mr *MockAddingServiceMockRecorder) AddFeedEntry(arg0 interface{}) *gomock.Call
AddFeedEntry indicates an expected call of AddFeedEntry
type MockDeletingService ¶
type MockDeletingService struct {
// contains filtered or unexported fields
}
MockDeletingService is a mock of DeletingService interface
func NewMockDeletingService ¶
func NewMockDeletingService(ctrl *gomock.Controller) *MockDeletingService
NewMockDeletingService creates a new mock instance
func (*MockDeletingService) DeleteFeed ¶
func (m *MockDeletingService) DeleteFeed(arg0 int, arg1 string) error
DeleteFeed mocks base method
func (*MockDeletingService) DeleteFeedEntry ¶
func (m *MockDeletingService) DeleteFeedEntry(arg0 int, arg1 string) error
DeleteFeedEntry mocks base method
func (*MockDeletingService) EXPECT ¶
func (m *MockDeletingService) EXPECT() *MockDeletingServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockDeletingServiceMockRecorder ¶
type MockDeletingServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockDeletingServiceMockRecorder is the mock recorder for MockDeletingService
func (*MockDeletingServiceMockRecorder) DeleteFeed ¶
func (mr *MockDeletingServiceMockRecorder) DeleteFeed(arg0, arg1 interface{}) *gomock.Call
DeleteFeed indicates an expected call of DeleteFeed
func (*MockDeletingServiceMockRecorder) DeleteFeedEntry ¶
func (mr *MockDeletingServiceMockRecorder) DeleteFeedEntry(arg0, arg1 interface{}) *gomock.Call
DeleteFeedEntry indicates an expected call of DeleteFeedEntry
type MockFeedEntryStorage ¶
type MockFeedEntryStorage struct {
// contains filtered or unexported fields
}
MockFeedEntryStorage is a mock of FeedEntryStorage interface
func NewMockFeedEntryStorage ¶
func NewMockFeedEntryStorage(ctrl *gomock.Controller) *MockFeedEntryStorage
NewMockFeedEntryStorage creates a new mock instance
func (*MockFeedEntryStorage) Add ¶
func (m *MockFeedEntryStorage) Add(arg0 *rssfeeder.FeedEntry) error
Add mocks base method
func (*MockFeedEntryStorage) AllByLoginAndFeedName ¶
func (m *MockFeedEntryStorage) AllByLoginAndFeedName(arg0, arg1 string) ([]*rssfeeder.FeedEntry, error)
AllByLoginAndFeedName mocks base method
func (*MockFeedEntryStorage) Delete ¶
func (m *MockFeedEntryStorage) Delete(arg0 int) error
Delete mocks base method
func (*MockFeedEntryStorage) EXPECT ¶
func (m *MockFeedEntryStorage) EXPECT() *MockFeedEntryStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFeedEntryStorage) EntryBelongsToLogin ¶
func (m *MockFeedEntryStorage) EntryBelongsToLogin(arg0 int, arg1 string) (bool, error)
EntryBelongsToLogin mocks base method
func (*MockFeedEntryStorage) ExistsEntry ¶
func (m *MockFeedEntryStorage) ExistsEntry(arg0 int) (bool, error)
ExistsEntry mocks base method
type MockFeedEntryStorageMockRecorder ¶
type MockFeedEntryStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockFeedEntryStorageMockRecorder is the mock recorder for MockFeedEntryStorage
func (*MockFeedEntryStorageMockRecorder) Add ¶
func (mr *MockFeedEntryStorageMockRecorder) Add(arg0 interface{}) *gomock.Call
Add indicates an expected call of Add
func (*MockFeedEntryStorageMockRecorder) AllByLoginAndFeedName ¶
func (mr *MockFeedEntryStorageMockRecorder) AllByLoginAndFeedName(arg0, arg1 interface{}) *gomock.Call
AllByLoginAndFeedName indicates an expected call of AllByLoginAndFeedName
func (*MockFeedEntryStorageMockRecorder) Delete ¶
func (mr *MockFeedEntryStorageMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockFeedEntryStorageMockRecorder) EntryBelongsToLogin ¶
func (mr *MockFeedEntryStorageMockRecorder) EntryBelongsToLogin(arg0, arg1 interface{}) *gomock.Call
EntryBelongsToLogin indicates an expected call of EntryBelongsToLogin
func (*MockFeedEntryStorageMockRecorder) ExistsEntry ¶
func (mr *MockFeedEntryStorageMockRecorder) ExistsEntry(arg0 interface{}) *gomock.Call
ExistsEntry indicates an expected call of ExistsEntry
type MockFeedStorage ¶
type MockFeedStorage struct {
// contains filtered or unexported fields
}
MockFeedStorage is a mock of FeedStorage interface
func NewMockFeedStorage ¶
func NewMockFeedStorage(ctrl *gomock.Controller) *MockFeedStorage
NewMockFeedStorage creates a new mock instance
func (*MockFeedStorage) Add ¶
func (m *MockFeedStorage) Add(arg0 *rssfeeder.Feed) error
Add mocks base method
func (*MockFeedStorage) Delete ¶
func (m *MockFeedStorage) Delete(arg0 int) error
Delete mocks base method
func (*MockFeedStorage) EXPECT ¶
func (m *MockFeedStorage) EXPECT() *MockFeedStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFeedStorage) Exists ¶
func (m *MockFeedStorage) Exists(arg0, arg1 string) (bool, error)
Exists mocks base method
func (*MockFeedStorage) Get ¶
func (m *MockFeedStorage) Get(arg0 int) (*rssfeeder.Feed, error)
Get mocks base method
func (*MockFeedStorage) GetByNameAndLogin ¶
func (m *MockFeedStorage) GetByNameAndLogin(arg0, arg1 string) (*rssfeeder.Feed, error)
GetByNameAndLogin mocks base method
func (*MockFeedStorage) GetFeedsByLogin ¶
func (m *MockFeedStorage) GetFeedsByLogin(arg0 string) ([]*rssfeeder.Feed, error)
GetFeedsByLogin mocks base method
type MockFeedStorageMockRecorder ¶
type MockFeedStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockFeedStorageMockRecorder is the mock recorder for MockFeedStorage
func (*MockFeedStorageMockRecorder) Add ¶
func (mr *MockFeedStorageMockRecorder) Add(arg0 interface{}) *gomock.Call
Add indicates an expected call of Add
func (*MockFeedStorageMockRecorder) Delete ¶
func (mr *MockFeedStorageMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockFeedStorageMockRecorder) Exists ¶
func (mr *MockFeedStorageMockRecorder) Exists(arg0, arg1 interface{}) *gomock.Call
Exists indicates an expected call of Exists
func (*MockFeedStorageMockRecorder) Get ¶
func (mr *MockFeedStorageMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockFeedStorageMockRecorder) GetByNameAndLogin ¶
func (mr *MockFeedStorageMockRecorder) GetByNameAndLogin(arg0, arg1 interface{}) *gomock.Call
GetByNameAndLogin indicates an expected call of GetByNameAndLogin
func (*MockFeedStorageMockRecorder) GetFeedsByLogin ¶
func (mr *MockFeedStorageMockRecorder) GetFeedsByLogin(arg0 interface{}) *gomock.Call
GetFeedsByLogin indicates an expected call of GetFeedsByLogin
type MockUserStorage ¶
type MockUserStorage struct {
// contains filtered or unexported fields
}
MockUserStorage is a mock of UserStorage interface
func NewMockUserStorage ¶
func NewMockUserStorage(ctrl *gomock.Controller) *MockUserStorage
NewMockUserStorage creates a new mock instance
func (*MockUserStorage) Add ¶
func (m *MockUserStorage) Add(arg0 *rssfeeder.User) error
Add mocks base method
func (*MockUserStorage) Delete ¶
func (m *MockUserStorage) Delete(arg0 string) error
Delete mocks base method
func (*MockUserStorage) EXPECT ¶
func (m *MockUserStorage) EXPECT() *MockUserStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockUserStorageMockRecorder ¶
type MockUserStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockUserStorageMockRecorder is the mock recorder for MockUserStorage
func (*MockUserStorageMockRecorder) Add ¶
func (mr *MockUserStorageMockRecorder) Add(arg0 interface{}) *gomock.Call
Add indicates an expected call of Add
func (*MockUserStorageMockRecorder) Delete ¶
func (mr *MockUserStorageMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockUserStorageMockRecorder) Get ¶
func (mr *MockUserStorageMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockUserStorageMockRecorder) Update ¶
func (mr *MockUserStorageMockRecorder) Update(arg0 interface{}) *gomock.Call
Update indicates an expected call of Update
type MockViewingService ¶
type MockViewingService struct {
// contains filtered or unexported fields
}
MockViewingService is a mock of ViewingService interface
func NewMockViewingService ¶
func NewMockViewingService(ctrl *gomock.Controller) *MockViewingService
NewMockViewingService creates a new mock instance
func (*MockViewingService) EXPECT ¶
func (m *MockViewingService) EXPECT() *MockViewingServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockViewingServiceMockRecorder ¶
type MockViewingServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockViewingServiceMockRecorder is the mock recorder for MockViewingService
func (*MockViewingServiceMockRecorder) GetFeed ¶
func (mr *MockViewingServiceMockRecorder) GetFeed(arg0, arg1 interface{}) *gomock.Call
GetFeed indicates an expected call of GetFeed
func (*MockViewingServiceMockRecorder) GetFeeds ¶
func (mr *MockViewingServiceMockRecorder) GetFeeds(arg0 interface{}) *gomock.Call
GetFeeds indicates an expected call of GetFeeds