iomocks

package
v2.11.9 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 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 mockConstructorTestingTNewTempPaths) *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.

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

Jump to

Keyboard shortcuts

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