Documentation
¶
Index ¶
- Constants
- func Coalesce(result statuspb.TestStatus, ignoreRunning bool) statuspb.TestStatus
- func IsFailingResult(rowResult statuspb.TestStatus) bool
- func IsPassingResult(rowResult statuspb.TestStatus) bool
- func Iter(ctx context.Context, results []int32) <-chan statuspb.TestStatus
- func Map(ctx context.Context, rows []*statepb.Row) map[string]<-chan statuspb.TestStatus
Constants ¶
View Source
const ( // IgnoreRunning maps RUNNING to NO_RESULT IgnoreRunning = true // ShowRunning maps RUNNING to UNKNOWN ShowRunning = false )
Variables ¶
This section is empty.
Functions ¶
func Coalesce ¶
func Coalesce(result statuspb.TestStatus, ignoreRunning bool) statuspb.TestStatus
Coalesce reduces the result to PASS, NO_RESULT, FAIL, FLAKY or UNKNOWN.
func IsFailingResult ¶ added in v0.0.15
func IsFailingResult(rowResult statuspb.TestStatus) bool
IsFailingResult returns true if the test status is any failing status, including CATEGORIZED_FAILURE, BUILD_FAIL, and more.
func IsPassingResult ¶ added in v0.0.15
func IsPassingResult(rowResult statuspb.TestStatus) bool
IsPassingResult returns true if the test status is any passing status, including PASS_WITH_SKIPS, BUILD_PASSED, and more.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.