Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(695)

Unified Diff: appengine/findit/model/result_status.py

Issue 1866883002: [Findit] A huge refactoring and some bug fixing. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Fix nit. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/findit/model/analysis_status.py ('k') | appengine/findit/model/test/versioned_model_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/model/result_status.py
diff --git a/appengine/findit/model/wf_analysis_result_status.py b/appengine/findit/model/result_status.py
similarity index 81%
rename from appengine/findit/model/wf_analysis_result_status.py
rename to appengine/findit/model/result_status.py
index e01c50f2347fc571bf9e3e1f46b5273dc0c9e27b..37e417e44842306cf438f75f5376207503ae12ad 100644
--- a/appengine/findit/model/wf_analysis_result_status.py
+++ b/appengine/findit/model/result_status.py
@@ -1,9 +1,10 @@
-# Copyright 2015 The Chromium Authors. All rights reserved.
+# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-# Represents status of the analysis result of a waterfall build failure.
+# Represents status of the analysis result of a Chromium waterfall compile/test
+# failure or a Chrome crash.
FOUND_CORRECT = 0
FOUND_INCORRECT = 10
NOT_FOUND_INCORRECT = 20
@@ -13,6 +14,7 @@ NOT_FOUND_CORRECT = 50
FOUND_CORRECT_DUPLICATE = 1000
FOUND_INCORRECT_DUPLICATE = 1010
+
RESULT_STATUS_TO_DESCRIPTION = {
FOUND_CORRECT: 'Correct - Found',
FOUND_INCORRECT: 'Incorrect - Found',
« no previous file with comments | « appengine/findit/model/analysis_status.py ('k') | appengine/findit/model/test/versioned_model_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698