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

Unified Diff: src/report/report_test.py

Issue 1685693004: Chrome URL bugfix + added tests for chrome_app.apis. (Closed) Base URL: https://github.com/chromium/caterpillar.git@master
Patch Set: Line consistency fix. Created 4 years, 10 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
« src/chrome_app/apis_test.py ('K') | « src/chrome_app/apis_test.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/report/report_test.py
diff --git a/src/report/report_test.py b/src/report/report_test.py
index e9897a66c8034aa04a8d98222ff11041d88ef26a..05d0f170447e07bf51c58a509917594059506101 100755
--- a/src/report/report_test.py
+++ b/src/report/report_test.py
@@ -125,7 +125,7 @@ class TestProcessUsage(unittest.TestCase):
'// keep awakes\n'
'<span class="ca-feature none">'
'chrome.power.requestKeepAwake</span>();\n'
- '// the user is now awake\nnotAChromeAppCall();',
+ '// the user is now awake\nnotAChromeAppCall();\n',
0)])
self.assertEqual(apis['app.runtime']['usage'],
[('my scr\xedpt.js',
diff --git "a/tests/test_app_minimal/m\303\275 other script.js" "b/tests/test_app_minimal/m\303\275 other script.js"
index 84186b9bec1e9b4f25a581ab10c3e15fb93e0f53..98da4f611baa95818e7b01907050864364939468 100644
--- "a/tests/test_app_minimal/m\303\275 other script.js"
+++ "b/tests/test_app_minimal/m\303\275 other script.js"
@@ -1,4 +1,5 @@
// keep awakes
chrome.power.requestKeepAwake();
// the user is now awake
-notAChromeAppCall();
+notAChromeAppCall();
+var website = 'chrome.google.com';
« src/chrome_app/apis_test.py ('K') | « src/chrome_app/apis_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698