testing

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package testing is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckEntry

func CheckEntry(entry block.Entry, ignoreStime bool)

func CheckIndex0

func CheckIndex0(i index.Index, ignoreStime bool)

func CheckIndex1

func CheckIndex1(i index.Index, ignoreStime bool)

func MakeEntry

func MakeEntry(ctrl *Controller) block.EntryExt

func MakeIndex0

func MakeIndex0(ctrl *Controller) index.Index

func MakeIndex1

func MakeIndex1(ctrl *Controller) index.Index

Types

type MockIndex

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

MockIndex is a mock of Index interface.

func NewMockIndex

func NewMockIndex(ctrl *gomock.Controller) *MockIndex

NewMockIndex creates a new mock instance.

func (*MockIndex) EXPECT

func (m *MockIndex) EXPECT() *MockIndexMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIndex) EndOffset

func (m *MockIndex) EndOffset() int64

EndOffset mocks base method.

func (*MockIndex) Length

func (m *MockIndex) Length() int32

Length mocks base method.

func (*MockIndex) StartOffset

func (m *MockIndex) StartOffset() int64

StartOffset mocks base method.

func (*MockIndex) Stime

func (m *MockIndex) Stime() int64

Stime mocks base method.

type MockIndexMockRecorder

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

MockIndexMockRecorder is the mock recorder for MockIndex.

func (*MockIndexMockRecorder) EndOffset

func (mr *MockIndexMockRecorder) EndOffset() *gomock.Call

EndOffset indicates an expected call of EndOffset.

func (*MockIndexMockRecorder) Length

func (mr *MockIndexMockRecorder) Length() *gomock.Call

Length indicates an expected call of Length.

func (*MockIndexMockRecorder) StartOffset

func (mr *MockIndexMockRecorder) StartOffset() *gomock.Call

StartOffset indicates an expected call of StartOffset.

func (*MockIndexMockRecorder) Stime

func (mr *MockIndexMockRecorder) Stime() *gomock.Call

Stime indicates an expected call of Stime.

Jump to

Keyboard shortcuts

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