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

Unified Diff: tools/telemetry/telemetry/browser_unittest.py

Issue 11361165: [chrome_remote_control] Rename chrome_remote_control to telemetry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
Index: tools/telemetry/telemetry/browser_unittest.py
diff --git a/tools/chrome_remote_control/chrome_remote_control/browser_unittest.py b/tools/telemetry/telemetry/browser_unittest.py
similarity index 90%
rename from tools/chrome_remote_control/chrome_remote_control/browser_unittest.py
rename to tools/telemetry/telemetry/browser_unittest.py
index 0735870ff0efd907bbef52589bea413f4b5ebe7a..d49509ecc80f10abde09299b24c83bb5b29bca1a 100644
--- a/tools/chrome_remote_control/chrome_remote_control/browser_unittest.py
+++ b/tools/telemetry/telemetry/browser_unittest.py
@@ -3,8 +3,8 @@
# found in the LICENSE file.
import unittest
-from chrome_remote_control import browser_finder
-from chrome_remote_control import options_for_unittests
+from telemetry import browser_finder
+from telemetry import options_for_unittests
class BrowserTest(unittest.TestCase):
def testBrowserCreation(self):
@@ -24,7 +24,7 @@ class BrowserTest(unittest.TestCase):
# being set.
options = options_for_unittests.Get()
- flag1 = '--user-agent=chrome_remote_control'
+ flag1 = '--user-agent=telemetry'
options.extra_browser_args.append(flag1)
browser_to_create = browser_finder.FindBrowser(options)
@@ -33,7 +33,7 @@ class BrowserTest(unittest.TestCase):
t.page.Navigate('http://www.google.com/')
t.WaitForDocumentReadyStateToBeInteractiveOrBetter()
self.assertEquals(t.runtime.Evaluate('navigator.userAgent'),
- 'chrome_remote_control')
+ 'telemetry')
def testNewCloseTab(self):
options = options_for_unittests.Get()
« no previous file with comments | « tools/telemetry/telemetry/browser_options_unittest.py ('k') | tools/telemetry/telemetry/cros_browser_backend.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698