mocks

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockConfigParser

type MockConfigParser struct {
	mock.Mock
}

MockConfigParser is a mock implementation of ConfigParser.

func (*MockConfigParser) Parse

func (m *MockConfigParser) Parse(path string) (*domain.Diagram, error)

Parse implements ConfigParser.Parse.

type MockLayoutEngine

type MockLayoutEngine struct {
	mock.Mock
}

MockLayoutEngine is a mock implementation of LayoutEngine.

func (*MockLayoutEngine) Arrange

func (m *MockLayoutEngine) Arrange(diagram *domain.Diagram) error

Arrange implements LayoutEngine.Arrange.

type MockPathfinder

type MockPathfinder struct {
	mock.Mock
}

MockPathfinder is a mock implementation of Pathfinder.

func (*MockPathfinder) FindPaths

func (m *MockPathfinder) FindPaths(diagram *domain.Diagram) error

FindPaths implements Pathfinder.FindPaths.

type MockRenderer

type MockRenderer struct {
	mock.Mock
}

MockRenderer is a mock implementation of Renderer.

func (*MockRenderer) Render

func (m *MockRenderer) Render(diagram *domain.Diagram, outputPath string) error

Render implements Renderer.Render.

Jump to

Keyboard shortcuts

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