blob: 4ee080ebf950e7ff49e03d3773c799984b0360e0 [file] [log] [blame]
// Code generated by "stringer -type Result"; DO NOT EDIT.
package buildbotapi
import "strconv"
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[NoResult - -1]
_ = x[Success-0]
_ = x[Warning-1]
_ = x[Failure-2]
_ = x[Skipped-3]
_ = x[Exception-4]
_ = x[Retry-5]
_ = x[resultEnd-6]
}
const _Result_name = "NoResultSuccessWarningFailureSkippedExceptionRetryresultEnd"
var _Result_index = [...]uint8{0, 8, 15, 22, 29, 36, 45, 50, 59}
func (i Result) String() string {
i -= -1
if i < 0 || i >= Result(len(_Result_index)-1) {
return "Result(" + strconv.FormatInt(int64(i+-1), 10) + ")"
}
return _Result_name[_Result_index[i]:_Result_index[i+1]]
}