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

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

Issue 356833010: Delete all_page_actions, which is now empty. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 6 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 | « no previous file | content/test/gpu/gpu_tests/maps.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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 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 import os 4 import os
5 5
6 from telemetry import benchmark as benchmark_module 6 from telemetry import benchmark as benchmark_module
7 from telemetry.core import exceptions 7 from telemetry.core import exceptions
8 from telemetry.core import util 8 from telemetry.core import util
9 from telemetry.page import page 9 from telemetry.page import page
10 from telemetry.page import page_set 10 from telemetry.page import page_set
11 # pylint: disable=W0401,W0614
12 from telemetry.page import page_test 11 from telemetry.page import page_test
13 from telemetry.page.actions.all_page_actions import *
14 12
15 data_path = os.path.join( 13 data_path = os.path.join(
16 util.GetChromiumSrcDir(), 'content', 'test', 'data', 'gpu') 14 util.GetChromiumSrcDir(), 'content', 'test', 'data', 'gpu')
17 15
18 wait_timeout = 20 # seconds 16 wait_timeout = 20 # seconds
19 17
20 harness_script = r""" 18 harness_script = r"""
21 var domAutomationController = {}; 19 var domAutomationController = {};
22 20
23 domAutomationController._loaded = false; 21 domAutomationController._loaded = false;
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 # options = {'page_repeat': 5} 180 # options = {'page_repeat': 5}
183 def CreatePageSet(self, options): 181 def CreatePageSet(self, options):
184 ps = page_set.PageSet( 182 ps = page_set.PageSet(
185 file_path=data_path, 183 file_path=data_path,
186 user_agent_type='desktop', 184 user_agent_type='desktop',
187 serving_dirs=set([''])) 185 serving_dirs=set(['']))
188 ps.AddPage(WebGLContextLostFromGPUProcessExitPage(ps, ps.base_dir)) 186 ps.AddPage(WebGLContextLostFromGPUProcessExitPage(ps, ps.base_dir))
189 ps.AddPage(WebGLContextLostFromLoseContextExtensionPage(ps, ps.base_dir)) 187 ps.AddPage(WebGLContextLostFromLoseContextExtensionPage(ps, ps.base_dir))
190 ps.AddPage(WebGLContextLostFromQuantityPage(ps, ps.base_dir)) 188 ps.AddPage(WebGLContextLostFromQuantityPage(ps, ps.base_dir))
191 return ps 189 return ps
OLDNEW
« no previous file with comments | « no previous file | content/test/gpu/gpu_tests/maps.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698