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

Unified Diff: appengine/findit/crash/scorers/test/top_frame_index_test.py

Issue 2157433002: [Findit] Pass changed files info to Fracas, 2 face design. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Fix nits. Created 4 years, 5 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/scorers/test/top_frame_index_test.py
diff --git a/appengine/findit/crash/scorers/test/top_frame_index_test.py b/appengine/findit/crash/scorers/test/top_frame_index_test.py
index a7efe24c759d9e511da8a9436a4acba1c626b734..ac73d13f7c57e406d15220bcd0e2aa355992676a 100644
--- a/appengine/findit/crash/scorers/test/top_frame_index_test.py
+++ b/appengine/findit/crash/scorers/test/top_frame_index_test.py
@@ -25,6 +25,10 @@ class TopFrameIndexTest(ScorerTestSuite):
def testReason(self):
self.assertEqual(TopFrameIndex().Reason(0, 1),
- 'Modified top crashing frame is #0')
+ ('TopFrameIndex', 1, 'Top frame is #0'))
self.assertEqual(TopFrameIndex().Reason(30, 0),
- '')
+ None)
+
+ def testChangedFiles(self):
+ result = MatchResult(self._GetDummyChangeLog(), 'src/', '')
+ self.assertEqual(TopFrameIndex().ChangedFiles(result), None)
« no previous file with comments | « appengine/findit/crash/scorers/test/min_distance_test.py ('k') | appengine/findit/crash/scorers/top_frame_index.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698