tast

package
v0.0.0-...-fca4891 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use TestError.ProtoReflect.Descriptor instead.

func (*TestError) GetFile

func (x *TestError) GetFile() string

func (*TestError) GetLine

func (x *TestError) GetLine() int64

func (*TestError) GetReason

func (x *TestError) GetReason() string

func (*TestError) GetStack

func (x *TestError) GetStack() string

func (*TestError) GetTime

func (x *TestError) GetTime() string

func (*TestError) ProtoMessage

func (*TestError) ProtoMessage()

func (*TestError) ProtoReflect

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

func (*TestError) Reset

func (x *TestError) Reset()

func (*TestError) String

func (x *TestError) String() string

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

Jump to

Keyboard shortcuts

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