mocks

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2025 License: MIT Imports: 6 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 MockConfig

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

MockConfig is a mock of Config interface.

func NewMockConfig

func NewMockConfig(ctrl *gomock.Controller) *MockConfig

NewMockConfig creates a new mock instance.

func (*MockConfig) EXPECT

func (m *MockConfig) EXPECT() *MockConfigMockRecorder

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

func (*MockConfig) GetMaintainOriginalExtension

func (m *MockConfig) GetMaintainOriginalExtension() bool

GetMaintainOriginalExtension mocks base method.

func (*MockConfig) GetNNTPPool

func (m *MockConfig) GetNNTPPool() (nntppool.UsenetConnectionPool, error)

GetNNTPPool mocks base method.

func (*MockConfig) GetNzbCompressionConfig

func (m *MockConfig) GetNzbCompressionConfig() config.NzbCompressionConfig

GetNzbCompressionConfig mocks base method.

func (*MockConfig) GetPar2Config

func (m *MockConfig) GetPar2Config(ctx context.Context) (*config.Par2Config, error)

GetPar2Config mocks base method.

func (*MockConfig) GetPostCheckConfig

func (m *MockConfig) GetPostCheckConfig() config.PostCheck

GetPostCheckConfig mocks base method.

func (*MockConfig) GetPostUploadScriptConfig

func (m *MockConfig) GetPostUploadScriptConfig() config.PostUploadScriptConfig

GetPostUploadScriptConfig mocks base method.

func (*MockConfig) GetPostingConfig

func (m *MockConfig) GetPostingConfig() config.PostingConfig

GetPostingConfig mocks base method.

func (*MockConfig) GetQueueConfig

func (m *MockConfig) GetQueueConfig() config.QueueConfig

GetQueueConfig mocks base method.

func (*MockConfig) GetWatcherConfig

func (m *MockConfig) GetWatcherConfig() config.WatcherConfig

GetWatcherConfig mocks base method.

type MockConfigMockRecorder

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

MockConfigMockRecorder is the mock recorder for MockConfig.

func (*MockConfigMockRecorder) GetMaintainOriginalExtension

func (mr *MockConfigMockRecorder) GetMaintainOriginalExtension() *gomock.Call

GetMaintainOriginalExtension indicates an expected call of GetMaintainOriginalExtension.

func (*MockConfigMockRecorder) GetNNTPPool

func (mr *MockConfigMockRecorder) GetNNTPPool() *gomock.Call

GetNNTPPool indicates an expected call of GetNNTPPool.

func (*MockConfigMockRecorder) GetNzbCompressionConfig

func (mr *MockConfigMockRecorder) GetNzbCompressionConfig() *gomock.Call

GetNzbCompressionConfig indicates an expected call of GetNzbCompressionConfig.

func (*MockConfigMockRecorder) GetPar2Config

func (mr *MockConfigMockRecorder) GetPar2Config(ctx any) *gomock.Call

GetPar2Config indicates an expected call of GetPar2Config.

func (*MockConfigMockRecorder) GetPostCheckConfig

func (mr *MockConfigMockRecorder) GetPostCheckConfig() *gomock.Call

GetPostCheckConfig indicates an expected call of GetPostCheckConfig.

func (*MockConfigMockRecorder) GetPostUploadScriptConfig

func (mr *MockConfigMockRecorder) GetPostUploadScriptConfig() *gomock.Call

GetPostUploadScriptConfig indicates an expected call of GetPostUploadScriptConfig.

func (*MockConfigMockRecorder) GetPostingConfig

func (mr *MockConfigMockRecorder) GetPostingConfig() *gomock.Call

GetPostingConfig indicates an expected call of GetPostingConfig.

func (*MockConfigMockRecorder) GetQueueConfig

func (mr *MockConfigMockRecorder) GetQueueConfig() *gomock.Call

GetQueueConfig indicates an expected call of GetQueueConfig.

func (*MockConfigMockRecorder) GetWatcherConfig

func (mr *MockConfigMockRecorder) GetWatcherConfig() *gomock.Call

GetWatcherConfig indicates an expected call of GetWatcherConfig.

type MockNZBGenerator

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

MockNZBGenerator is a mock of NZBGenerator interface.

func NewMockNZBGenerator

func NewMockNZBGenerator(ctrl *gomock.Controller) *MockNZBGenerator

NewMockNZBGenerator creates a new mock instance.

func (*MockNZBGenerator) AddArticle

func (m *MockNZBGenerator) AddArticle(arg0 *article.Article)

AddArticle mocks base method.

func (*MockNZBGenerator) AddFileHash

func (m *MockNZBGenerator) AddFileHash(filename, hash string)

AddFileHash mocks base method.

func (*MockNZBGenerator) EXPECT

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

func (*MockNZBGenerator) Generate

func (m *MockNZBGenerator) Generate(outputPath string) (string, error)

Generate mocks base method.

type MockNZBGeneratorMockRecorder

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

MockNZBGeneratorMockRecorder is the mock recorder for MockNZBGenerator.

func (*MockNZBGeneratorMockRecorder) AddArticle

func (mr *MockNZBGeneratorMockRecorder) AddArticle(arg0 any) *gomock.Call

AddArticle indicates an expected call of AddArticle.

func (*MockNZBGeneratorMockRecorder) AddFileHash

func (mr *MockNZBGeneratorMockRecorder) AddFileHash(filename, hash any) *gomock.Call

AddFileHash indicates an expected call of AddFileHash.

func (*MockNZBGeneratorMockRecorder) Generate

func (mr *MockNZBGeneratorMockRecorder) Generate(outputPath any) *gomock.Call

Generate indicates an expected call of Generate.

Jump to

Keyboard shortcuts

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