suites

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Case

type Case struct {
	Message  proto.Message
	Expected results2.Result
}

type Suite

type Suite map[string]Case

func (Suite) ProcessResults

func (s Suite) ProcessResults(
	suiteName string,
	filter *regexp.Regexp,
	resp *harness2.TestConformanceResponse,
	verbose bool,
	strict bool,
) *results2.SuiteResults

func (Suite) Range

func (s Suite) Range(filter *regexp.Regexp, fn func(caseName string, testCase Case) error) error

func (Suite) ToRequestProto

func (s Suite) ToRequestProto(filter *regexp.Regexp) (*harness2.TestConformanceRequest, error)

type Suites

type Suites map[string]Suite

func (Suites) Range

func (ss Suites) Range(filter *regexp.Regexp, fn func(suiteName string, suite Suite) error) error

Jump to

Keyboard shortcuts

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