mock_wab

package
v0.10.3-0...-96d0e78 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2025 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 MockROWriteAheadBuffer

type MockROWriteAheadBuffer struct {
	mock.Mock
}

MockROWriteAheadBuffer is an autogenerated mock type for the ROWriteAheadBuffer type

func NewMockROWriteAheadBuffer

func NewMockROWriteAheadBuffer(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockROWriteAheadBuffer

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

func (*MockROWriteAheadBuffer) ReadFromExclusiveTimeTick

func (_m *MockROWriteAheadBuffer) ReadFromExclusiveTimeTick(ctx context.Context, timetick uint64) (*wab.WriteAheadBufferReader, error)

ReadFromExclusiveTimeTick provides a mock function with given fields: ctx, timetick

type MockROWriteAheadBuffer_Expecter

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

func (*MockROWriteAheadBuffer_Expecter) ReadFromExclusiveTimeTick

func (_e *MockROWriteAheadBuffer_Expecter) ReadFromExclusiveTimeTick(ctx interface{}, timetick interface{}) *MockROWriteAheadBuffer_ReadFromExclusiveTimeTick_Call

ReadFromExclusiveTimeTick is a helper method to define mock.On call

  • ctx context.Context
  • timetick uint64

type MockROWriteAheadBuffer_ReadFromExclusiveTimeTick_Call

type MockROWriteAheadBuffer_ReadFromExclusiveTimeTick_Call struct {
	*mock.Call
}

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

func (*MockROWriteAheadBuffer_ReadFromExclusiveTimeTick_Call) Return

func (*MockROWriteAheadBuffer_ReadFromExclusiveTimeTick_Call) Run

func (*MockROWriteAheadBuffer_ReadFromExclusiveTimeTick_Call) RunAndReturn

Jump to

Keyboard shortcuts

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