testplan

package
v1.5.40 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildPicsMap

func BuildPicsMap(spec *spec.Specification, t *Test) (aliases map[string]string)

Types

type Feature

type Feature struct {
	From        uint64
	To          uint64
	Bits        []uint64
	Code        string
	Summary     string
	Conformance conformance.Set
}

type Group

type Group struct {
	Parent *Test

	Name        string
	Description string
	Steps       []*Step
}

type PicsAlias

type PicsAlias struct {
	EntityType types.EntityType
	Pics       string
	Alias      string
	Comments   []string
}

func BuildPicsAliasList

func BuildPicsAliasList(picsAliases map[string]string) (aliases []*PicsAlias)

type Plan

type Plan struct {
	Cluster           *matter.Cluster
	Features          []*Feature
	Attributes        []*matter.Field
	CommandsAccepted  []*matter.Command
	CommandsGenerated []*matter.Command
	Events            []*matter.Event
}

func NewPlan

func NewPlan(doc *spec.Doc, cluster *matter.Cluster) (p *Plan, err error)

func (*Plan) ToTests

func (p *Plan) ToTests() (tests []*Test)

type Step

type Step struct {
	parse.TestStep
	Parent *Group

	Description      []string
	UserVerification []string
	PICSSet          pics.Expression

	Label string
}

type Test

type Test struct {
	parse.Test
	ID       string
	Cluster  *matter.Cluster
	PICSList []pics.Expression

	Groups []*Group

	Variables     []string
	PICSAliases   map[string]string
	PICSAliasList [][]*PicsAlias
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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