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

Side by Side Diff: content/test/gpu/gpu_tests/screenshot_sync.py

Issue 614783002: Remove page_set argument from benchmark.CreateExpectations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 os 4 import os
5 5
6 import screenshot_sync_expectations as expectations 6 import screenshot_sync_expectations as expectations
7 7
8 from telemetry import benchmark 8 from telemetry import benchmark
9 from telemetry.core import util 9 from telemetry.core import util
10 from telemetry.page import page 10 from telemetry.page import page
(...skipping 30 matching lines...) Expand all
41 action_runner.WaitForJavaScriptCondition( 41 action_runner.WaitForJavaScriptCondition(
42 'window.__testComplete', timeout_in_seconds=120) 42 'window.__testComplete', timeout_in_seconds=120)
43 43
44 44
45 @benchmark.Disabled('mac') 45 @benchmark.Disabled('mac')
46 class ScreenshotSyncProcess(benchmark.Benchmark): 46 class ScreenshotSyncProcess(benchmark.Benchmark):
47 """Tests that screenhots are properly synchronized with the frame one which 47 """Tests that screenhots are properly synchronized with the frame one which
48 they were requested""" 48 they were requested"""
49 test = _ScreenshotSyncValidator 49 test = _ScreenshotSyncValidator
50 50
51 def CreateExpectations(self, page_set): 51 def CreateExpectations(self):
52 return expectations.ScreenshotSyncExpectations() 52 return expectations.ScreenshotSyncExpectations()
53 53
54 def CreatePageSet(self, options): 54 def CreatePageSet(self, options):
55 ps = page_set.PageSet(file_path=data_path, serving_dirs=['']) 55 ps = page_set.PageSet(file_path=data_path, serving_dirs=[''])
56 ps.AddPage(ScreenshotSyncPage(ps, ps.base_dir)) 56 ps.AddPage(ScreenshotSyncPage(ps, ps.base_dir))
57 return ps 57 return ps
OLDNEW
« 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