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

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

Issue 1217813005: [Telemetry] Modify CreatePageSet to CreateStorySet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Ethan's comments Created 5 years, 5 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/trace_test.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 import random 5 import random
6 6
7 import screenshot_sync_expectations as expectations 7 import screenshot_sync_expectations as expectations
8 8
9 from telemetry import benchmark 9 from telemetry import benchmark
10 from telemetry.core import util 10 from telemetry.core import util
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 they were requested""" 60 they were requested"""
61 test = _ScreenshotSyncValidator 61 test = _ScreenshotSyncValidator
62 62
63 @classmethod 63 @classmethod
64 def Name(cls): 64 def Name(cls):
65 return 'screenshot_sync' 65 return 'screenshot_sync'
66 66
67 def CreateExpectations(self): 67 def CreateExpectations(self):
68 return expectations.ScreenshotSyncExpectations() 68 return expectations.ScreenshotSyncExpectations()
69 69
70 def CreatePageSet(self, options): 70 def CreateStorySet(self, options):
71 ps = page_set.PageSet(base_dir=data_path, serving_dirs=['']) 71 ps = page_set.PageSet(base_dir=data_path, serving_dirs=[''])
72 ps.AddUserStory(ScreenshotSyncPage(ps, ps.base_dir)) 72 ps.AddUserStory(ScreenshotSyncPage(ps, ps.base_dir))
73 return ps 73 return ps
OLDNEW
« no previous file with comments | « content/test/gpu/gpu_tests/pixel.py ('k') | content/test/gpu/gpu_tests/trace_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698