mocks

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 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

type Comparable struct {
	mock.Mock
}

Comparable is an autogenerated mock type for the Comparable type

func (*Comparable) Compare

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

Compare provides a mock function with given fields: to

func (*Comparable) OnCompare

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

func (*Comparable) OnCompareMatch

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

type Comparable_Compare

type Comparable_Compare struct {
	*mock.Call
}

func (Comparable_Compare) Return

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

func (*WeightedRandomList) OnGetMatch

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

func (*WeightedRandomList) OnGetWithSeed

func (*WeightedRandomList) OnGetWithSeedMatch

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

func (*WeightedRandomList) OnLen

func (*WeightedRandomList) OnLenMatch

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

func (*WeightedRandomList) OnList

func (*WeightedRandomList) OnListMatch

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

type WeightedRandomList_Get

type WeightedRandomList_Get struct {
	*mock.Call
}

func (WeightedRandomList_Get) Return

type WeightedRandomList_GetWithSeed

type WeightedRandomList_GetWithSeed struct {
	*mock.Call
}

func (WeightedRandomList_GetWithSeed) Return

type WeightedRandomList_Len

type WeightedRandomList_Len struct {
	*mock.Call
}

func (WeightedRandomList_Len) Return

type WeightedRandomList_List

type WeightedRandomList_List struct {
	*mock.Call
}

func (WeightedRandomList_List) Return

Jump to

Keyboard shortcuts

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