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

Side by Side Diff: tools/telemetry/telemetry/test/options_for_unittests.py

Issue 12278015: [Telemetry] Reorganize everything. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-add shebangs. Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """This module provides the global variable options_for_unittests. 5 """This module provides the global variable options_for_unittests.
6 6
7 This is set to a BrowserOptions object by the test harness, or None 7 This is set to a BrowserOptions object by the test harness, or None
8 if unit tests are not running. 8 if unit tests are not running.
9 9
10 This allows multiple unit tests to use a specific 10 This allows multiple unit tests to use a specific
(...skipping 13 matching lines...) Expand all
24 24
25 return _options.Copy() 25 return _options.Copy()
26 26
27 def AreSet(): 27 def AreSet():
28 if _options: 28 if _options:
29 return True 29 return True
30 return False 30 return False
31 31
32 def GetBrowserType(): 32 def GetBrowserType():
33 return _browser_type 33 return _browser_type
OLDNEW
« no previous file with comments | « tools/telemetry/telemetry/test/gtest_testrunner.py ('k') | tools/telemetry/telemetry/test/run_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698