mocks

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageLoader

type ImageLoader struct {
	mock.Mock
}

ImageLoader is an autogenerated mock type for the imageLoader type

func NewImageLoader

func NewImageLoader(t mockConstructorTestingTNewImageLoader) *ImageLoader

NewImageLoader creates a new instance of ImageLoader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ImageLoader) AddModsDirectory

func (_m *ImageLoader) AddModsDirectory(_a0 string)

AddModsDirectory provides a mock function with given fields: _a0

func (*ImageLoader) Load

func (_m *ImageLoader) Load(_a0 string) (image.Image, error)

Load provides a mock function with given fields: _a0

type ModLoader

type ModLoader struct {
	mock.Mock
}

ModLoader is an autogenerated mock type for the modLoader type

func NewModLoader

func NewModLoader(t mockConstructorTestingTNewModLoader) *ModLoader

NewModLoader creates a new instance of ModLoader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ModLoader) Load

func (_m *ModLoader) Load(path string) (io.ReadCloser, error)

Load provides a mock function with given fields: path

Jump to

Keyboard shortcuts

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