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

Unified Diff: tools/chrome_remote_control/chrome_remote_control/tab_test_case.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/chrome_remote_control/chrome_remote_control/tab_test_case.py
diff --git a/tools/chrome_remote_control/chrome_remote_control/tab_test_case.py b/tools/chrome_remote_control/chrome_remote_control/tab_test_case.py
deleted file mode 100644
index 899f20884228bec3419c8d022e770729ef027d8c..0000000000000000000000000000000000000000
--- a/tools/chrome_remote_control/chrome_remote_control/tab_test_case.py
+++ /dev/null
@@ -1,29 +0,0 @@
-# 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.
-import unittest
-
-from chrome_remote_control import browser_finder
-from chrome_remote_control import options_for_unittests
-
-class TabTestCase(unittest.TestCase):
- def setUp(self):
- self._browser = None
- self._tab = None
- options = options_for_unittests.Get()
- browser_to_create = browser_finder.FindBrowser(options)
- if not browser_to_create:
- raise Exception('No browser found, cannot continue test.')
- try:
- self._browser = browser_to_create.Create()
- self._tab = self._browser.ConnectToNthTab(0)
- except:
- self.tearDown()
- raise
-
- def tearDown(self):
- if self._tab:
- self._tab.Close()
- if self._browser:
- self._browser.Close()
-

Powered by Google App Engine
This is Rietveld 408576698