mocks

package
v1.0.25 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: Apache-2.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 Comparable added in v0.2.22

type Comparable struct {
	mock.Mock
}

Comparable is an autogenerated mock type for the Comparable type

func (*Comparable) Compare added in v0.2.22

func (_m *Comparable) Compare(to random.Comparable) bool

Compare provides a mock function with given fields: to

func (*Comparable) OnCompare added in v0.2.22

func (_m *Comparable) OnCompare(to random.Comparable) *Comparable_Compare

func (*Comparable) OnCompareMatch added in v0.2.22

func (_m *Comparable) OnCompareMatch(matchers ...interface{}) *Comparable_Compare

type Comparable_Compare added in v0.2.22

type Comparable_Compare struct {
	*mock.Call
}

func (Comparable_Compare) Return added in v0.2.22

func (_m Comparable_Compare) Return(_a0 bool) *Comparable_Compare

type WeightedRandomList

type WeightedRandomList struct {
	mock.Mock
}

WeightedRandomList is an autogenerated mock type for the WeightedRandomList type

func (*WeightedRandomList) Get

Get provides a mock function with given fields:

func (*WeightedRandomList) GetWithSeed

func (_m *WeightedRandomList) GetWithSeed(seed rand.Source) (random.Comparable, error)

GetWithSeed provides a mock function with given fields: seed

func (*WeightedRandomList) Len

func (_m *WeightedRandomList) Len() int

Len provides a mock function with given fields:

func (*WeightedRandomList) List

func (_m *WeightedRandomList) List() []random.Comparable

List provides a mock function with given fields:

func (*WeightedRandomList) OnGet added in v0.2.22

func (*WeightedRandomList) OnGetMatch added in v0.2.22

func (_m *WeightedRandomList) OnGetMatch(matchers ...interface{}) *WeightedRandomList_Get

func (*WeightedRandomList) OnGetWithSeed added in v0.2.22

func (*WeightedRandomList) OnGetWithSeedMatch added in v0.2.22

func (_m *WeightedRandomList) OnGetWithSeedMatch(matchers ...interface{}) *WeightedRandomList_GetWithSeed

func (*WeightedRandomList) OnLen added in v0.2.22

func (*WeightedRandomList) OnLenMatch added in v0.2.22

func (_m *WeightedRandomList) OnLenMatch(matchers ...interface{}) *WeightedRandomList_Len

func (*WeightedRandomList) OnList added in v0.2.22

func (*WeightedRandomList) OnListMatch added in v0.2.22

func (_m *WeightedRandomList) OnListMatch(matchers ...interface{}) *WeightedRandomList_List

type WeightedRandomList_Get added in v0.2.22

type WeightedRandomList_Get struct {
	*mock.Call
}

func (WeightedRandomList_Get) Return added in v0.2.22

type WeightedRandomList_GetWithSeed added in v0.2.22

type WeightedRandomList_GetWithSeed struct {
	*mock.Call
}

func (WeightedRandomList_GetWithSeed) Return added in v0.2.22

type WeightedRandomList_Len added in v0.2.22

type WeightedRandomList_Len struct {
	*mock.Call
}

func (WeightedRandomList_Len) Return added in v0.2.22

type WeightedRandomList_List added in v0.2.22

type WeightedRandomList_List struct {
	*mock.Call
}

func (WeightedRandomList_List) Return added in v0.2.22

Jump to

Keyboard shortcuts

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