mock_ldiff

package
v0.4.22 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_ldiff is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDiff

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

MockDiff is a mock of Diff interface.

func NewMockDiff

func NewMockDiff(ctrl *gomock.Controller) *MockDiff

NewMockDiff creates a new mock instance.

func (*MockDiff) Diff

func (m *MockDiff) Diff(arg0 context.Context, arg1 ldiff.Remote) ([]string, []string, []string, error)

Diff mocks base method.

func (*MockDiff) DiffType added in v0.3.11

func (m *MockDiff) DiffType() spacesyncproto.DiffType

DiffType mocks base method.

func (*MockDiff) EXPECT

func (m *MockDiff) EXPECT() *MockDiffMockRecorder

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

func (*MockDiff) Element

func (m *MockDiff) Element(arg0 string) (ldiff.Element, error)

Element mocks base method.

func (*MockDiff) Elements

func (m *MockDiff) Elements() []ldiff.Element

Elements mocks base method.

func (*MockDiff) Hash

func (m *MockDiff) Hash() string

Hash mocks base method.

func (*MockDiff) Ids

func (m *MockDiff) Ids() []string

Ids mocks base method.

func (*MockDiff) Len

func (m *MockDiff) Len() int

Len mocks base method.

func (*MockDiff) Ranges

func (m *MockDiff) Ranges(arg0 context.Context, arg1 []ldiff.Range, arg2 []ldiff.RangeResult) ([]ldiff.RangeResult, error)

Ranges mocks base method.

func (*MockDiff) RemoveId

func (m *MockDiff) RemoveId(arg0 string) error

RemoveId mocks base method.

func (*MockDiff) Set

func (m *MockDiff) Set(arg0 ...ldiff.Element)

Set mocks base method.

type MockDiffContainer added in v0.3.11

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

MockDiffContainer is a mock of DiffContainer interface.

func NewMockDiffContainer added in v0.3.11

func NewMockDiffContainer(ctrl *gomock.Controller) *MockDiffContainer

NewMockDiffContainer creates a new mock instance.

func (*MockDiffContainer) DiffTypeCheck added in v0.3.11

func (m *MockDiffContainer) DiffTypeCheck(arg0 context.Context, arg1 ldiff.RemoteTypeChecker) (bool, ldiff.Diff, error)

DiffTypeCheck mocks base method.

func (*MockDiffContainer) EXPECT added in v0.3.11

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

func (*MockDiffContainer) InitialDiff added in v0.3.11

func (m *MockDiffContainer) InitialDiff() ldiff.Diff

InitialDiff mocks base method.

func (*MockDiffContainer) PrecalculatedDiff added in v0.3.11

func (m *MockDiffContainer) PrecalculatedDiff() ldiff.Diff

PrecalculatedDiff mocks base method.

func (*MockDiffContainer) RemoveId added in v0.3.11

func (m *MockDiffContainer) RemoveId(arg0 string) error

RemoveId mocks base method.

func (*MockDiffContainer) Set added in v0.3.11

func (m *MockDiffContainer) Set(arg0 ...ldiff.Element)

Set mocks base method.

type MockDiffContainerMockRecorder added in v0.3.11

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

MockDiffContainerMockRecorder is the mock recorder for MockDiffContainer.

func (*MockDiffContainerMockRecorder) DiffTypeCheck added in v0.3.11

func (mr *MockDiffContainerMockRecorder) DiffTypeCheck(arg0, arg1 any) *gomock.Call

DiffTypeCheck indicates an expected call of DiffTypeCheck.

func (*MockDiffContainerMockRecorder) InitialDiff added in v0.3.11

func (mr *MockDiffContainerMockRecorder) InitialDiff() *gomock.Call

InitialDiff indicates an expected call of InitialDiff.

func (*MockDiffContainerMockRecorder) PrecalculatedDiff added in v0.3.11

func (mr *MockDiffContainerMockRecorder) PrecalculatedDiff() *gomock.Call

PrecalculatedDiff indicates an expected call of PrecalculatedDiff.

func (*MockDiffContainerMockRecorder) RemoveId added in v0.3.11

func (mr *MockDiffContainerMockRecorder) RemoveId(arg0 any) *gomock.Call

RemoveId indicates an expected call of RemoveId.

func (*MockDiffContainerMockRecorder) Set added in v0.3.11

func (mr *MockDiffContainerMockRecorder) Set(arg0 ...any) *gomock.Call

Set indicates an expected call of Set.

type MockDiffMockRecorder

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

MockDiffMockRecorder is the mock recorder for MockDiff.

func (*MockDiffMockRecorder) Diff

func (mr *MockDiffMockRecorder) Diff(arg0, arg1 any) *gomock.Call

Diff indicates an expected call of Diff.

func (*MockDiffMockRecorder) DiffType added in v0.3.11

func (mr *MockDiffMockRecorder) DiffType() *gomock.Call

DiffType indicates an expected call of DiffType.

func (*MockDiffMockRecorder) Element

func (mr *MockDiffMockRecorder) Element(arg0 any) *gomock.Call

Element indicates an expected call of Element.

func (*MockDiffMockRecorder) Elements

func (mr *MockDiffMockRecorder) Elements() *gomock.Call

Elements indicates an expected call of Elements.

func (*MockDiffMockRecorder) Hash

func (mr *MockDiffMockRecorder) Hash() *gomock.Call

Hash indicates an expected call of Hash.

func (*MockDiffMockRecorder) Ids

func (mr *MockDiffMockRecorder) Ids() *gomock.Call

Ids indicates an expected call of Ids.

func (*MockDiffMockRecorder) Len

func (mr *MockDiffMockRecorder) Len() *gomock.Call

Len indicates an expected call of Len.

func (*MockDiffMockRecorder) Ranges

func (mr *MockDiffMockRecorder) Ranges(arg0, arg1, arg2 any) *gomock.Call

Ranges indicates an expected call of Ranges.

func (*MockDiffMockRecorder) RemoveId

func (mr *MockDiffMockRecorder) RemoveId(arg0 any) *gomock.Call

RemoveId indicates an expected call of RemoveId.

func (*MockDiffMockRecorder) Set

func (mr *MockDiffMockRecorder) Set(arg0 ...any) *gomock.Call

Set indicates an expected call of Set.

type MockRemote

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

MockRemote is a mock of Remote interface.

func NewMockRemote

func NewMockRemote(ctrl *gomock.Controller) *MockRemote

NewMockRemote creates a new mock instance.

func (*MockRemote) EXPECT

func (m *MockRemote) EXPECT() *MockRemoteMockRecorder

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

func (*MockRemote) Ranges

func (m *MockRemote) Ranges(arg0 context.Context, arg1 []ldiff.Range, arg2 []ldiff.RangeResult) ([]ldiff.RangeResult, error)

Ranges mocks base method.

type MockRemoteMockRecorder

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

MockRemoteMockRecorder is the mock recorder for MockRemote.

func (*MockRemoteMockRecorder) Ranges

func (mr *MockRemoteMockRecorder) Ranges(arg0, arg1, arg2 any) *gomock.Call

Ranges indicates an expected call of Ranges.

Jump to

Keyboard shortcuts

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