Documentation ¶
Index ¶
- Variables
- type Log
- type SuiteResult
- func (*SuiteResult) Descriptor() ([]byte, []int)deprecated
- func (x *SuiteResult) GetResults() []*SuiteResult_TestResult
- func (x *SuiteResult) GetSuiteLog() []*Log
- func (*SuiteResult) ProtoMessage()
- func (x *SuiteResult) ProtoReflect() protoreflect.Message
- func (x *SuiteResult) Reset()
- func (x *SuiteResult) String() string
- type SuiteResult_TestResult
- func (*SuiteResult_TestResult) Descriptor() ([]byte, []int)deprecated
- func (x *SuiteResult_TestResult) GetName() string
- func (x *SuiteResult_TestResult) GetStatus() SuiteResult_TestResult_TestStatus
- func (x *SuiteResult_TestResult) GetTestLog() []*Log
- func (*SuiteResult_TestResult) ProtoMessage()
- func (x *SuiteResult_TestResult) ProtoReflect() protoreflect.Message
- func (x *SuiteResult_TestResult) Reset()
- func (x *SuiteResult_TestResult) String() string
- type SuiteResult_TestResult_TestStatus
- func (SuiteResult_TestResult_TestStatus) Descriptor() protoreflect.EnumDescriptor
- func (x SuiteResult_TestResult_TestStatus) Enum() *SuiteResult_TestResult_TestStatus
- func (SuiteResult_TestResult_TestStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x SuiteResult_TestResult_TestStatus) Number() protoreflect.EnumNumber
- func (x SuiteResult_TestResult_TestStatus) String() string
- func (SuiteResult_TestResult_TestStatus) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SuiteResult_TestResult_TestStatus_name = map[int32]string{ 0: "ERROR", 1: "PASS", 2: "FAIL", 3: "SKIP", } SuiteResult_TestResult_TestStatus_value = map[string]int32{ "ERROR": 0, "PASS": 1, "FAIL": 2, "SKIP": 3, } )
Enum value maps for SuiteResult_TestResult_TestStatus.
View Source
var File_trf_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Log ¶
type Log struct { Fmt string `protobuf:"bytes,1,opt,name=fmt,proto3" json:"fmt,omitempty"` Args []uint64 `protobuf:"fixed64,2,rep,packed,name=args,proto3" json:"args,omitempty"` // contains filtered or unexported fields }
bpf_trace_printk style logging
func (*Log) Descriptor
deprecated
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
func (*Log) ProtoReflect ¶
func (x *Log) ProtoReflect() protoreflect.Message
type SuiteResult ¶
type SuiteResult struct { Results []*SuiteResult_TestResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` SuiteLog []*Log `protobuf:"bytes,2,rep,name=suite_log,json=suiteLog,proto3" json:"suite_log,omitempty"` // contains filtered or unexported fields }
TRF (Test Result Format)
func (*SuiteResult) Descriptor
deprecated
func (*SuiteResult) Descriptor() ([]byte, []int)
Deprecated: Use SuiteResult.ProtoReflect.Descriptor instead.
func (*SuiteResult) GetResults ¶
func (x *SuiteResult) GetResults() []*SuiteResult_TestResult
func (*SuiteResult) GetSuiteLog ¶
func (x *SuiteResult) GetSuiteLog() []*Log
func (*SuiteResult) ProtoMessage ¶
func (*SuiteResult) ProtoMessage()
func (*SuiteResult) ProtoReflect ¶
func (x *SuiteResult) ProtoReflect() protoreflect.Message
func (*SuiteResult) Reset ¶
func (x *SuiteResult) Reset()
func (*SuiteResult) String ¶
func (x *SuiteResult) String() string
type SuiteResult_TestResult ¶
type SuiteResult_TestResult struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Status SuiteResult_TestResult_TestStatus `protobuf:"varint,2,opt,name=status,proto3,enum=SuiteResult_TestResult_TestStatus" json:"status,omitempty"` TestLog []*Log `protobuf:"bytes,3,rep,name=test_log,json=testLog,proto3" json:"test_log,omitempty"` // contains filtered or unexported fields }
func (*SuiteResult_TestResult) Descriptor
deprecated
func (*SuiteResult_TestResult) Descriptor() ([]byte, []int)
Deprecated: Use SuiteResult_TestResult.ProtoReflect.Descriptor instead.
func (*SuiteResult_TestResult) GetName ¶
func (x *SuiteResult_TestResult) GetName() string
func (*SuiteResult_TestResult) GetStatus ¶
func (x *SuiteResult_TestResult) GetStatus() SuiteResult_TestResult_TestStatus
func (*SuiteResult_TestResult) GetTestLog ¶
func (x *SuiteResult_TestResult) GetTestLog() []*Log
func (*SuiteResult_TestResult) ProtoMessage ¶
func (*SuiteResult_TestResult) ProtoMessage()
func (*SuiteResult_TestResult) ProtoReflect ¶
func (x *SuiteResult_TestResult) ProtoReflect() protoreflect.Message
func (*SuiteResult_TestResult) Reset ¶
func (x *SuiteResult_TestResult) Reset()
func (*SuiteResult_TestResult) String ¶
func (x *SuiteResult_TestResult) String() string
type SuiteResult_TestResult_TestStatus ¶
type SuiteResult_TestResult_TestStatus int32
const ( // Unable to execute test, not indicative of the test itself, usually an unexpected error in the framework // like out of memory conditions. SuiteResult_TestResult_ERROR SuiteResult_TestResult_TestStatus = 0 SuiteResult_TestResult_PASS SuiteResult_TestResult_TestStatus = 1 SuiteResult_TestResult_FAIL SuiteResult_TestResult_TestStatus = 2 // The test was skipped, for example because the feature under test is disabled or unavailable with the // current settings or on this platform. SuiteResult_TestResult_SKIP SuiteResult_TestResult_TestStatus = 3 )
func (SuiteResult_TestResult_TestStatus) Descriptor ¶
func (SuiteResult_TestResult_TestStatus) Descriptor() protoreflect.EnumDescriptor
func (SuiteResult_TestResult_TestStatus) Enum ¶
func (x SuiteResult_TestResult_TestStatus) Enum() *SuiteResult_TestResult_TestStatus
func (SuiteResult_TestResult_TestStatus) EnumDescriptor
deprecated
func (SuiteResult_TestResult_TestStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use SuiteResult_TestResult_TestStatus.Descriptor instead.
func (SuiteResult_TestResult_TestStatus) Number ¶
func (x SuiteResult_TestResult_TestStatus) Number() protoreflect.EnumNumber
func (SuiteResult_TestResult_TestStatus) String ¶
func (x SuiteResult_TestResult_TestStatus) String() string
func (SuiteResult_TestResult_TestStatus) Type ¶
func (SuiteResult_TestResult_TestStatus) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.