Use an Enum to hold test status strings

Instead of using strings to hold test status, define an Enum of possible
statuses.

BUG=b:148627899
TEST=Run analysis on new robot results as well as existing results from
database. Check that status strings are correct on all pages and in
database, and that styles are applied correctly.

Change-Id: I62f51ff2963318fac63965943ec42fdf04d62a3b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/optofidelity_TPPT_analysis/+/3166611
Commit-Queue: Sean O'Brien <seobrien@chromium.org>
Tested-by: Sean O'Brien <seobrien@chromium.org>
Reviewed-by: Harry Cutts <hcutts@chromium.org>
9 files changed