mocks

package
v2.8.21 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TempPaths

type TempPaths struct {
	mock.Mock
}

TempPaths is an autogenerated mock type for the TempPaths type

func NewTempPaths

func NewTempPaths(t interface {
	mock.TestingT
	Cleanup(func())
}) *TempPaths

NewTempPaths creates a new instance of TempPaths. 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 (*TempPaths) Add

func (_m *TempPaths) Add(key string, value string)

Add provides a mock function with given fields: key, value

func (*TempPaths) GetPath

func (_m *TempPaths) GetPath(key string) (string, error)

GetPath provides a mock function with given fields: key

func (*TempPaths) GetPathIfExists

func (_m *TempPaths) GetPathIfExists(key string) string

GetPathIfExists provides a mock function with given fields: key

func (*TempPaths) GetPaths

func (_m *TempPaths) GetPaths() map[string]string

GetPaths 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