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

Unified Diff: appengine/findit/crash/test/predator_testcase.py

Issue 2657913002: [Predator] Add ``Project`` class and ``ClassifySuspect`` method to project and component classifier (Closed)
Patch Set: Fix nits. Created 3 years, 11 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
Index: appengine/findit/crash/test/predator_testcase.py
diff --git a/appengine/findit/crash/test/predator_testcase.py b/appengine/findit/crash/test/predator_testcase.py
index aed8262c9693397cd3fa36e531f64429ee9eaf8e..e977199478bed04b65ea0f86b2869844e16371a6 100644
--- a/appengine/findit/crash/test/predator_testcase.py
+++ b/appengine/findit/crash/test/predator_testcase.py
@@ -41,15 +41,9 @@ DEFAULT_CONFIG_DATA = {
'top_n': 4
},
'project_classifier': {
- 'file_path_marker_to_project_name': {
- 'googleplex-android/': 'android_os',
- },
- 'function_marker_to_project_name': {
- 'org.chromium': 'chromium',
- 'android.': 'android_os',
- },
- 'host_directories': [
- 'src/'
+ 'project_path_function_hosts': [
+ ['android_os', ['googleplex-android/'], ['android.'], None],
+ ['chromium', None, ['org.chromium'], ['src/']]
],
'non_chromium_project_rank_priority': {
'android_os': '-1',
« no previous file with comments | « appengine/findit/crash/test/findit_for_chromecrash_test.py ('k') | appengine/findit/crash/test/project_classifier_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698