test_status_go_proto

package
v0.0.68 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0, NCSA, Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Default_TestCase_Run = bool(true)
)

Default values for TestCase fields.

View Source
const (
	Default_TestResultData_Status = BlazeTestStatus_NO_STATUS
)

Default values for TestResultData fields.

Variables

View Source
var (
	FailedTestCasesStatus_name = map[int32]string{
		1: "FULL",
		2: "PARTIAL",
		3: "NOT_AVAILABLE",
		4: "EMPTY",
	}
	FailedTestCasesStatus_value = map[string]int32{
		"FULL":          1,
		"PARTIAL":       2,
		"NOT_AVAILABLE": 3,
		"EMPTY":         4,
	}
)

Enum value maps for FailedTestCasesStatus.

View Source
var (
	BlazeTestStatus_name = map[int32]string{
		0: "NO_STATUS",
		1: "PASSED",
		2: "FLAKY",
		3: "TIMEOUT",
		4: "FAILED",
		5: "INCOMPLETE",
		6: "REMOTE_FAILURE",
		7: "FAILED_TO_BUILD",
		8: "BLAZE_HALTED_BEFORE_TESTING",
	}
	BlazeTestStatus_value = map[string]int32{
		"NO_STATUS":                   0,
		"PASSED":                      1,
		"FLAKY":                       2,
		"TIMEOUT":                     3,
		"FAILED":                      4,
		"INCOMPLETE":                  5,
		"REMOTE_FAILURE":              6,
		"FAILED_TO_BUILD":             7,
		"BLAZE_HALTED_BEFORE_TESTING": 8,
	}
)

Enum value maps for BlazeTestStatus.

View Source
var (
	TestCase_Type_name = map[int32]string{
		0: "TEST_CASE",
		1: "TEST_SUITE",
		2: "TEST_DECORATOR",
		3: "UNKNOWN",
	}
	TestCase_Type_value = map[string]int32{
		"TEST_CASE":      0,
		"TEST_SUITE":     1,
		"TEST_DECORATOR": 2,
		"UNKNOWN":        3,
	}
)

Enum value maps for TestCase_Type.

View Source
var (
	TestCase_Status_name = map[int32]string{
		0: "PASSED",
		1: "FAILED",
		2: "ERROR",
	}
	TestCase_Status_value = map[string]int32{
		"PASSED": 0,
		"FAILED": 1,
		"ERROR":  2,
	}
)

Enum value maps for TestCase_Status.

View Source
var File_third_party_bazel_src_main_protobuf_test_status_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BlazeTestStatus

type BlazeTestStatus int32
const (
	BlazeTestStatus_NO_STATUS                   BlazeTestStatus = 0
	BlazeTestStatus_PASSED                      BlazeTestStatus = 1
	BlazeTestStatus_FLAKY                       BlazeTestStatus = 2
	BlazeTestStatus_TIMEOUT                     BlazeTestStatus = 3
	BlazeTestStatus_FAILED                      BlazeTestStatus = 4
	BlazeTestStatus_INCOMPLETE                  BlazeTestStatus = 5
	BlazeTestStatus_REMOTE_FAILURE              BlazeTestStatus = 6
	BlazeTestStatus_FAILED_TO_BUILD             BlazeTestStatus = 7
	BlazeTestStatus_BLAZE_HALTED_BEFORE_TESTING BlazeTestStatus = 8
)

func (BlazeTestStatus) Descriptor added in v0.0.49

func (BlazeTestStatus) Enum

func (x BlazeTestStatus) Enum() *BlazeTestStatus

func (BlazeTestStatus) EnumDescriptor deprecated

func (BlazeTestStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use BlazeTestStatus.Descriptor instead.

func (BlazeTestStatus) Number added in v0.0.49

func (BlazeTestStatus) String

func (x BlazeTestStatus) String() string

func (BlazeTestStatus) Type added in v0.0.49

func (*BlazeTestStatus) UnmarshalJSON deprecated

func (x *BlazeTestStatus) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type FailedTestCasesStatus

type FailedTestCasesStatus int32
const (
	FailedTestCasesStatus_FULL          FailedTestCasesStatus = 1
	FailedTestCasesStatus_PARTIAL       FailedTestCasesStatus = 2
	FailedTestCasesStatus_NOT_AVAILABLE FailedTestCasesStatus = 3
	FailedTestCasesStatus_EMPTY         FailedTestCasesStatus = 4
)

func (FailedTestCasesStatus) Descriptor added in v0.0.49

func (FailedTestCasesStatus) Enum

func (FailedTestCasesStatus) EnumDescriptor deprecated

func (FailedTestCasesStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use FailedTestCasesStatus.Descriptor instead.

func (FailedTestCasesStatus) Number added in v0.0.49

func (FailedTestCasesStatus) String

func (x FailedTestCasesStatus) String() string

func (FailedTestCasesStatus) Type added in v0.0.49

func (*FailedTestCasesStatus) UnmarshalJSON deprecated

func (x *FailedTestCasesStatus) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type TestCase

type TestCase struct {
	Child             []*TestCase      `protobuf:"bytes,1,rep,name=child" json:"child,omitempty"`
	Name              *string          `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	ClassName         *string          `protobuf:"bytes,3,opt,name=class_name,json=className" json:"class_name,omitempty"`
	RunDurationMillis *int64           `protobuf:"varint,4,opt,name=run_duration_millis,json=runDurationMillis" json:"run_duration_millis,omitempty"`
	Result            *string          `protobuf:"bytes,5,opt,name=result" json:"result,omitempty"`
	Type              *TestCase_Type   `protobuf:"varint,6,opt,name=type,enum=blaze.TestCase_Type" json:"type,omitempty"`
	Status            *TestCase_Status `protobuf:"varint,7,opt,name=status,enum=blaze.TestCase_Status" json:"status,omitempty"`
	Run               *bool            `protobuf:"varint,8,opt,name=run,def=1" json:"run,omitempty"`
	// contains filtered or unexported fields
}

func (*TestCase) Descriptor deprecated

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

Deprecated: Use TestCase.ProtoReflect.Descriptor instead.

func (*TestCase) GetChild

func (x *TestCase) GetChild() []*TestCase

func (*TestCase) GetClassName

func (x *TestCase) GetClassName() string

func (*TestCase) GetName

func (x *TestCase) GetName() string

func (*TestCase) GetResult

func (x *TestCase) GetResult() string

func (*TestCase) GetRun

func (x *TestCase) GetRun() bool

func (*TestCase) GetRunDurationMillis

func (x *TestCase) GetRunDurationMillis() int64

func (*TestCase) GetStatus

func (x *TestCase) GetStatus() TestCase_Status

func (*TestCase) GetType

func (x *TestCase) GetType() TestCase_Type

func (*TestCase) ProtoMessage

func (*TestCase) ProtoMessage()

func (*TestCase) ProtoReflect added in v0.0.49

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

func (*TestCase) Reset

func (x *TestCase) Reset()

func (*TestCase) String

func (x *TestCase) String() string

type TestCase_Status

type TestCase_Status int32
const (
	TestCase_PASSED TestCase_Status = 0
	TestCase_FAILED TestCase_Status = 1
	TestCase_ERROR  TestCase_Status = 2
)

func (TestCase_Status) Descriptor added in v0.0.49

func (TestCase_Status) Enum

func (x TestCase_Status) Enum() *TestCase_Status

func (TestCase_Status) EnumDescriptor deprecated

func (TestCase_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use TestCase_Status.Descriptor instead.

func (TestCase_Status) Number added in v0.0.49

func (TestCase_Status) String

func (x TestCase_Status) String() string

func (TestCase_Status) Type added in v0.0.49

func (*TestCase_Status) UnmarshalJSON deprecated

func (x *TestCase_Status) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type TestCase_Type

type TestCase_Type int32
const (
	TestCase_TEST_CASE      TestCase_Type = 0
	TestCase_TEST_SUITE     TestCase_Type = 1
	TestCase_TEST_DECORATOR TestCase_Type = 2
	TestCase_UNKNOWN        TestCase_Type = 3
)

func (TestCase_Type) Descriptor added in v0.0.49

func (TestCase_Type) Enum

func (x TestCase_Type) Enum() *TestCase_Type

func (TestCase_Type) EnumDescriptor deprecated

func (TestCase_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use TestCase_Type.Descriptor instead.

func (TestCase_Type) Number added in v0.0.49

func (TestCase_Type) String

func (x TestCase_Type) String() string

func (TestCase_Type) Type added in v0.0.49

func (*TestCase_Type) UnmarshalJSON deprecated

func (x *TestCase_Type) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type TestResultData

type TestResultData struct {
	Cachable             *bool                  `protobuf:"varint,1,opt,name=cachable" json:"cachable,omitempty"`
	TestPassed           *bool                  `protobuf:"varint,2,opt,name=test_passed,json=testPassed" json:"test_passed,omitempty"`
	Status               *BlazeTestStatus       `protobuf:"varint,3,opt,name=status,enum=blaze.BlazeTestStatus,def=0" json:"status,omitempty"`
	StatusDetails        *string                `protobuf:"bytes,16,opt,name=status_details,json=statusDetails" json:"status_details,omitempty"`
	FailedLogs           []string               `protobuf:"bytes,4,rep,name=failed_logs,json=failedLogs" json:"failed_logs,omitempty"`
	Warning              []string               `protobuf:"bytes,5,rep,name=warning" json:"warning,omitempty"`
	HasCoverage          *bool                  `protobuf:"varint,6,opt,name=has_coverage,json=hasCoverage" json:"has_coverage,omitempty"`
	RemotelyCached       *bool                  `protobuf:"varint,7,opt,name=remotely_cached,json=remotelyCached" json:"remotely_cached,omitempty"`
	IsRemoteStrategy     *bool                  `protobuf:"varint,8,opt,name=is_remote_strategy,json=isRemoteStrategy" json:"is_remote_strategy,omitempty"`
	TestTimes            []int64                `protobuf:"varint,9,rep,name=test_times,json=testTimes" json:"test_times,omitempty"`
	PassedLog            *string                `protobuf:"bytes,10,opt,name=passed_log,json=passedLog" json:"passed_log,omitempty"`
	TestProcessTimes     []int64                `protobuf:"varint,11,rep,name=test_process_times,json=testProcessTimes" json:"test_process_times,omitempty"`
	RunDurationMillis    *int64                 `protobuf:"varint,12,opt,name=run_duration_millis,json=runDurationMillis" json:"run_duration_millis,omitempty"`
	StartTimeMillisEpoch *int64                 `protobuf:"varint,15,opt,name=start_time_millis_epoch,json=startTimeMillisEpoch" json:"start_time_millis_epoch,omitempty"`
	TestCase             *TestCase              `protobuf:"bytes,13,opt,name=test_case,json=testCase" json:"test_case,omitempty"`
	FailedStatus         *FailedTestCasesStatus `protobuf:"varint,14,opt,name=failed_status,json=failedStatus,enum=blaze.FailedTestCasesStatus" json:"failed_status,omitempty"`
	// contains filtered or unexported fields
}

func (*TestResultData) Descriptor deprecated

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

Deprecated: Use TestResultData.ProtoReflect.Descriptor instead.

func (*TestResultData) GetCachable

func (x *TestResultData) GetCachable() bool

func (*TestResultData) GetFailedLogs

func (x *TestResultData) GetFailedLogs() []string

func (*TestResultData) GetFailedStatus

func (x *TestResultData) GetFailedStatus() FailedTestCasesStatus

func (*TestResultData) GetHasCoverage

func (x *TestResultData) GetHasCoverage() bool

func (*TestResultData) GetIsRemoteStrategy

func (x *TestResultData) GetIsRemoteStrategy() bool

func (*TestResultData) GetPassedLog

func (x *TestResultData) GetPassedLog() string

func (*TestResultData) GetRemotelyCached

func (x *TestResultData) GetRemotelyCached() bool

func (*TestResultData) GetRunDurationMillis

func (x *TestResultData) GetRunDurationMillis() int64

func (*TestResultData) GetStartTimeMillisEpoch

func (x *TestResultData) GetStartTimeMillisEpoch() int64

func (*TestResultData) GetStatus

func (x *TestResultData) GetStatus() BlazeTestStatus

func (*TestResultData) GetStatusDetails added in v0.0.61

func (x *TestResultData) GetStatusDetails() string

func (*TestResultData) GetTestCase

func (x *TestResultData) GetTestCase() *TestCase

func (*TestResultData) GetTestPassed

func (x *TestResultData) GetTestPassed() bool

func (*TestResultData) GetTestProcessTimes

func (x *TestResultData) GetTestProcessTimes() []int64

func (*TestResultData) GetTestTimes

func (x *TestResultData) GetTestTimes() []int64

func (*TestResultData) GetWarning

func (x *TestResultData) GetWarning() []string

func (*TestResultData) ProtoMessage

func (*TestResultData) ProtoMessage()

func (*TestResultData) ProtoReflect added in v0.0.49

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

func (*TestResultData) Reset

func (x *TestResultData) Reset()

func (*TestResultData) String

func (x *TestResultData) String() string

Jump to

Keyboard shortcuts

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