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

Unified Diff: tools/telemetry/telemetry/unittest_util/tab_test_case.py

Issue 940153002: Telemetry: Add a unit test for InspectorBackendList.GetTabById(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Split into two unittests. Created 5 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/telemetry/core/backends/chrome/tab_list_backend_unittest.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/unittest_util/tab_test_case.py
diff --git a/tools/telemetry/telemetry/unittest_util/tab_test_case.py b/tools/telemetry/telemetry/unittest_util/tab_test_case.py
index 92c1cb3e67dc1ed62af076ab4d10ff3b6d55c70e..92a9c94d042a457e1bcdabdab1938e0353d63921 100644
--- a/tools/telemetry/telemetry/unittest_util/tab_test_case.py
+++ b/tools/telemetry/telemetry/unittest_util/tab_test_case.py
@@ -40,3 +40,7 @@ class TabTestCase(browser_test_case.BrowserTestCase):
self.tearDownClass()
self.setUpClass()
self._tab = self._browser.tabs[0]
+
+ @property
+ def tabs(self):
+ return self._browser.tabs
« no previous file with comments | « tools/telemetry/telemetry/core/backends/chrome/tab_list_backend_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698