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

Unified Diff: tools/telemetry/telemetry/core/browser_options_unittest.py

Issue 23785006: Telemetry: small fix for extra browser args. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | « tools/telemetry/telemetry/core/browser_options.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/core/browser_options_unittest.py
diff --git a/tools/telemetry/telemetry/core/browser_options_unittest.py b/tools/telemetry/telemetry/core/browser_options_unittest.py
index eb0b3627711110a9eae1f2ed0d3298a93cf4ead0..7034d982cf84301a25ef8d2c5c726b3513547af3 100644
--- a/tools/telemetry/telemetry/core/browser_options_unittest.py
+++ b/tools/telemetry/telemetry/core/browser_options_unittest.py
@@ -72,6 +72,14 @@ class BrowserOptionsTest(unittest.TestCase):
parser.parse_args(['--browser', 'any', '--profile-dir', 'foo'])
self.assertEquals(options.browser_options.profile_dir, 'foo')
+ def testExtraBrowserArgs(self):
+ options = browser_options.BrowserFinderOptions()
+ parser = options.CreateParser()
+ parser.parse_args(['--extra-browser-args=--foo --bar'])
+
+ self.assertEquals(options.browser_options.extra_browser_args,
+ set(['--foo','--bar']))
+
def testMergeDefaultValues(self):
options = browser_options.BrowserFinderOptions()
options.already_true = True
« no previous file with comments | « tools/telemetry/telemetry/core/browser_options.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698