Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockDG
- func (m *MockDG[T]) AddEdge(fromVertexID, toVertexID string) error
- func (m *MockDG[T]) AddVertex(id string, value T) error
- func (m *MockDG[T]) CanAddEdge(fromVertexID, toVertexID string) bool
- func (m *MockDG[T]) DeleteEdge(fromVertexID, toVertexID string) error
- func (m *MockDG[T]) DeleteVertex(id string)
- func (m *MockDG[T]) EXPECT() *MockDGMockRecorder[T]
- func (m *MockDG[T]) GetRandomVertices(n uint) []*dg.Vertex[T]
- func (m *MockDG[T]) GetSinkVertices() []*dg.Vertex[T]
- func (m *MockDG[T]) GetSourceVertices() []*dg.Vertex[T]
- func (m *MockDG[T]) GetVertex(id string) (*dg.Vertex[T], error)
- func (m *MockDG[T]) GetVertexKeys() []string
- func (m *MockDG[T]) GetVertices() map[string]*dg.Vertex[T]
- func (m *MockDG[T]) VertexCount() int
- type MockDGMockRecorder
- func (mr *MockDGMockRecorder[T]) AddEdge(fromVertexID, toVertexID interface{}) *gomock.Call
- func (mr *MockDGMockRecorder[T]) AddVertex(id, value interface{}) *gomock.Call
- func (mr *MockDGMockRecorder[T]) CanAddEdge(fromVertexID, toVertexID interface{}) *gomock.Call
- func (mr *MockDGMockRecorder[T]) DeleteEdge(fromVertexID, toVertexID interface{}) *gomock.Call
- func (mr *MockDGMockRecorder[T]) DeleteVertex(id interface{}) *gomock.Call
- func (mr *MockDGMockRecorder[T]) GetRandomVertices(n interface{}) *gomock.Call
- func (mr *MockDGMockRecorder[T]) GetSinkVertices() *gomock.Call
- func (mr *MockDGMockRecorder[T]) GetSourceVertices() *gomock.Call
- func (mr *MockDGMockRecorder[T]) GetVertex(id interface{}) *gomock.Call
- func (mr *MockDGMockRecorder[T]) GetVertexKeys() *gomock.Call
- func (mr *MockDGMockRecorder[T]) GetVertices() *gomock.Call
- func (mr *MockDGMockRecorder[T]) VertexCount() *gomock.Call
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]) CanAddEdge ¶
CanAddEdge mocks base method.
func (*MockDG[T]) DeleteEdge ¶
DeleteEdge mocks base method.
func (*MockDG[T]) DeleteVertex ¶
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 ¶
GetRandomVertices mocks base method.
func (*MockDG[T]) GetSinkVertices ¶
GetSinkVertices mocks base method.
func (*MockDG[T]) GetSourceVertices ¶
GetSourceVertices mocks base method.
func (*MockDG[T]) GetVertexKeys ¶
GetVertexKeys mocks base method.
func (*MockDG[T]) GetVertices ¶
GetVertices mocks base method.
func (*MockDG[T]) VertexCount ¶
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.