Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockDAG
- func (m *MockDAG) AddEdge(fromVertexID, toVertexID string) error
- func (m *MockDAG) AddVertex(id string, value any) error
- func (m *MockDAG) CanAddEdge(fromVertexID, toVertexID string) bool
- func (m *MockDAG) DeleteEdge(fromVertexID, toVertexID string) error
- func (m *MockDAG) DeleteVertex(id string)
- func (m *MockDAG) EXPECT() *MockDAGMockRecorder
- func (m *MockDAG) GetSinkVertices() map[string]*dag.Vertex
- func (m *MockDAG) GetSourceVertices() map[string]*dag.Vertex
- func (m *MockDAG) GetVertex(id string) (*dag.Vertex, error)
- func (m *MockDAG) GetVertices() map[string]*dag.Vertex
- func (m *MockDAG) VertexCount() int
- type MockDAGMockRecorder
- func (mr *MockDAGMockRecorder) AddEdge(fromVertexID, toVertexID interface{}) *gomock.Call
- func (mr *MockDAGMockRecorder) AddVertex(id, value interface{}) *gomock.Call
- func (mr *MockDAGMockRecorder) CanAddEdge(fromVertexID, toVertexID interface{}) *gomock.Call
- func (mr *MockDAGMockRecorder) DeleteEdge(fromVertexID, toVertexID interface{}) *gomock.Call
- func (mr *MockDAGMockRecorder) DeleteVertex(id interface{}) *gomock.Call
- func (mr *MockDAGMockRecorder) GetSinkVertices() *gomock.Call
- func (mr *MockDAGMockRecorder) GetSourceVertices() *gomock.Call
- func (mr *MockDAGMockRecorder) GetVertex(id interface{}) *gomock.Call
- func (mr *MockDAGMockRecorder) GetVertices() *gomock.Call
- func (mr *MockDAGMockRecorder) VertexCount() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDAG ¶
type MockDAG struct {
// contains filtered or unexported fields
}
MockDAG is a mock of DAG interface.
func NewMockDAG ¶
func NewMockDAG(ctrl *gomock.Controller) *MockDAG
NewMockDAG creates a new mock instance.
func (*MockDAG) CanAddEdge ¶
CanAddEdge mocks base method.
func (*MockDAG) DeleteEdge ¶
DeleteEdge mocks base method.
func (*MockDAG) DeleteVertex ¶
DeleteVertex mocks base method.
func (*MockDAG) EXPECT ¶
func (m *MockDAG) EXPECT() *MockDAGMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDAG) GetSinkVertices ¶
GetSinkVertices mocks base method.
func (*MockDAG) GetSourceVertices ¶
GetSourceVertices mocks base method.
func (*MockDAG) GetVertices ¶
GetVertices mocks base method.
type MockDAGMockRecorder ¶
type MockDAGMockRecorder struct {
// contains filtered or unexported fields
}
MockDAGMockRecorder is the mock recorder for MockDAG.
func (*MockDAGMockRecorder) AddEdge ¶
func (mr *MockDAGMockRecorder) AddEdge(fromVertexID, toVertexID interface{}) *gomock.Call
AddEdge indicates an expected call of AddEdge.
func (*MockDAGMockRecorder) AddVertex ¶
func (mr *MockDAGMockRecorder) AddVertex(id, value interface{}) *gomock.Call
AddVertex indicates an expected call of AddVertex.
func (*MockDAGMockRecorder) CanAddEdge ¶
func (mr *MockDAGMockRecorder) CanAddEdge(fromVertexID, toVertexID interface{}) *gomock.Call
CanAddEdge indicates an expected call of CanAddEdge.
func (*MockDAGMockRecorder) DeleteEdge ¶
func (mr *MockDAGMockRecorder) DeleteEdge(fromVertexID, toVertexID interface{}) *gomock.Call
DeleteEdge indicates an expected call of DeleteEdge.
func (*MockDAGMockRecorder) DeleteVertex ¶
func (mr *MockDAGMockRecorder) DeleteVertex(id interface{}) *gomock.Call
DeleteVertex indicates an expected call of DeleteVertex.
func (*MockDAGMockRecorder) GetSinkVertices ¶
func (mr *MockDAGMockRecorder) GetSinkVertices() *gomock.Call
GetSinkVertices indicates an expected call of GetSinkVertices.
func (*MockDAGMockRecorder) GetSourceVertices ¶
func (mr *MockDAGMockRecorder) GetSourceVertices() *gomock.Call
GetSourceVertices indicates an expected call of GetSourceVertices.
func (*MockDAGMockRecorder) GetVertex ¶
func (mr *MockDAGMockRecorder) GetVertex(id interface{}) *gomock.Call
GetVertex indicates an expected call of GetVertex.
func (*MockDAGMockRecorder) GetVertices ¶
func (mr *MockDAGMockRecorder) GetVertices() *gomock.Call
GetVertices indicates an expected call of GetVertices.
func (*MockDAGMockRecorder) VertexCount ¶
func (mr *MockDAGMockRecorder) VertexCount() *gomock.Call
VertexCount indicates an expected call of VertexCount.