mocks

package
v2.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReportsStore

type ReportsStore struct {
	mock.Mock
}

ReportsStore is an autogenerated mock type for the ReportsStore type

func NewReportsStore

func NewReportsStore(t interface {
	mock.TestingT
	Cleanup(func())
}) *ReportsStore

NewReportsStore creates a new instance of ReportsStore. 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 (*ReportsStore) EXPECT

func (_m *ReportsStore) EXPECT() *ReportsStore_Expecter

func (*ReportsStore) Get

func (_m *ReportsStore) Get(_a0 string) (*tabulator.Tabulator, error)

Get provides a mock function with given fields: _a0

func (*ReportsStore) Keys

func (_m *ReportsStore) Keys() []string

Keys provides a mock function with given fields:

type ReportsStore_Expecter

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

func (*ReportsStore_Expecter) Get

func (_e *ReportsStore_Expecter) Get(_a0 interface{}) *ReportsStore_Get_Call

Get is a helper method to define mock.On call

  • _a0 string

func (*ReportsStore_Expecter) Keys

Keys is a helper method to define mock.On call

type ReportsStore_Get_Call

type ReportsStore_Get_Call struct {
	*mock.Call
}

ReportsStore_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*ReportsStore_Get_Call) Return

func (*ReportsStore_Get_Call) Run

func (_c *ReportsStore_Get_Call) Run(run func(_a0 string)) *ReportsStore_Get_Call

func (*ReportsStore_Get_Call) RunAndReturn

type ReportsStore_Keys_Call

type ReportsStore_Keys_Call struct {
	*mock.Call
}

ReportsStore_Keys_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Keys'

func (*ReportsStore_Keys_Call) Return

func (*ReportsStore_Keys_Call) Run

func (_c *ReportsStore_Keys_Call) Run(run func()) *ReportsStore_Keys_Call

func (*ReportsStore_Keys_Call) RunAndReturn

func (_c *ReportsStore_Keys_Call) RunAndReturn(run func() []string) *ReportsStore_Keys_Call

Jump to

Keyboard shortcuts

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