test

package
v1.7.6 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForceWrite

func ForceWrite(f string, data string)

Only for fixing tests

Types

type Fixture

type Fixture struct {
	Profile   string
	Parsed    string
	Generated string
}

func Fixtures

func Fixtures(root string) []Fixture

func (Fixture) ReadGenerated

func (f Fixture) ReadGenerated() string

func (Fixture) ReadParsed

func (f Fixture) ReadParsed() string

func (Fixture) ReadProfile

func (f Fixture) ReadProfile() string

type IntegrationFixture

type IntegrationFixture string

func IntegrationFixtures

func IntegrationFixtures(root string, filter *string) []IntegrationFixture

func (IntegrationFixture) ReadFixtureNegativeData

func (f IntegrationFixture) ReadFixtureNegativeData() string

func (IntegrationFixture) ReadFixtureNegativeDataWithLexical

func (f IntegrationFixture) ReadFixtureNegativeDataWithLexical() (string, error)

func (IntegrationFixture) ReadFixtureNegativeReport

func (f IntegrationFixture) ReadFixtureNegativeReport() string

func (IntegrationFixture) ReadFixtureNegativeReportWithLexical

func (f IntegrationFixture) ReadFixtureNegativeReportWithLexical() string

func (IntegrationFixture) ReadFixturePositiveData

func (f IntegrationFixture) ReadFixturePositiveData() string

func (IntegrationFixture) ReadFixturePositiveReport

func (f IntegrationFixture) ReadFixturePositiveReport() string

func (IntegrationFixture) ReadProfile

func (f IntegrationFixture) ReadProfile() string

type ProductionExample

type ProductionExample struct {
	File     string
	Text     string
	Positive bool
}

func (ProductionExample) Folfile added in v1.2.2

func (f ProductionExample) Folfile() string

func (ProductionExample) Normalizedinputfile added in v1.2.2

func (f ProductionExample) Normalizedinputfile() string

func (ProductionExample) ReadReport

func (f ProductionExample) ReadReport() string

func (ProductionExample) Regofile added in v1.2.2

func (f ProductionExample) Regofile() string

func (ProductionExample) Reportfile

func (f ProductionExample) Reportfile() string

type ProductionFixture

type ProductionFixture string

func ProductionFixtures

func ProductionFixtures(root string, filter *string) []ProductionFixture

func (ProductionFixture) Examples

func (f ProductionFixture) Examples() []ProductionExample

func (ProductionFixture) Profile

func (f ProductionFixture) Profile() string

type ShaclTckFixture

type ShaclTckFixture string

func ShaclTckFixtures

func ShaclTckFixtures(root string, filter *string) []ShaclTckFixture

func (ShaclTckFixture) IsIgnored

func (f ShaclTckFixture) IsIgnored() bool

func (ShaclTckFixture) ReadFixtureNegativeData

func (f ShaclTckFixture) ReadFixtureNegativeData() string

func (ShaclTckFixture) ReadFixtureNegativeReport

func (f ShaclTckFixture) ReadFixtureNegativeReport() string

func (ShaclTckFixture) ReadFixturePositiveData

func (f ShaclTckFixture) ReadFixturePositiveData() string

func (ShaclTckFixture) ReadFixturePositiveReport

func (f ShaclTckFixture) ReadFixturePositiveReport() string

func (ShaclTckFixture) ReadProfile

func (f ShaclTckFixture) ReadProfile() string

Jump to

Keyboard shortcuts

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