conversion

package
v1.59.5 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConvTestResult

type ConvTestResult struct {
	Error       error
	Version     int
	Settings    *conversion.Settings
	SettingsMap map[string]interface{}
}

type ConversionTester

type ConversionTester struct {
	// contains filtered or unexported fields
}

func SetupConversionTester

func SetupConversionTester() *ConversionTester

func (*ConversionTester) ConvertToLatest

func (c *ConversionTester) ConvertToLatest(fromVersion int, input string) ConvTestResult

func (*ConversionTester) ConvertToNext

func (c *ConversionTester) ConvertToNext(fromVersion int, input string) ConvTestResult

func (*ConversionTester) TestConversionToNextVersion

func (c *ConversionTester) TestConversionToNextVersion(fromVersion int, targetVersion int) func(input string, expect string)

func (*ConversionTester) TestConversionToValidLatest

func (c *ConversionTester) TestConversionToValidLatest(fromVersion int) func(input string)

Jump to

Keyboard shortcuts

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