mocks

package
v2.1.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDG

type MockDG[T comparable] struct {
	// contains filtered or unexported fields
}

MockDG is a mock of DG interface.

func NewMockDG

func NewMockDG[T comparable](ctrl *gomock.Controller) *MockDG[T]

NewMockDG creates a new mock instance.

func (*MockDG[T]) AddEdge

func (m *MockDG[T]) AddEdge(fromVertexID, toVertexID string) error

AddEdge mocks base method.

func (*MockDG[T]) AddVertex

func (m *MockDG[T]) AddVertex(id string, value T) error

AddVertex mocks base method.

func (*MockDG[T]) CanAddEdge

func (m *MockDG[T]) CanAddEdge(fromVertexID, toVertexID string) bool

CanAddEdge mocks base method.

func (*MockDG[T]) DeleteEdge

func (m *MockDG[T]) DeleteEdge(fromVertexID, toVertexID string) error

DeleteEdge mocks base method.

func (*MockDG[T]) DeleteVertex

func (m *MockDG[T]) DeleteVertex(id string)

DeleteVertex mocks base method.

func (*MockDG[T]) EXPECT

func (m *MockDG[T]) EXPECT() *MockDGMockRecorder[T]

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

func (*MockDG[T]) GetRandomVertices

func (m *MockDG[T]) GetRandomVertices(n uint) []*dg.Vertex[T]

GetRandomVertices mocks base method.

func (*MockDG[T]) GetSinkVertices

func (m *MockDG[T]) GetSinkVertices() []*dg.Vertex[T]

GetSinkVertices mocks base method.

func (*MockDG[T]) GetSourceVertices

func (m *MockDG[T]) GetSourceVertices() []*dg.Vertex[T]

GetSourceVertices mocks base method.

func (*MockDG[T]) GetVertex

func (m *MockDG[T]) GetVertex(id string) (*dg.Vertex[T], error)

GetVertex mocks base method.

func (*MockDG[T]) GetVertexKeys

func (m *MockDG[T]) GetVertexKeys() []string

GetVertexKeys mocks base method.

func (*MockDG[T]) GetVertices

func (m *MockDG[T]) GetVertices() map[string]*dg.Vertex[T]

GetVertices mocks base method.

func (*MockDG[T]) VertexCount

func (m *MockDG[T]) VertexCount() int

VertexCount mocks base method.

type MockDGMockRecorder

type MockDGMockRecorder[T comparable] struct {
	// contains filtered or unexported fields
}

MockDGMockRecorder is the mock recorder for MockDG.

func (*MockDGMockRecorder[T]) AddEdge

func (mr *MockDGMockRecorder[T]) AddEdge(fromVertexID, toVertexID interface{}) *gomock.Call

AddEdge indicates an expected call of AddEdge.

func (*MockDGMockRecorder[T]) AddVertex

func (mr *MockDGMockRecorder[T]) AddVertex(id, value interface{}) *gomock.Call

AddVertex indicates an expected call of AddVertex.

func (*MockDGMockRecorder[T]) CanAddEdge

func (mr *MockDGMockRecorder[T]) CanAddEdge(fromVertexID, toVertexID interface{}) *gomock.Call

CanAddEdge indicates an expected call of CanAddEdge.

func (*MockDGMockRecorder[T]) DeleteEdge

func (mr *MockDGMockRecorder[T]) DeleteEdge(fromVertexID, toVertexID interface{}) *gomock.Call

DeleteEdge indicates an expected call of DeleteEdge.

func (*MockDGMockRecorder[T]) DeleteVertex

func (mr *MockDGMockRecorder[T]) DeleteVertex(id interface{}) *gomock.Call

DeleteVertex indicates an expected call of DeleteVertex.

func (*MockDGMockRecorder[T]) GetRandomVertices

func (mr *MockDGMockRecorder[T]) GetRandomVertices(n interface{}) *gomock.Call

GetRandomVertices indicates an expected call of GetRandomVertices.

func (*MockDGMockRecorder[T]) GetSinkVertices

func (mr *MockDGMockRecorder[T]) GetSinkVertices() *gomock.Call

GetSinkVertices indicates an expected call of GetSinkVertices.

func (*MockDGMockRecorder[T]) GetSourceVertices

func (mr *MockDGMockRecorder[T]) GetSourceVertices() *gomock.Call

GetSourceVertices indicates an expected call of GetSourceVertices.

func (*MockDGMockRecorder[T]) GetVertex

func (mr *MockDGMockRecorder[T]) GetVertex(id interface{}) *gomock.Call

GetVertex indicates an expected call of GetVertex.

func (*MockDGMockRecorder[T]) GetVertexKeys

func (mr *MockDGMockRecorder[T]) GetVertexKeys() *gomock.Call

GetVertexKeys indicates an expected call of GetVertexKeys.

func (*MockDGMockRecorder[T]) GetVertices

func (mr *MockDGMockRecorder[T]) GetVertices() *gomock.Call

GetVertices indicates an expected call of GetVertices.

func (*MockDGMockRecorder[T]) VertexCount

func (mr *MockDGMockRecorder[T]) VertexCount() *gomock.Call

VertexCount indicates an expected call of VertexCount.

Jump to

Keyboard shortcuts

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