Documentation ¶
Index ¶
- type ConvTestResult
- type ConversionTester
- func (c *ConversionTester) ConvertToLatest(fromVersion int, input string) ConvTestResult
- func (c *ConversionTester) ConvertToNext(fromVersion int, input string) ConvTestResult
- func (c *ConversionTester) TestConversionToNextVersion(fromVersion int, targetVersion int) func(input string, expect string)
- func (c *ConversionTester) TestConversionToValidLatest(fromVersion int) func(input string)
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)
Click to show internal directories.
Click to hide internal directories.