mocks

package
v0.3.11 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2020 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIndexer

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

MockIndexer is a mock of Indexer interface

func NewMockIndexer

func NewMockIndexer(ctrl *gomock.Controller) *MockIndexer

NewMockIndexer creates a new mock instance

func (*MockIndexer) Capabilities

func (m *MockIndexer) Capabilities() torznab.Capabilities

Capabilities mocks base method

func (*MockIndexer) Check

func (m *MockIndexer) Check() error

Check mocks base method

func (*MockIndexer) Download

func (m *MockIndexer) Download(urlStr string) (io.ReadCloser, error)

Download mocks base method

func (*MockIndexer) EXPECT

func (m *MockIndexer) EXPECT() *MockIndexerMockRecorder

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

func (*MockIndexer) GetEncoding

func (m *MockIndexer) GetEncoding() string

GetEncoding mocks base method

func (*MockIndexer) Info

func (m *MockIndexer) Info() indexer.Info

Info mocks base method

func (*MockIndexer) MaxSearchPages

func (m *MockIndexer) MaxSearchPages() uint

MaxSearchPages mocks base method

func (*MockIndexer) Open

Open mocks base method

func (*MockIndexer) ProcessRequest

func (m *MockIndexer) ProcessRequest(req *http.Request) (*http.Response, error)

ProcessRequest mocks base method

func (*MockIndexer) Search

func (m *MockIndexer) Search(query *torznab.Query, srch search.Instance) (search.Instance, error)

Search mocks base method

func (*MockIndexer) SearchIsSinglePaged

func (m *MockIndexer) SearchIsSinglePaged() bool

SearchIsSinglePaged mocks base method

type MockIndexerMockRecorder

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

MockIndexerMockRecorder is the mock recorder for MockIndexer

func (*MockIndexerMockRecorder) Capabilities

func (mr *MockIndexerMockRecorder) Capabilities() *gomock.Call

Capabilities indicates an expected call of Capabilities

func (*MockIndexerMockRecorder) Check

func (mr *MockIndexerMockRecorder) Check() *gomock.Call

Check indicates an expected call of Check

func (*MockIndexerMockRecorder) Download

func (mr *MockIndexerMockRecorder) Download(urlStr interface{}) *gomock.Call

Download indicates an expected call of Download

func (*MockIndexerMockRecorder) GetEncoding

func (mr *MockIndexerMockRecorder) GetEncoding() *gomock.Call

GetEncoding indicates an expected call of GetEncoding

func (*MockIndexerMockRecorder) Info

func (mr *MockIndexerMockRecorder) Info() *gomock.Call

Info indicates an expected call of Info

func (*MockIndexerMockRecorder) MaxSearchPages

func (mr *MockIndexerMockRecorder) MaxSearchPages() *gomock.Call

MaxSearchPages indicates an expected call of MaxSearchPages

func (*MockIndexerMockRecorder) Open

func (mr *MockIndexerMockRecorder) Open(s interface{}) *gomock.Call

Open indicates an expected call of Open

func (*MockIndexerMockRecorder) ProcessRequest

func (mr *MockIndexerMockRecorder) ProcessRequest(req interface{}) *gomock.Call

ProcessRequest indicates an expected call of ProcessRequest

func (*MockIndexerMockRecorder) Search

func (mr *MockIndexerMockRecorder) Search(query, srch interface{}) *gomock.Call

Search indicates an expected call of Search

func (*MockIndexerMockRecorder) SearchIsSinglePaged

func (mr *MockIndexerMockRecorder) SearchIsSinglePaged() *gomock.Call

SearchIsSinglePaged indicates an expected call of SearchIsSinglePaged

type MockInfo

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

MockInfo is a mock of Info interface

func NewMockInfo

func NewMockInfo(ctrl *gomock.Controller) *MockInfo

NewMockInfo creates a new mock instance

func (*MockInfo) EXPECT

func (m *MockInfo) EXPECT() *MockInfoMockRecorder

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

func (*MockInfo) GetId

func (m *MockInfo) GetId() string

GetId mocks base method

func (*MockInfo) GetLanguage

func (m *MockInfo) GetLanguage() string

GetLanguage mocks base method

func (m *MockInfo) GetLink() string

GetLink mocks base method

func (*MockInfo) GetTitle

func (m *MockInfo) GetTitle() string

GetTitle mocks base method

type MockInfoMockRecorder

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

MockInfoMockRecorder is the mock recorder for MockInfo

func (*MockInfoMockRecorder) GetId

func (mr *MockInfoMockRecorder) GetId() *gomock.Call

GetId indicates an expected call of GetId

func (*MockInfoMockRecorder) GetLanguage

func (mr *MockInfoMockRecorder) GetLanguage() *gomock.Call

GetLanguage indicates an expected call of GetLanguage

func (mr *MockInfoMockRecorder) GetLink() *gomock.Call

GetLink indicates an expected call of GetLink

func (*MockInfoMockRecorder) GetTitle

func (mr *MockInfoMockRecorder) GetTitle() *gomock.Call

GetTitle indicates an expected call of GetTitle

type MockScope

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

MockScope is a mock of Scope interface

func NewMockScope

func NewMockScope(ctrl *gomock.Controller) *MockScope

NewMockScope creates a new mock instance

func (*MockScope) CreateAggregateForCategories

func (m *MockScope) CreateAggregateForCategories(config config.Config, cats []categories.Category) (indexer.Indexer, error)

CreateAggregateForCategories mocks base method

func (*MockScope) EXPECT

func (m *MockScope) EXPECT() *MockScopeMockRecorder

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

func (*MockScope) Lookup

func (m *MockScope) Lookup(config config.Config, key string) (indexer.Indexer, error)

Lookup mocks base method

type MockScopeMockRecorder

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

MockScopeMockRecorder is the mock recorder for MockScope

func (*MockScopeMockRecorder) CreateAggregateForCategories

func (mr *MockScopeMockRecorder) CreateAggregateForCategories(config, cats interface{}) *gomock.Call

CreateAggregateForCategories indicates an expected call of CreateAggregateForCategories

func (*MockScopeMockRecorder) Lookup

func (mr *MockScopeMockRecorder) Lookup(config, key interface{}) *gomock.Call

Lookup indicates an expected call of Lookup

Jump to

Keyboard shortcuts

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