mocks

package
v0.6.8 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2025 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 Source64

type Source64 struct {
	mock.Mock
}

Source64 is an autogenerated mock type for the Source64 type

func NewSource64

func NewSource64(t interface {
	mock.TestingT
	Cleanup(func())
}) *Source64

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

func (_m *Source64) EXPECT() *Source64_Expecter

func (*Source64) Int63

func (_m *Source64) Int63() int64

Int63 provides a mock function with no fields

func (*Source64) Seed

func (_m *Source64) Seed(seed int64)

Seed provides a mock function with given fields: seed

func (*Source64) Uint64

func (_m *Source64) Uint64() uint64

Uint64 provides a mock function with no fields

type Source64_Expecter

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

func (*Source64_Expecter) Int63

Int63 is a helper method to define mock.On call

func (*Source64_Expecter) Seed

func (_e *Source64_Expecter) Seed(seed interface{}) *Source64_Seed_Call

Seed is a helper method to define mock.On call

  • seed int64

func (*Source64_Expecter) Uint64

Uint64 is a helper method to define mock.On call

type Source64_Int63_Call

type Source64_Int63_Call struct {
	*mock.Call
}

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

func (*Source64_Int63_Call) Return

func (*Source64_Int63_Call) Run

func (_c *Source64_Int63_Call) Run(run func()) *Source64_Int63_Call

func (*Source64_Int63_Call) RunAndReturn

func (_c *Source64_Int63_Call) RunAndReturn(run func() int64) *Source64_Int63_Call

type Source64_Seed_Call

type Source64_Seed_Call struct {
	*mock.Call
}

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

func (*Source64_Seed_Call) Return

func (_c *Source64_Seed_Call) Return() *Source64_Seed_Call

func (*Source64_Seed_Call) Run

func (_c *Source64_Seed_Call) Run(run func(seed int64)) *Source64_Seed_Call

func (*Source64_Seed_Call) RunAndReturn

func (_c *Source64_Seed_Call) RunAndReturn(run func(int64)) *Source64_Seed_Call

type Source64_Uint64_Call

type Source64_Uint64_Call struct {
	*mock.Call
}

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

func (*Source64_Uint64_Call) Return

func (*Source64_Uint64_Call) Run

func (_c *Source64_Uint64_Call) Run(run func()) *Source64_Uint64_Call

func (*Source64_Uint64_Call) RunAndReturn

func (_c *Source64_Uint64_Call) RunAndReturn(run func() uint64) *Source64_Uint64_Call

Jump to

Keyboard shortcuts

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