Documentation ¶
Index ¶
- Variables
- type TestMetadata
- type TestMetadata_Main
- func (*TestMetadata_Main) Descriptor() ([]byte, []int)deprecated
- func (x *TestMetadata_Main) GetPythonPackage() string
- func (x *TestMetadata_Main) GetTestArgs() []string
- func (*TestMetadata_Main) ProtoMessage()
- func (x *TestMetadata_Main) ProtoReflect() protoreflect.Message
- func (x *TestMetadata_Main) Reset()
- func (x *TestMetadata_Main) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_chromiumos_config_api_test_harness_tauto_v1_tauto_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type TestMetadata ¶
type TestMetadata struct { Main *TestMetadata_Main `protobuf:"bytes,1,opt,name=main,proto3" json:"main,omitempty"` // contains filtered or unexported fields }
Structured data for Tauto included in the test metadata.
This message is the schema for the contents of chromiumos.config.api.test.metadata.v1.Informational.details for Tauto tests.
func (*TestMetadata) Descriptor
deprecated
func (*TestMetadata) Descriptor() ([]byte, []int)
Deprecated: Use TestMetadata.ProtoReflect.Descriptor instead.
func (*TestMetadata) GetMain ¶
func (x *TestMetadata) GetMain() *TestMetadata_Main
func (*TestMetadata) ProtoMessage ¶
func (*TestMetadata) ProtoMessage()
func (*TestMetadata) ProtoReflect ¶
func (x *TestMetadata) ProtoReflect() protoreflect.Message
func (*TestMetadata) Reset ¶
func (x *TestMetadata) Reset()
func (*TestMetadata) String ¶
func (x *TestMetadata) String() string
type TestMetadata_Main ¶
type TestMetadata_Main struct { // Fully qualified python package path for the main function. // // The provided package MUST have a public function with the signature: // // def run(test_args, other args...): // """TODO(pprabhu) Document arguments once harness is in shape. // // Args: // test_args: A list of test specific arguments, set via the test // metadata. See ...tauto.v1.TestMetadata.Main.test_args // """ // // The Tauto harness imports package_path in Tauto-specific python // environment and calls run() to execute the test. PythonPackage string `protobuf:"bytes,1,opt,name=python_package,json=pythonPackage,proto3" json:"python_package,omitempty"` // A list of arguments for the run() function for this test. // // The Tauto harness provide theses arguments as the test_args // argument to the run() function. TestArgs []string `protobuf:"bytes,2,rep,name=test_args,json=testArgs,proto3" json:"test_args,omitempty"` // contains filtered or unexported fields }
The Main invocation entry for this test. Used by the Tauto test harness to execute the test.
func (*TestMetadata_Main) Descriptor
deprecated
func (*TestMetadata_Main) Descriptor() ([]byte, []int)
Deprecated: Use TestMetadata_Main.ProtoReflect.Descriptor instead.
func (*TestMetadata_Main) GetPythonPackage ¶
func (x *TestMetadata_Main) GetPythonPackage() string
func (*TestMetadata_Main) GetTestArgs ¶
func (x *TestMetadata_Main) GetTestArgs() []string
func (*TestMetadata_Main) ProtoMessage ¶
func (*TestMetadata_Main) ProtoMessage()
func (*TestMetadata_Main) ProtoReflect ¶
func (x *TestMetadata_Main) ProtoReflect() protoreflect.Message
func (*TestMetadata_Main) Reset ¶
func (x *TestMetadata_Main) Reset()
func (*TestMetadata_Main) String ¶
func (x *TestMetadata_Main) String() string
Click to show internal directories.
Click to hide internal directories.