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

Side by Side Diff: content/test/gpu/page_sets/gpu_process_tests.py

Issue 800863003: Kill PageSet.AddPage and its remaining usage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 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 from telemetry.page import page as page_module 4 from telemetry.page import page as page_module
5 from telemetry.page import page_set as page_set_module 5 from telemetry.page import page_set as page_set_module
6 6
7 7
8 class GpuProcessTestsPage(page_module.Page): 8 class GpuProcessTestsPage(page_module.Page):
9 9
10 def __init__(self, url, name, page_set): 10 def __init__(self, url, name, page_set):
(...skipping 30 matching lines...) Expand all
41 urls_and_names_list = [ 41 urls_and_names_list = [
42 ('file://../../data/gpu/functional_canvas_demo.html', 42 ('file://../../data/gpu/functional_canvas_demo.html',
43 'GpuProcess.canvas2d'), 43 'GpuProcess.canvas2d'),
44 ('file://../../data/gpu/functional_3d_css.html', 44 ('file://../../data/gpu/functional_3d_css.html',
45 'GpuProcess.css3d'), 45 'GpuProcess.css3d'),
46 ('file://../../data/gpu/functional_webgl.html', 46 ('file://../../data/gpu/functional_webgl.html',
47 'GpuProcess.webgl') 47 'GpuProcess.webgl')
48 ] 48 ]
49 49
50 for url, name in urls_and_names_list: 50 for url, name in urls_and_names_list:
51 self.AddPage(GpuProcessTestsPage(url, name, self)) 51 self.AddUserStory(GpuProcessTestsPage(url, name, self))
52 52
53 self.AddPage(FunctionalVideoPage(self)) 53 self.AddUserStory(FunctionalVideoPage(self))
OLDNEW
« no previous file with comments | « content/test/gpu/gpu_tests/webgl_robustness.py ('k') | content/test/gpu/page_sets/gpu_rasterization_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698