Documentation ¶
Index ¶
- Variables
- type Artifact
- func (*Artifact) Descriptor() ([]byte, []int)
- func (m *Artifact) GetName() string
- func (m *Artifact) GetValues() []string
- func (*Artifact) ProtoMessage()
- func (m *Artifact) Reset()
- func (m *Artifact) String() string
- func (m *Artifact) XXX_DiscardUnknown()
- func (m *Artifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Artifact) XXX_Merge(src proto.Message)
- func (m *Artifact) XXX_Size() int
- func (m *Artifact) XXX_Unmarshal(b []byte) error
- type BuildbotInfo
- func (*BuildbotInfo) Descriptor() ([]byte, []int)
- func (m *BuildbotInfo) GetBuildNumber() int64
- func (m *BuildbotInfo) GetBuilderName() string
- func (m *BuildbotInfo) GetMasterName() string
- func (*BuildbotInfo) ProtoMessage()
- func (m *BuildbotInfo) Reset()
- func (m *BuildbotInfo) String() string
- func (m *BuildbotInfo) XXX_DiscardUnknown()
- func (m *BuildbotInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BuildbotInfo) XXX_Merge(src proto.Message)
- func (m *BuildbotInfo) XXX_Size() int
- func (m *BuildbotInfo) XXX_Unmarshal(b []byte) error
- type BuildbucketInfo
- func (*BuildbucketInfo) Descriptor() ([]byte, []int)
- func (m *BuildbucketInfo) GetBucket() string
- func (m *BuildbucketInfo) GetBuildId() int64
- func (m *BuildbucketInfo) GetBuilder() string
- func (m *BuildbucketInfo) GetProject() string
- func (*BuildbucketInfo) ProtoMessage()
- func (m *BuildbucketInfo) Reset()
- func (m *BuildbucketInfo) String() string
- func (m *BuildbucketInfo) XXX_DiscardUnknown()
- func (m *BuildbucketInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BuildbucketInfo) XXX_Merge(src proto.Message)
- func (m *BuildbucketInfo) XXX_Size() int
- func (m *BuildbucketInfo) XXX_Unmarshal(b []byte) error
- type ResultType
- type TestResultEvent
- func (*TestResultEvent) Descriptor() ([]byte, []int)
- func (m *TestResultEvent) GetBuildId() string
- func (m *TestResultEvent) GetBuildbotInfo() *BuildbotInfo
- func (m *TestResultEvent) GetBuildbucketInfo() *BuildbucketInfo
- func (m *TestResultEvent) GetChromiumRevision() string
- func (m *TestResultEvent) GetInterrupted() bool
- func (m *TestResultEvent) GetPath() string
- func (m *TestResultEvent) GetRun() *TestRun
- func (m *TestResultEvent) GetStartTime() *timestamp.Timestamp
- func (m *TestResultEvent) GetStepName() string
- func (m *TestResultEvent) GetTestType() string
- func (*TestResultEvent) ProtoMessage()
- func (m *TestResultEvent) Reset()
- func (m *TestResultEvent) String() string
- func (m *TestResultEvent) XXX_DiscardUnknown()
- func (m *TestResultEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TestResultEvent) XXX_Merge(src proto.Message)
- func (m *TestResultEvent) XXX_Size() int
- func (m *TestResultEvent) XXX_Unmarshal(b []byte) error
- type TestResults
- func (*TestResults) Descriptor() ([]byte, []int)
- func (m *TestResults) GetBuildId() string
- func (m *TestResults) GetInterrupted() bool
- func (m *TestResults) GetNumFailuresByType() []*TestResults_FailuresByType
- func (m *TestResults) GetPathDelimiter() string
- func (m *TestResults) GetSecondsSinceEpoch() float32
- func (m *TestResults) GetTests() map[string]*TestRun
- func (*TestResults) ProtoMessage()
- func (m *TestResults) Reset()
- func (m *TestResults) String() string
- func (m *TestResults) XXX_DiscardUnknown()
- func (m *TestResults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TestResults) XXX_Merge(src proto.Message)
- func (m *TestResults) XXX_Size() int
- func (m *TestResults) XXX_Unmarshal(b []byte) error
- type TestResults_FailuresByType
- func (*TestResults_FailuresByType) Descriptor() ([]byte, []int)
- func (m *TestResults_FailuresByType) GetCount() int64
- func (m *TestResults_FailuresByType) GetType() ResultType
- func (*TestResults_FailuresByType) ProtoMessage()
- func (m *TestResults_FailuresByType) Reset()
- func (m *TestResults_FailuresByType) String() string
- func (m *TestResults_FailuresByType) XXX_DiscardUnknown()
- func (m *TestResults_FailuresByType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TestResults_FailuresByType) XXX_Merge(src proto.Message)
- func (m *TestResults_FailuresByType) XXX_Size() int
- func (m *TestResults_FailuresByType) XXX_Unmarshal(b []byte) error
- type TestRun
- func (*TestRun) Descriptor() ([]byte, []int)
- func (m *TestRun) GetActual() []ResultType
- func (m *TestRun) GetArtifacts() []*Artifact
- func (m *TestRun) GetBugs() []string
- func (m *TestRun) GetExpected() []ResultType
- func (m *TestRun) GetHasRepaintOverlay() bool
- func (m *TestRun) GetIsMissingAudio() bool
- func (m *TestRun) GetIsMissingText() bool
- func (m *TestRun) GetIsMissingVideo() bool
- func (m *TestRun) GetIsTestharnessTest() bool
- func (m *TestRun) GetIsUnexpected() bool
- func (m *TestRun) GetName() string
- func (m *TestRun) GetReftestType() string
- func (m *TestRun) GetTime() float32
- func (m *TestRun) GetTimes() []float32
- func (*TestRun) ProtoMessage()
- func (m *TestRun) Reset()
- func (m *TestRun) String() string
- func (m *TestRun) XXX_DiscardUnknown()
- func (m *TestRun) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TestRun) XXX_Merge(src proto.Message)
- func (m *TestRun) XXX_Size() int
- func (m *TestRun) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ResultType_name = map[int32]string{
0: "SKIP",
1: "PASS",
2: "FAIL",
3: "CRASH",
4: "TIMEOUT",
5: "MISSING",
6: "LEAK",
7: "SLOW",
8: "TEXT",
9: "AUDIO",
10: "IMAGE",
11: "IMAGE_TEXT",
12: "REBASELINE",
13: "NEEDSREBASELINE",
14: "NEEDSMANUALREBASELINE",
15: "UNKNOWN",
16: "WONTFIX",
}
var ResultType_value = map[string]int32{
"SKIP": 0,
"PASS": 1,
"FAIL": 2,
"CRASH": 3,
"TIMEOUT": 4,
"MISSING": 5,
"LEAK": 6,
"SLOW": 7,
"TEXT": 8,
"AUDIO": 9,
"IMAGE": 10,
"IMAGE_TEXT": 11,
"REBASELINE": 12,
"NEEDSREBASELINE": 13,
"NEEDSMANUALREBASELINE": 14,
"UNKNOWN": 15,
"WONTFIX": 16,
}
Functions ¶
This section is empty.
Types ¶
type Artifact ¶
type Artifact struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Artifact represents an extra test output file.
func (*Artifact) Descriptor ¶
func (*Artifact) ProtoMessage ¶
func (*Artifact) ProtoMessage()
func (*Artifact) XXX_DiscardUnknown ¶
func (m *Artifact) XXX_DiscardUnknown()
func (*Artifact) XXX_Marshal ¶
func (*Artifact) XXX_Unmarshal ¶
type BuildbotInfo ¶
type BuildbotInfo struct { // MasterName is the master name. MasterName string `protobuf:"bytes,1,opt,name=master_name,json=masterName,proto3" json:"master_name,omitempty"` // BuilderName is the builder name. BuilderName string `protobuf:"bytes,2,opt,name=builder_name,json=builderName,proto3" json:"builder_name,omitempty"` // BuildNumber is the build number. BuildNumber int64 `protobuf:"varint,3,opt,name=build_number,json=buildNumber,proto3" json:"build_number,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
BuildbotInfo identifies a buildbot build.
func (*BuildbotInfo) Descriptor ¶
func (*BuildbotInfo) Descriptor() ([]byte, []int)
func (*BuildbotInfo) GetBuildNumber ¶
func (m *BuildbotInfo) GetBuildNumber() int64
func (*BuildbotInfo) GetBuilderName ¶
func (m *BuildbotInfo) GetBuilderName() string
func (*BuildbotInfo) GetMasterName ¶
func (m *BuildbotInfo) GetMasterName() string
func (*BuildbotInfo) ProtoMessage ¶
func (*BuildbotInfo) ProtoMessage()
func (*BuildbotInfo) Reset ¶
func (m *BuildbotInfo) Reset()
func (*BuildbotInfo) String ¶
func (m *BuildbotInfo) String() string
func (*BuildbotInfo) XXX_DiscardUnknown ¶
func (m *BuildbotInfo) XXX_DiscardUnknown()
func (*BuildbotInfo) XXX_Marshal ¶
func (m *BuildbotInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BuildbotInfo) XXX_Merge ¶
func (m *BuildbotInfo) XXX_Merge(src proto.Message)
func (*BuildbotInfo) XXX_Size ¶
func (m *BuildbotInfo) XXX_Size() int
func (*BuildbotInfo) XXX_Unmarshal ¶
func (m *BuildbotInfo) XXX_Unmarshal(b []byte) error
type BuildbucketInfo ¶
type BuildbucketInfo struct { // Project is the buildbucket project name. Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // Bucket is the buildbucket bucket name. Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"` // Builder is the buildbucket builder name. Builder string `protobuf:"bytes,3,opt,name=builder,proto3" json:"builder,omitempty"` // BuildID is the buildbucket build ID. BuildId int64 `protobuf:"varint,4,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
BuildbucketInfo identifies a buildbucket build.
func (*BuildbucketInfo) Descriptor ¶
func (*BuildbucketInfo) Descriptor() ([]byte, []int)
func (*BuildbucketInfo) GetBucket ¶
func (m *BuildbucketInfo) GetBucket() string
func (*BuildbucketInfo) GetBuildId ¶
func (m *BuildbucketInfo) GetBuildId() int64
func (*BuildbucketInfo) GetBuilder ¶
func (m *BuildbucketInfo) GetBuilder() string
func (*BuildbucketInfo) GetProject ¶
func (m *BuildbucketInfo) GetProject() string
func (*BuildbucketInfo) ProtoMessage ¶
func (*BuildbucketInfo) ProtoMessage()
func (*BuildbucketInfo) Reset ¶
func (m *BuildbucketInfo) Reset()
func (*BuildbucketInfo) String ¶
func (m *BuildbucketInfo) String() string
func (*BuildbucketInfo) XXX_DiscardUnknown ¶
func (m *BuildbucketInfo) XXX_DiscardUnknown()
func (*BuildbucketInfo) XXX_Marshal ¶
func (m *BuildbucketInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BuildbucketInfo) XXX_Merge ¶
func (m *BuildbucketInfo) XXX_Merge(src proto.Message)
func (*BuildbucketInfo) XXX_Size ¶
func (m *BuildbucketInfo) XXX_Size() int
func (*BuildbucketInfo) XXX_Unmarshal ¶
func (m *BuildbucketInfo) XXX_Unmarshal(b []byte) error
type ResultType ¶
type ResultType int32
ResultType represents the result of a test, either actual or expected.
const ( // SKIP means the test was not run. ResultType_SKIP ResultType = 0 // PASS means the test ran as expected. ResultType_PASS ResultType = 1 // FAIL means the test did not run as expected. ResultType_FAIL ResultType = 2 // CRASH means the test runner crashed during the test. ResultType_CRASH ResultType = 3 // TIMEOUT means the test hung (did not complete) and was aborted. ResultType_TIMEOUT ResultType = 4 // MISSING is layout test specific. The test completed but we could not find // an expected baseline to compare against. ResultType_MISSING ResultType = 5 // LEAK is layout test specific. Memory leaks were detected during the test execution. ResultType_LEAK ResultType = 6 // SLOW is layout test specific. The test is expected to take longer than normal to run. ResultType_SLOW ResultType = 7 // TEXT is layout test specific, deprecated. The test is expected to produce // a text-only failure (the image, if present, will match). Normally you will // see "FAIL" instead. ResultType_TEXT ResultType = 8 // AUDIO is layout test specific, deprecated. The test is expected to produce // audio output that doesn't match the expected result. Normally you will see // "FAIL" instead. ResultType_AUDIO ResultType = 9 // IMAGE is layout test specific. The test produces image (and possibly text // output). The image output doesn't match what we'd expect, but the text output, // if present, does. ResultType_IMAGE ResultType = 10 // IMAGE_TEXT is layout test specific, deprecated. The test produces image // and text output, both of which fail to match what we expect. Normally you // will see "FAIL" instead. ResultType_IMAGE_TEXT ResultType = 11 // REBASELINE is layout test specific. The expected test result is out of date // and will be ignored (any result other than a crash or timeout will be // considered as passing). This test result should only ever show up on local // test runs, not on bots (it is forbidden to check in a TestExpectations file // with this expectation). This should never show up as an "actual" result. ResultType_REBASELINE ResultType = 12 // NEEDSREBASELINE is layout test specific. The expected test result is out // of date and will be ignored (as above); the auto-rebaseline-bot will look // for tests of this type and automatically update them. This should never // show up as an "actual" result. ResultType_NEEDSREBASELINE ResultType = 13 // NEEDSMANUALREBASELINE is layout test specific. The expected test result // is out of date and will be ignored (as above). This result may be checked // in to the TestExpectations file, but the auto-rebasline-bot will ignore // these entries. This should never show up as an "actual" result. ResultType_NEEDSMANUALREBASELINE ResultType = 14 // UNKNOWN is an unrecognized or unknown test result type. ResultType_UNKNOWN ResultType = 15 // WONTFIX is for tests that are not expected to ever pass. For example, // platform-specific features running on a platform that doesn't support // them. ResultType_WONTFIX ResultType = 16 )
func (ResultType) EnumDescriptor ¶
func (ResultType) EnumDescriptor() ([]byte, []int)
func (ResultType) String ¶
func (x ResultType) String() string
type TestResultEvent ¶
type TestResultEvent struct { // Path is the full joined path of the test. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // TestType is derived from step name, by stripping anything but the first // word (before the first space), but preserving '(with patch)' suffix if it // was present in the original step name. TestType string `protobuf:"bytes,2,opt,name=test_type,json=testType,proto3" json:"test_type,omitempty"` // StepName is the name of the step that was running the tests. Test type // above is a normalized version of this name. StepName string `protobuf:"bytes,3,opt,name=step_name,json=stepName,proto3" json:"step_name,omitempty"` // Interrupted is true if the test run was interrupted and terminated early // (either via the runner bailing out or the user hitting ctrl-C, etc.) If // true, this indicates that not all of the tests in the suite were run and // the results are at best incomplete and possibly totally invalid. Interrupted bool `protobuf:"varint,4,opt,name=interrupted,proto3" json:"interrupted,omitempty"` // StartTime is The start time of the test run expressed as a number of // microseconds from the UNIX epoch. StartTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Run is the result of the test run. Run *TestRun `protobuf:"bytes,6,opt,name=run,proto3" json:"run,omitempty"` // BuildId is the build_id in chrome-infra-events:raw_events.completed_builds_legacy BuildId string `protobuf:"bytes,8,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` // BuildbotInfo identifies where the test run ran. BuildbotInfo *BuildbotInfo `protobuf:"bytes,9,opt,name=buildbot_info,json=buildbotInfo,proto3" json:"buildbot_info,omitempty"` // ChromuimRevision is the revision of the current Chromium checkout, if relevant, e.g. “356123”. ChromiumRevision string `protobuf:"bytes,10,opt,name=chromium_revision,json=chromiumRevision,proto3" json:"chromium_revision,omitempty"` BuildbucketInfo *BuildbucketInfo `protobuf:"bytes,11,opt,name=buildbucket_info,json=buildbucketInfo,proto3" json:"buildbucket_info,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
TestResultEvent is suitable for representing a row in a BigQuery table. Note that while TestResults looks like a more obvious choice, the repeated TestRun messages in .tests will often exceed the row size limit for BQ. This message flattens TestRun.tests out into one row per test, which should more easily fit within the BQ row size limit.
func (*TestResultEvent) Descriptor ¶
func (*TestResultEvent) Descriptor() ([]byte, []int)
func (*TestResultEvent) GetBuildId ¶
func (m *TestResultEvent) GetBuildId() string
func (*TestResultEvent) GetBuildbotInfo ¶
func (m *TestResultEvent) GetBuildbotInfo() *BuildbotInfo
func (*TestResultEvent) GetBuildbucketInfo ¶
func (m *TestResultEvent) GetBuildbucketInfo() *BuildbucketInfo
func (*TestResultEvent) GetChromiumRevision ¶
func (m *TestResultEvent) GetChromiumRevision() string
func (*TestResultEvent) GetInterrupted ¶
func (m *TestResultEvent) GetInterrupted() bool
func (*TestResultEvent) GetPath ¶
func (m *TestResultEvent) GetPath() string
func (*TestResultEvent) GetRun ¶
func (m *TestResultEvent) GetRun() *TestRun
func (*TestResultEvent) GetStartTime ¶
func (m *TestResultEvent) GetStartTime() *timestamp.Timestamp
func (*TestResultEvent) GetStepName ¶
func (m *TestResultEvent) GetStepName() string
func (*TestResultEvent) GetTestType ¶
func (m *TestResultEvent) GetTestType() string
func (*TestResultEvent) ProtoMessage ¶
func (*TestResultEvent) ProtoMessage()
func (*TestResultEvent) Reset ¶
func (m *TestResultEvent) Reset()
func (*TestResultEvent) String ¶
func (m *TestResultEvent) String() string
func (*TestResultEvent) XXX_DiscardUnknown ¶
func (m *TestResultEvent) XXX_DiscardUnknown()
func (*TestResultEvent) XXX_Marshal ¶
func (m *TestResultEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TestResultEvent) XXX_Merge ¶
func (m *TestResultEvent) XXX_Merge(src proto.Message)
func (*TestResultEvent) XXX_Size ¶
func (m *TestResultEvent) XXX_Size() int
func (*TestResultEvent) XXX_Unmarshal ¶
func (m *TestResultEvent) XXX_Unmarshal(b []byte) error
type TestResults ¶
type TestResults struct { // Interrupted is true if the test run was interrupted and terminated early // (either via the runner bailing out or the user hitting ctrl-C, etc.) // If true, this indicates that not all of the tests in the suite were run // and the results are at best incomplete and possibly totally invalid. Interrupted bool `protobuf:"varint,1,opt,name=interrupted,proto3" json:"interrupted,omitempty"` // NumFailuresByType is a summary of the totals of each result type. // If a test was run more than once, only the first invocation's result is // included in the totals. Each key is one of the result types listed below. // A missing result type is the same as being present and set to zero (0). NumFailuresByType []*TestResults_FailuresByType `protobuf:"bytes,2,rep,name=num_failures_by_type,json=numFailuresByType,proto3" json:"num_failures_by_type,omitempty"` // PathDelimiter is the separator string to use in between components of a // tests name; normally "." for GTest- and Python-based tests and "/" for // layout tests; if not present, you should default to "/" for backwards-compatibility. PathDelimiter string `protobuf:"bytes,3,opt,name=path_delimiter,json=pathDelimiter,proto3" json:"path_delimiter,omitempty"` // SecondsSinceEpoch is the start time of the test run expressed as a // floating-point offset in seconds from the UNIX epoch. SecondsSinceEpoch float32 `protobuf:"fixed32,4,opt,name=seconds_since_epoch,json=secondsSinceEpoch,proto3" json:"seconds_since_epoch,omitempty"` // TestResults is the set of actual test results. Each directory or module // component in the test name is a node in the trie, and the leaf contains // the dict of per-test fields as described below. // // In the original JSON, this is a trie. Here, just flatten out as path strings. // They *should* compress just fine in transit/at rest, but we should verify // with measurements in the wild. Tests map[string]*TestRun `` /* 151-byte string literal not displayed */ // BuildId is the build_id in chrome-infra-events:raw_events.completed_builds_legacy BuildId string `protobuf:"bytes,6,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
TestResults encapsulates the results of a run of a set of tests.
func (*TestResults) Descriptor ¶
func (*TestResults) Descriptor() ([]byte, []int)
func (*TestResults) GetBuildId ¶
func (m *TestResults) GetBuildId() string
func (*TestResults) GetInterrupted ¶
func (m *TestResults) GetInterrupted() bool
func (*TestResults) GetNumFailuresByType ¶
func (m *TestResults) GetNumFailuresByType() []*TestResults_FailuresByType
func (*TestResults) GetPathDelimiter ¶
func (m *TestResults) GetPathDelimiter() string
func (*TestResults) GetSecondsSinceEpoch ¶
func (m *TestResults) GetSecondsSinceEpoch() float32
func (*TestResults) GetTests ¶
func (m *TestResults) GetTests() map[string]*TestRun
func (*TestResults) ProtoMessage ¶
func (*TestResults) ProtoMessage()
func (*TestResults) Reset ¶
func (m *TestResults) Reset()
func (*TestResults) String ¶
func (m *TestResults) String() string
func (*TestResults) XXX_DiscardUnknown ¶
func (m *TestResults) XXX_DiscardUnknown()
func (*TestResults) XXX_Marshal ¶
func (m *TestResults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TestResults) XXX_Merge ¶
func (m *TestResults) XXX_Merge(src proto.Message)
func (*TestResults) XXX_Size ¶
func (m *TestResults) XXX_Size() int
func (*TestResults) XXX_Unmarshal ¶
func (m *TestResults) XXX_Unmarshal(b []byte) error
type TestResults_FailuresByType ¶
type TestResults_FailuresByType struct { Type ResultType `protobuf:"varint,1,opt,name=type,proto3,enum=testresults.events.ResultType" json:"type,omitempty"` Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
FailuresByType is a workaround for the lack of support in proto3 for enum types as keys in maps.
func (*TestResults_FailuresByType) Descriptor ¶
func (*TestResults_FailuresByType) Descriptor() ([]byte, []int)
func (*TestResults_FailuresByType) GetCount ¶
func (m *TestResults_FailuresByType) GetCount() int64
func (*TestResults_FailuresByType) GetType ¶
func (m *TestResults_FailuresByType) GetType() ResultType
func (*TestResults_FailuresByType) ProtoMessage ¶
func (*TestResults_FailuresByType) ProtoMessage()
func (*TestResults_FailuresByType) Reset ¶
func (m *TestResults_FailuresByType) Reset()
func (*TestResults_FailuresByType) String ¶
func (m *TestResults_FailuresByType) String() string
func (*TestResults_FailuresByType) XXX_DiscardUnknown ¶
func (m *TestResults_FailuresByType) XXX_DiscardUnknown()
func (*TestResults_FailuresByType) XXX_Marshal ¶
func (m *TestResults_FailuresByType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TestResults_FailuresByType) XXX_Merge ¶
func (m *TestResults_FailuresByType) XXX_Merge(src proto.Message)
func (*TestResults_FailuresByType) XXX_Size ¶
func (m *TestResults_FailuresByType) XXX_Size() int
func (*TestResults_FailuresByType) XXX_Unmarshal ¶
func (m *TestResults_FailuresByType) XXX_Unmarshal(b []byte) error
type TestRun ¶
type TestRun struct { // Actual is an ordered list of the results the test actually produced. // {"FAIL, "PASS"} means that a test was run twice, failed the first time, // and then passed when it was retried. If a test produces multiple // different results, then it was actually flaky during the run. Actual []ResultType `protobuf:"varint,1,rep,packed,name=actual,proto3,enum=testresults.events.ResultType" json:"actual,omitempty"` // Expected is an unordered list of the result types expected for the test, // e.g. {"FAIL", "PASS"} means that a test is expected to either pass or fail. // A test that contains multiple values is expected to be flaky. Expected []ResultType `protobuf:"varint,2,rep,packed,name=expected,proto3,enum=testresults.events.ResultType" json:"expected,omitempty"` // Bugs is a list of URLs to bug database entries associated with each test. Bugs []string `protobuf:"bytes,3,rep,name=bugs,proto3" json:"bugs,omitempty"` // IsUnexpected indicates that the failure was unexpected (a regression). // If false, the failure was expected and will be ignored. IsUnexpected bool `protobuf:"varint,4,opt,name=is_unexpected,json=isUnexpected,proto3" json:"is_unexpected,omitempty"` // Time is the time it took in seconds to execute the first invocation of the test. Time float32 `protobuf:"fixed32,5,opt,name=time,proto3" json:"time,omitempty"` // Times are the times in seconds of each invocation of the test. Times []float32 `protobuf:"fixed32,6,rep,packed,name=times,proto3" json:"times,omitempty"` // HasRepaintOverlay indicates that the test output contains the data needed // to draw repaint overlays to help explain the results (only used in layout tests). HasRepaintOverlay bool `protobuf:"varint,7,opt,name=has_repaint_overlay,json=hasRepaintOverlay,proto3" json:"has_repaint_overlay,omitempty"` // IsMissingAudio indicates that the test was supposed to have an audio // baseline to compare against, and we didn't find one. IsMissingAudio bool `protobuf:"varint,8,opt,name=is_missing_audio,json=isMissingAudio,proto3" json:"is_missing_audio,omitempty"` // IsMissingTest indicates that the test was supposed to have a text baseline // to compare against, and we didn't find one. IsMissingText bool `protobuf:"varint,9,opt,name=is_missing_text,json=isMissingText,proto3" json:"is_missing_text,omitempty"` // IsMissingVideo indicates that the test was supposed to have an image // baseline to compare against and we didn't find one. IsMissingVideo bool `protobuf:"varint,10,opt,name=is_missing_video,json=isMissingVideo,proto3" json:"is_missing_video,omitempty"` // IsTestHarnessTest indicates that the layout test was written using the // w3c's test harness and we don't necessarily have any baselines to compare against. IsTestharnessTest bool `protobuf:"varint,11,opt,name=is_testharness_test,json=isTestharnessTest,proto3" json:"is_testharness_test,omitempty"` // ReftestType may be one of "==" or "!=" to indicate that the test is a // "reference test" and the results were expected to match the reference or // not match the reference, respectively (only used in layout tests). ReftestType string `protobuf:"bytes,12,opt,name=reftest_type,json=reftestType,proto3" json:"reftest_type,omitempty"` // Name is the name of the test or test suite. Name string `protobuf:"bytes,13,opt,name=name,proto3" json:"name,omitempty"` // Artifacts are extra test output files. Artifacts []*Artifact `protobuf:"bytes,14,rep,name=artifacts,proto3" json:"artifacts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
TestRun represents the output results of one test run.
func (*TestRun) Descriptor ¶
func (*TestRun) GetActual ¶
func (m *TestRun) GetActual() []ResultType
func (*TestRun) GetArtifacts ¶
func (*TestRun) GetExpected ¶
func (m *TestRun) GetExpected() []ResultType
func (*TestRun) GetHasRepaintOverlay ¶
func (*TestRun) GetIsMissingAudio ¶
func (*TestRun) GetIsMissingText ¶
func (*TestRun) GetIsMissingVideo ¶
func (*TestRun) GetIsTestharnessTest ¶
func (*TestRun) GetIsUnexpected ¶
func (*TestRun) GetReftestType ¶
func (*TestRun) ProtoMessage ¶
func (*TestRun) ProtoMessage()
func (*TestRun) XXX_DiscardUnknown ¶
func (m *TestRun) XXX_DiscardUnknown()