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

Side by Side Diff: appengine/findit/crash/test/findit_for_chromecrash_test.py

Issue 2400283003: [Findit] Add skeleton code for delta test script. (Closed)
Patch Set: Rebase. Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from common import chromium_deps 5 from common import chromium_deps
6 from common.dependency import DependencyRoll 6 from common.dependency import DependencyRoll
7 from crash import detect_regression_range 7 from crash import detect_regression_range
8 from crash import findit_for_chromecrash 8 from crash import findit_for_chromecrash
9 from crash import chromecrash_parser 9 from crash import chromecrash_parser
10 from crash import findit_for_crash 10 from crash import findit_for_crash
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 expected_tag = { 117 expected_tag = {
118 'found_suspects': False, 118 'found_suspects': False,
119 'found_project': False, 119 'found_project': False,
120 'found_components': False, 120 'found_components': False,
121 'has_regression_range': False, 121 'has_regression_range': False,
122 'solution': 'core_algorithm', 122 'solution': 'core_algorithm',
123 } 123 }
124 124
125 self.assertEqual(expected_results, results) 125 self.assertEqual(expected_results, results)
126 self.assertEqual(expected_tag, tag) 126 self.assertEqual(expected_tag, tag)
127
128 def testFieldsProperty(self):
129 culprit = findit_for_chromecrash.Culprit('proj', ['Blink>API'], [],
130 ['50.0.1234.0', '50.0.1234.1'])
131 self.assertEqual(culprit.fields,
132 ('project', 'components', 'cls', 'regression_range'))
OLDNEW
« no previous file with comments | « appengine/findit/crash/findit_for_chromecrash.py ('k') | appengine/findit/util_scripts/crash_queries/delta_test/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698