test

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataBuilder

type DataBuilder struct{}

DataBuilder describes the data builder being used for the tests.

func NewDataBuilder

func NewDataBuilder() *DataBuilder

NewDataBuilder creates a new test data builder.

func (*DataBuilder) GetOptionsForOptionTest

func (d *DataBuilder) GetOptionsForOptionTest(cfg config.Config) domain.Options

GetOptionsForOptionTest returns a list of options for the option_test file.

func (*DataBuilder) GetWriterTestDiagram

func (d *DataBuilder) GetWriterTestDiagram() domain.Diagram

GetWriterTestDiagram returns a diagram to be used by the writer test.

Jump to

Keyboard shortcuts

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