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

Side by Side Diff: content/test/gpu/gpu_tests/webgl_robustness.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
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 from telemetry import benchmark 4 from telemetry import benchmark
5 from telemetry.page import page 5 from telemetry.page import page
6 from telemetry.page import page_set 6 from telemetry.page import page_set
7 from telemetry.page import page_test 7 from telemetry.page import page_test
8 8
9 from webgl_conformance import conformance_harness_script 9 from webgl_conformance import conformance_harness_script
10 from webgl_conformance import conformance_path 10 from webgl_conformance import conformance_path
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 super(WebglRobustnessPage, self).RunNavigateSteps(action_runner) 58 super(WebglRobustnessPage, self).RunNavigateSteps(action_runner)
59 action_runner.WaitForJavaScriptCondition('webglTestHarness._finished') 59 action_runner.WaitForJavaScriptCondition('webglTestHarness._finished')
60 60
61 class WebglRobustness(benchmark.Benchmark): 61 class WebglRobustness(benchmark.Benchmark):
62 test = WebglConformanceValidator 62 test = WebglConformanceValidator
63 63
64 @classmethod 64 @classmethod
65 def Name(cls): 65 def Name(cls):
66 return 'webgl_robustness' 66 return 'webgl_robustness'
67 67
68 def CreatePageSet(self, options): 68 def CreateStorySet(self, options):
69 ps = page_set.PageSet( 69 ps = page_set.PageSet(
70 base_dir=conformance_path, 70 base_dir=conformance_path,
71 serving_dirs=['']) 71 serving_dirs=[''])
72 ps.AddUserStory(WebglRobustnessPage(ps, ps.base_dir)) 72 ps.AddUserStory(WebglRobustnessPage(ps, ps.base_dir))
73 return ps 73 return ps
OLDNEW
« no previous file with comments | « content/test/gpu/gpu_tests/trace_test.py ('k') | tools/perf/benchmarks/benchmark_smoke_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698