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

Unified Diff: appengine/findit/crash/test/parse_util_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
« no previous file with comments | « appengine/findit/crash/test/findit_for_crash_test.py ('k') | appengine/findit/crash/test/results_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/crash/test/parse_util_test.py
diff --git a/appengine/findit/crash/test/parse_util_test.py b/appengine/findit/crash/test/parse_util_test.py
index f7079743caf9258b22b0c7326a30ae03effaf154..bafad6b96ee66226b002a56a5df590afb1de5ad0 100644
--- a/appengine/findit/crash/test/parse_util_test.py
+++ b/appengine/findit/crash/test/parse_util_test.py
@@ -27,27 +27,27 @@ class ParseUtilTest(testing.AppengineTestCase):
self.assertEqual(
parse_util.GetDepPathAndNormalizedFilePath('out/r/gen/b.cc', deps),
- ('', 'out/r/gen/b.cc'))
+ ('', 'out/r/gen/b.cc', None))
self.assertEqual(
parse_util.GetDepPathAndNormalizedFilePath('src/a/b.cc', deps),
- ('src/', 'a/b.cc'))
+ ('src/', 'a/b.cc', 'https://repo'))
self.assertEqual(
parse_util.GetDepPathAndNormalizedFilePath('src/Upper/a/b.cc', deps),
- ('src/Upper/', 'a/b.cc'))
+ ('src/Upper/', 'a/b.cc', 'https://repo'))
self.assertEqual(
parse_util.GetDepPathAndNormalizedFilePath('src/upper/a/b.cc', deps),
- ('src/Upper/', 'a/b.cc'))
+ ('src/Upper/', 'a/b.cc', 'https://repo'))
self.assertEqual(
parse_util.GetDepPathAndNormalizedFilePath('Upper/a/b.cc', deps),
- ('src/Upper/', 'a/b.cc'))
+ ('src/Upper/', 'a/b.cc', 'https://repo'))
self.assertEqual(
parse_util.GetDepPathAndNormalizedFilePath('upper/a/b.cc', deps),
- ('src/Upper/', 'a/b.cc'))
+ ('src/Upper/', 'a/b.cc', 'https://repo'))
self.assertEqual(
parse_util.GetDepPathAndNormalizedFilePath('dummy/path/b.cc', deps),
- ('src/', 'dummy/path/b.cc'))
+ ('src/', 'dummy/path/b.cc', parse_util.CHROMIUM_REPO_URL))
def testGetLanguageTypeFromFormatType(self):
self.assertEqual(
« no previous file with comments | « appengine/findit/crash/test/findit_for_crash_test.py ('k') | appengine/findit/crash/test/results_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698