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

Unified Diff: tools/telemetry/telemetry/core/tab_unittest.py

Issue 337603005: Rename telemetry.test.Test to telemetry.benchmark.Benchmark. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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
Index: tools/telemetry/telemetry/core/tab_unittest.py
diff --git a/tools/telemetry/telemetry/core/tab_unittest.py b/tools/telemetry/telemetry/core/tab_unittest.py
index 5b179caf981e3fe9238c1f5b22ebdc207af30b4d..53db4339302bfd008a9da5cc878a688b05014c53 100644
--- a/tools/telemetry/telemetry/core/tab_unittest.py
+++ b/tools/telemetry/telemetry/core/tab_unittest.py
@@ -4,7 +4,7 @@
import logging
-from telemetry import test
+from telemetry import benchmark
from telemetry.core import bitmap
from telemetry.core import video
from telemetry.core import util
@@ -57,7 +57,7 @@ class TabTest(tab_test_case.TabTestCase):
lambda: self._tab.Navigate('chrome://crash',
timeout=5))
- @test.Enabled('has tabs')
+ @benchmark.Enabled('has tabs')
def testActivateTab(self):
util.WaitFor(lambda: _IsDocumentVisible(self._tab), timeout=5)
new_tab = self._browser.tabs.New()
@@ -155,7 +155,7 @@ class GpuTabTest(tab_test_case.TabTestCase):
super(GpuTabTest, self).setUp()
# Test flaky on mac: http://crbug.com/358664
- @test.Disabled('android', 'mac')
+ @benchmark.Disabled('android', 'mac')
def testScreenshot(self):
if not self._tab.screenshot_supported:
logging.warning('Browser does not support screenshots, skipping test.')

Powered by Google App Engine
This is Rietveld 408576698