testregistry_go_proto

package
v0.0.0-...-bc105a4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_testregistry_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Test

type Test struct {

	// id -- Test ID, required, must be unique, must match the regex:
	//
	//	[A-Z][A-Z]+\-[0-9]+(\.[0-9]+)?
	//	Test ID should match the rundata.TestPlanID of the linked exec.
	//	For example: AA-1.1
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// version -- should be incremented each time any changes are made to the
	//
	//	Test message instance for a given Test ID.
	Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	// description -- should be a human readable common name for the Test
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// readme -- must be a URL, should be a link to the human readable
	//
	//	readme.md or other documentation describing the test
	Readme []string `protobuf:"bytes,4,rep,name=readme,proto3" json:"readme,omitempty"`
	// exec -- must be a URL, may be a link to google3 code, should be a
	//
	//	link to an ondatra test in the public repo location
	Exec string `protobuf:"bytes,5,opt,name=exec,proto3" json:"exec,omitempty"`
	// contains filtered or unexported fields
}

Test specifies resources for a single functional test that applies to a Feature. It

func (*Test) Descriptor deprecated

func (*Test) Descriptor() ([]byte, []int)

Deprecated: Use Test.ProtoReflect.Descriptor instead.

func (*Test) GetDescription

func (x *Test) GetDescription() string

func (*Test) GetExec

func (x *Test) GetExec() string

func (*Test) GetId

func (x *Test) GetId() string

func (*Test) GetReadme

func (x *Test) GetReadme() []string

func (*Test) GetVersion

func (x *Test) GetVersion() uint32

func (*Test) ProtoMessage

func (*Test) ProtoMessage()

func (*Test) ProtoReflect

func (x *Test) ProtoReflect() protoreflect.Message

func (*Test) Reset

func (x *Test) Reset()

func (*Test) String

func (x *Test) String() string

type TestRegistry

type TestRegistry struct {

	// name -- the human readable name of this TestSuite
	Name string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Test []*Test `protobuf:"bytes,2,rep,name=test,proto3" json:"test,omitempty"`
	// contains filtered or unexported fields
}

func (*TestRegistry) Descriptor deprecated

func (*TestRegistry) Descriptor() ([]byte, []int)

Deprecated: Use TestRegistry.ProtoReflect.Descriptor instead.

func (*TestRegistry) GetName

func (x *TestRegistry) GetName() string

func (*TestRegistry) GetTest

func (x *TestRegistry) GetTest() []*Test

func (*TestRegistry) ProtoMessage

func (*TestRegistry) ProtoMessage()

func (*TestRegistry) ProtoReflect

func (x *TestRegistry) ProtoReflect() protoreflect.Message

func (*TestRegistry) Reset

func (x *TestRegistry) Reset()

func (*TestRegistry) String

func (x *TestRegistry) String() string

Jump to

Keyboard shortcuts

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