mock

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigRepository added in v1.7.1

type ConfigRepository struct {
	mock.Mock
}

ConfigRepository is an autogenerated mock type for the ConfigRepository type

func NewConfigRepository added in v1.7.1

func NewConfigRepository(t interface {
	mock.TestingT
	Cleanup(func())
}) *ConfigRepository

NewConfigRepository creates a new instance of ConfigRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ConfigRepository) ReadConfigFile added in v1.7.1

ReadConfigFile provides a mock function with given fields:

type ConfigUsecase

type ConfigUsecase struct {
	mock.Mock
}

ConfigUsecase is an autogenerated mock type for the ConfigUsecase type

func NewConfigUsecase

func NewConfigUsecase(t interface {
	mock.TestingT
	Cleanup(func())
}) *ConfigUsecase

NewConfigUsecase creates a new instance of ConfigUsecase. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ConfigUsecase) LoadConfig

func (_m *ConfigUsecase) LoadConfig() *config.Cfg

LoadConfig provides a mock function with given fields:

type GeneratorRepository added in v1.7.1

type GeneratorRepository struct {
	mock.Mock
}

GeneratorRepository is an autogenerated mock type for the GeneratorRepository type

func NewGeneratorRepository added in v1.7.1

func NewGeneratorRepository(t interface {
	mock.TestingT
	Cleanup(func())
}) *GeneratorRepository

NewGeneratorRepository creates a new instance of GeneratorRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*GeneratorRepository) DownloadLatestAsset added in v1.7.1

DownloadLatestAsset provides a mock function with given fields: _a0

func (*GeneratorRepository) GetRepoLatestVersion added in v1.7.1

func (_m *GeneratorRepository) GetRepoLatestVersion() (generator.RepoLatestVersionGetEntity, error)

GetRepoLatestVersion provides a mock function with given fields:

type GeneratorUsecase

type GeneratorUsecase struct {
	mock.Mock
}

GeneratorUsecase is an autogenerated mock type for the GeneratorUsecase type

func NewGeneratorUsecase

func NewGeneratorUsecase(t interface {
	mock.TestingT
	Cleanup(func())
}) *GeneratorUsecase

NewGeneratorUsecase creates a new instance of GeneratorUsecase. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*GeneratorUsecase) Generate

Generate provides a mock function with given fields: _a0

type GreetingRepository added in v1.7.1

type GreetingRepository struct {
	mock.Mock
}

GreetingRepository is an autogenerated mock type for the GreetingRepository type

func NewGreetingRepository added in v1.7.1

func NewGreetingRepository(t interface {
	mock.TestingT
	Cleanup(func())
}) *GreetingRepository

NewGreetingRepository creates a new instance of GreetingRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*GreetingRepository) SayHello added in v1.7.1

SayHello provides a mock function with given fields:

type GreetingUsecase added in v1.7.1

type GreetingUsecase struct {
	mock.Mock
}

GreetingUsecase is an autogenerated mock type for the GreetingUsecase type

func NewGreetingUsecase added in v1.7.1

func NewGreetingUsecase(t interface {
	mock.TestingT
	Cleanup(func())
}) *GreetingUsecase

NewGreetingUsecase creates a new instance of GreetingUsecase. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*GreetingUsecase) Greeting added in v1.7.1

Greeting provides a mock function with given fields:

Jump to

Keyboard shortcuts

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