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

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

Issue 24451002: [telemetry] Support absolute paths by changing file:/// to file://. More robust file path handling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit test on mac, apparently /tmp is a symlink to /private/tmp Created 7 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 | Annotate | Revision Log
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 test 4 from telemetry import test
5 from telemetry.page import page_set 5 from telemetry.page import page_set
6 from webgl_conformance import WebglConformanceValidator 6 from webgl_conformance import WebglConformanceValidator
7 from webgl_conformance import conformance_harness_script 7 from webgl_conformance import conformance_harness_script
8 from webgl_conformance import conformance_path 8 from webgl_conformance import conformance_path
9 9
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 enabled = False 48 enabled = False
49 test = WebglConformanceValidator 49 test = WebglConformanceValidator
50 50
51 def CreatePageSet(self, options): 51 def CreatePageSet(self, options):
52 page_set_dict = { 52 page_set_dict = {
53 'description': 'Test cases for WebGL robustness', 53 'description': 'Test cases for WebGL robustness',
54 'user_agent_type': 'desktop', 54 'user_agent_type': 'desktop',
55 'serving_dirs': [''], 55 'serving_dirs': [''],
56 'pages': [ 56 'pages': [
57 { 57 {
58 'url': 'file:///extra/lots-of-polys-example.html', 58 'url': 'file://extra/lots-of-polys-example.html',
59 'script_to_evaluate_on_commit': robustness_harness_script, 59 'script_to_evaluate_on_commit': robustness_harness_script,
60 'navigate_steps': [ 60 'navigate_steps': [
61 { 'action': 'navigate' }, 61 { 'action': 'navigate' },
62 { 'action': 'wait', 'javascript': 'webglTestHarness._finished' } 62 { 'action': 'wait', 'javascript': 'webglTestHarness._finished' }
63 ] 63 ]
64 } 64 }
65 ] 65 ]
66 } 66 }
67 return page_set.PageSet.FromDict(page_set_dict, conformance_path) 67 return page_set.PageSet.FromDict(page_set_dict, conformance_path)
OLDNEW
« no previous file with comments | « content/test/gpu/gpu_tests/webgl_conformance.py ('k') | content/test/gpu/page_sets/pixel_tests.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698