Documentation ¶
Index ¶
- Variables
- type TestError
- func (*TestError) Descriptor() ([]byte, []int)deprecated
- func (x *TestError) GetFile() string
- func (x *TestError) GetLine() int64
- func (x *TestError) GetReason() string
- func (x *TestError) GetStack() string
- func (x *TestError) GetTime() string
- func (*TestError) ProtoMessage()
- func (x *TestError) ProtoReflect() protoreflect.Message
- func (x *TestError) Reset()
- func (x *TestError) String() string
- type TestResult
- func (*TestResult) Descriptor() ([]byte, []int)deprecated
- func (x *TestResult) GetAdditionalTimeNs() int64
- func (x *TestResult) GetAttr() []string
- func (x *TestResult) GetContacts() []string
- func (x *TestResult) GetData() []string
- func (x *TestResult) GetDesc() string
- func (x *TestResult) GetEnd() string
- func (x *TestResult) GetErrors() []*TestError
- func (x *TestResult) GetName() string
- func (x *TestResult) GetOutDir() string
- func (x *TestResult) GetPkg() string
- func (x *TestResult) GetSkipReason() string
- func (x *TestResult) GetSoftwareDeps() []string
- func (x *TestResult) GetStart() string
- func (x *TestResult) GetTimeoutNs() int64
- func (x *TestResult) GetVars() []string
- func (*TestResult) ProtoMessage()
- func (x *TestResult) ProtoReflect() protoreflect.Message
- func (x *TestResult) Reset()
- func (x *TestResult) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_tast_test_result_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type TestError ¶
type TestError struct { Time string `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` File string `protobuf:"bytes,3,opt,name=file,proto3" json:"file,omitempty"` Line int64 `protobuf:"varint,4,opt,name=line,proto3" json:"line,omitempty"` Stack string `protobuf:"bytes,5,opt,name=stack,proto3" json:"stack,omitempty"` // contains filtered or unexported fields }
func (*TestError) Descriptor
deprecated
func (*TestError) ProtoMessage ¶
func (*TestError) ProtoMessage()
func (*TestError) ProtoReflect ¶
func (x *TestError) ProtoReflect() protoreflect.Message
type TestResult ¶
type TestResult struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Pkg string `protobuf:"bytes,2,opt,name=pkg,proto3" json:"pkg,omitempty"` AdditionalTimeNs int64 `protobuf:"varint,3,opt,name=additional_time_ns,json=additionalTime,proto3" json:"additional_time_ns,omitempty"` Desc string `protobuf:"bytes,4,opt,name=desc,proto3" json:"desc,omitempty"` Contacts []string `protobuf:"bytes,5,rep,name=contacts,proto3" json:"contacts,omitempty"` Attr []string `protobuf:"bytes,6,rep,name=attr,proto3" json:"attr,omitempty"` Data []string `protobuf:"bytes,7,rep,name=data,proto3" json:"data,omitempty"` Vars []string `protobuf:"bytes,8,rep,name=vars,proto3" json:"vars,omitempty"` SoftwareDeps []string `protobuf:"bytes,9,rep,name=software_deps,json=softwareDeps,proto3" json:"software_deps,omitempty"` TimeoutNs int64 `protobuf:"varint,10,opt,name=timeout_ns,json=timeout,proto3" json:"timeout_ns,omitempty"` Errors []*TestError `protobuf:"bytes,11,rep,name=errors,proto3" json:"errors,omitempty"` Start string `protobuf:"bytes,12,opt,name=start,proto3" json:"start,omitempty"` End string `protobuf:"bytes,13,opt,name=end,proto3" json:"end,omitempty"` OutDir string `protobuf:"bytes,14,opt,name=out_dir,json=outDir,proto3" json:"out_dir,omitempty"` SkipReason string `protobuf:"bytes,15,opt,name=skip_reason,json=skipReason,proto3" json:"skip_reason,omitempty"` // contains filtered or unexported fields }
A proto representation of tast's TestResult golang / JSON object.
Currently this proto is only used for storing tast results for analysis (e.g. by Dremel). The golang definition and comments should be used as a source of truth.
func (*TestResult) Descriptor
deprecated
func (*TestResult) Descriptor() ([]byte, []int)
Deprecated: Use TestResult.ProtoReflect.Descriptor instead.
func (*TestResult) GetAdditionalTimeNs ¶
func (x *TestResult) GetAdditionalTimeNs() int64
func (*TestResult) GetAttr ¶
func (x *TestResult) GetAttr() []string
func (*TestResult) GetContacts ¶
func (x *TestResult) GetContacts() []string
func (*TestResult) GetData ¶
func (x *TestResult) GetData() []string
func (*TestResult) GetDesc ¶
func (x *TestResult) GetDesc() string
func (*TestResult) GetEnd ¶
func (x *TestResult) GetEnd() string
func (*TestResult) GetErrors ¶
func (x *TestResult) GetErrors() []*TestError
func (*TestResult) GetName ¶
func (x *TestResult) GetName() string
func (*TestResult) GetOutDir ¶
func (x *TestResult) GetOutDir() string
func (*TestResult) GetPkg ¶
func (x *TestResult) GetPkg() string
func (*TestResult) GetSkipReason ¶
func (x *TestResult) GetSkipReason() string
func (*TestResult) GetSoftwareDeps ¶
func (x *TestResult) GetSoftwareDeps() []string
func (*TestResult) GetStart ¶
func (x *TestResult) GetStart() string
func (*TestResult) GetTimeoutNs ¶
func (x *TestResult) GetTimeoutNs() int64
func (*TestResult) GetVars ¶
func (x *TestResult) GetVars() []string
func (*TestResult) ProtoMessage ¶
func (*TestResult) ProtoMessage()
func (*TestResult) ProtoReflect ¶
func (x *TestResult) ProtoReflect() protoreflect.Message
func (*TestResult) Reset ¶
func (x *TestResult) Reset()
func (*TestResult) String ¶
func (x *TestResult) String() string
Click to show internal directories.
Click to hide internal directories.