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

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

Issue 2459613003: Correctly rebaseline 2DCanvasWebGL pixel test (Closed)
Patch Set: Add ES3 version of test to expectations since it uses the same revision # Created 4 years, 1 month 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_expectations.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 4
5 class PixelTestPage(object): 5 class PixelTestPage(object):
6 """A wrapper class mimicking the functionality of the PixelTestsStorySet 6 """A wrapper class mimicking the functionality of the PixelTestsStorySet
7 from the old-style GPU tests. 7 from the old-style GPU tests.
8 """ 8 """
9 def __init__(self, url, name, test_rect, revision, 9 def __init__(self, url, name, test_rect, revision,
10 expected_colors=None, tolerance=2, browser_args=None): 10 expected_colors=None, tolerance=2, browser_args=None):
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 'size': [188, 8], 113 'size': [188, 8],
114 'color': [255, 0, 0], 114 'color': [255, 0, 0],
115 'tolerance': 3 115 'tolerance': 3
116 } 116 }
117 ]), 117 ]),
118 118
119 PixelTestPage( 119 PixelTestPage(
120 'pixel_canvas2d_webgl.html', 120 'pixel_canvas2d_webgl.html',
121 base_name + '_2DCanvasWebGL', 121 base_name + '_2DCanvasWebGL',
122 test_rect=[0, 0, 300, 300], 122 test_rect=[0, 0, 300, 300],
123 revision=2), 123 revision=3),
124 124
125 PixelTestPage( 125 PixelTestPage(
126 'pixel_background.html', 126 'pixel_background.html',
127 base_name + '_SolidColorBackground', 127 base_name + '_SolidColorBackground',
128 test_rect=[500, 500, 100, 100], 128 test_rect=[500, 500, 100, 100],
129 revision=1), 129 revision=1),
130 ] 130 ]
131 131
132 132
133 # Pages that should be run with experimental canvas features. 133 # Pages that should be run with experimental canvas features.
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 test_rect=[0, 0, 300, 300], 302 test_rect=[0, 0, 300, 300],
303 revision=2), 303 revision=2),
304 PixelTestPage( 304 PixelTestPage(
305 'filter_effects.html', 305 'filter_effects.html',
306 base_name + '_CSSFilterEffects_NoOverlays', 306 base_name + '_CSSFilterEffects_NoOverlays',
307 test_rect=[0, 0, 300, 300], 307 test_rect=[0, 0, 300, 300],
308 revision=2, 308 revision=2,
309 tolerance=10, 309 tolerance=10,
310 browser_args=['--disable-mac-overlays']), 310 browser_args=['--disable-mac-overlays']),
311 ] 311 ]
OLDNEW
« no previous file with comments | « content/test/gpu/gpu_tests/pixel_expectations.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698