blob: 6c9ac90c15d86222d47176f8e63047cbb2c020c4 [file] [log] [blame]
Josh Bleecher Snyder833a0f82025-04-24 18:39:36 +00001// Code generated by "stringer -type=testStatus -trimprefix=testStatus"; DO NOT EDIT.
2
Josh Bleecher Snyderf4047bb2025-05-05 23:02:56 +00003package codereview
Josh Bleecher Snyder833a0f82025-04-24 18:39:36 +00004
5import "strconv"
6
7func _() {
8 // An "invalid array index" compiler error signifies that the constant values have changed.
9 // Re-run the stringer command to generate them again.
10 var x [1]struct{}
11 _ = x[testStatusUnknown-0]
12 _ = x[testStatusPass-1]
13 _ = x[testStatusFail-2]
14 _ = x[testStatusBuildFail-3]
15 _ = x[testStatusSkip-4]
16 _ = x[testStatusNoTests-5]
17}
18
19const _testStatus_name = "UnknownPassFailBuildFailSkipNoTests"
20
21var _testStatus_index = [...]uint8{0, 7, 11, 15, 24, 28, 35}
22
23func (i testStatus) String() string {
24 if i < 0 || i >= testStatus(len(_testStatus_index)-1) {
25 return "testStatus(" + strconv.FormatInt(int64(i), 10) + ")"
26 }
27 return _testStatus_name[_testStatus_index[i]:_testStatus_index[i+1]]
28}