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

Unified Diff: tools/telemetry/telemetry/__init__.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/telemetry/run_tests ('k') | tools/telemetry/telemetry/adb_commands.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/__init__.py
diff --git a/tools/telemetry/telemetry/__init__.py b/tools/telemetry/telemetry/__init__.py
index 04f488e2cd8e768a02882519c796e7d1b9b84a9d..19e6dbf5b32e5afe1420a89a811ed0ed5cbbe032 100644
--- a/tools/telemetry/telemetry/__init__.py
+++ b/tools/telemetry/telemetry/__init__.py
@@ -1,30 +1,4 @@
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-"""A library for chrome-based tests.
-
-"""
-from telemetry.browser import Browser
-from telemetry.browser_finder import FindBrowser
-from telemetry.browser_finder import GetAllAvailableBrowserTypes
-from telemetry.browser_gone_exception import BrowserGoneException
-from telemetry.browser_options import BrowserOptions
-from telemetry.tab import Tab
-from telemetry.tab_crash_exception import TabCrashException
-from telemetry.util import TimeoutException, WaitFor
-
-def CreateBrowser(browser_type):
- """Shorthand way to create a browser of a given type
-
- However, note that the preferred way to create a browser is:
- options = BrowserOptions()
- _, leftover_args, = options.CreateParser().parse_args()
- browser_to_create = FindBrowser(options)
- return browser_to_create.Create()
-
- as it creates more opportunities for customization and
- error handling."""
- browser_to_create = FindBrowser(BrowserOptions(browser_type))
- if not browser_to_create:
- raise Exception('No browser of type %s found' % browser_type)
- return browser_to_create.Create()
+"""A library for cross-platform browser tests."""
« no previous file with comments | « tools/telemetry/run_tests ('k') | tools/telemetry/telemetry/adb_commands.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698