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

Side by Side Diff: tools/telemetry/telemetry/test/tab_test_case.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 import unittest 4 import unittest
5 5
6 from telemetry import browser_finder 6 from telemetry.core import browser_finder
7 from telemetry import options_for_unittests 7 from telemetry.test import options_for_unittests
8 8
9 class TabTestCase(unittest.TestCase): 9 class TabTestCase(unittest.TestCase):
10 def __init__(self, *args): 10 def __init__(self, *args):
11 self._extra_browser_args = [] 11 self._extra_browser_args = []
12 super(TabTestCase, self).__init__(*args) 12 super(TabTestCase, self).__init__(*args)
13 13
14 def setUp(self): 14 def setUp(self):
15 self._browser = None 15 self._browser = None
16 self._tab = None 16 self._tab = None
17 options = options_for_unittests.GetCopy() 17 options = options_for_unittests.GetCopy()
(...skipping 16 matching lines...) Expand all
34 34
35 def tearDown(self): 35 def tearDown(self):
36 if self._tab: 36 if self._tab:
37 self._tab.Disconnect() 37 self._tab.Disconnect()
38 if self._browser: 38 if self._browser:
39 self._browser.Close() 39 self._browser.Close()
40 40
41 def CustomizeBrowserOptions(self, options): 41 def CustomizeBrowserOptions(self, options):
42 """Override to add test-specific options to the BrowserOptions object""" 42 """Override to add test-specific options to the BrowserOptions object"""
43 pass 43 pass
OLDNEW
« no previous file with comments | « tools/telemetry/telemetry/test/system_stub.py ('k') | tools/telemetry/telemetry/timeline_event.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698