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

Unified Diff: content/test/gpu/gpu_tests/screenshot_sync.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
« no previous file with comments | « content/test/gpu/gpu_tests/pixel.py ('k') | content/test/gpu/gpu_tests/webgl_conformance.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/gpu/gpu_tests/screenshot_sync.py
diff --git a/content/test/gpu/gpu_tests/screenshot_sync.py b/content/test/gpu/gpu_tests/screenshot_sync.py
index 330968f7d6f23bc9335b57c77c0999aae0613456..a787bced4fd3051d81cfcefbeaf4b04a1fa1c79b 100644
--- a/content/test/gpu/gpu_tests/screenshot_sync.py
+++ b/content/test/gpu/gpu_tests/screenshot_sync.py
@@ -5,7 +5,7 @@ import os
import screenshot_sync_expectations as expectations
-from telemetry import test
+from telemetry import benchmark
from telemetry.core import util
from telemetry.page import page
from telemetry.page import page_set
@@ -16,7 +16,7 @@ from telemetry.page.actions.all_page_actions import *
data_path = os.path.join(
util.GetChromiumSrcDir(), 'content', 'test', 'data', 'gpu')
-@test.Disabled('mac')
+@benchmark.Disabled('mac')
class _ScreenshotSyncValidator(page_test.PageTest):
def CustomizeBrowserOptions(self, options):
options.AppendExtraBrowserArgs('--enable-gpu-benchmarking')
@@ -28,7 +28,7 @@ class _ScreenshotSyncValidator(page_test.PageTest):
raise page_test.Failure(message)
-@test.Disabled('mac')
+@benchmark.Disabled('mac')
class ScreenshotSyncPage(page.Page):
def __init__(self, page_set, base_dir):
super(ScreenshotSyncPage, self).__init__(
@@ -44,8 +44,8 @@ class ScreenshotSyncPage(page.Page):
'window.__testComplete', timeout_in_seconds=120)
-@test.Disabled('mac')
-class ScreenshotSyncProcess(test.Test):
+@benchmark.Disabled('mac')
+class ScreenshotSyncProcess(benchmark.Benchmark):
"""Tests that screenhots are properly synchronized with the frame one which
they were requested"""
test = _ScreenshotSyncValidator
« no previous file with comments | « content/test/gpu/gpu_tests/pixel.py ('k') | content/test/gpu/gpu_tests/webgl_conformance.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698