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

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

Issue 1136913005: Compute the base dpi from X (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | « 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 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 PixelTestsPage(page_module.Page): 8 class PixelTestsPage(page_module.Page):
9 9
10 def __init__(self, url, name, test_rect, revision, page_set): 10 def __init__(self, url, name, test_rect, revision, page_set):
(...skipping 12 matching lines...) Expand all
23 23
24 """ Some basic test cases for GPU. """ 24 """ Some basic test cases for GPU. """
25 25
26 def __init__(self, base_name='Pixel'): 26 def __init__(self, base_name='Pixel'):
27 super(PixelTestsPageSet, self).__init__( 27 super(PixelTestsPageSet, self).__init__(
28 user_agent_type='desktop') 28 user_agent_type='desktop')
29 self.AddUserStory(PixelTestsPage( 29 self.AddUserStory(PixelTestsPage(
30 url='file://../../data/gpu/pixel_canvas2d.html', 30 url='file://../../data/gpu/pixel_canvas2d.html',
31 name=base_name + '.Canvas2DRedBox', 31 name=base_name + '.Canvas2DRedBox',
32 test_rect=[0, 0, 300, 300], 32 test_rect=[0, 0, 300, 300],
33 revision=4, 33 revision=5,
34 page_set=self)) 34 page_set=self))
35 35
36 self.AddUserStory(PixelTestsPage( 36 self.AddUserStory(PixelTestsPage(
37 url='file://../../data/gpu/pixel_css3d.html', 37 url='file://../../data/gpu/pixel_css3d.html',
38 name=base_name + '.CSS3DBlueBox', 38 name=base_name + '.CSS3DBlueBox',
39 test_rect=[0, 0, 300, 300], 39 test_rect=[0, 0, 300, 300],
40 revision=12, 40 revision=13,
41 page_set=self)) 41 page_set=self))
42 42
43 self.AddUserStory(PixelTestsPage( 43 self.AddUserStory(PixelTestsPage(
44 url='file://../../data/gpu/pixel_webgl.html', 44 url='file://../../data/gpu/pixel_webgl.html',
45 name=base_name + '.WebGLGreenTriangle', 45 name=base_name + '.WebGLGreenTriangle',
46 test_rect=[0, 0, 300, 300], 46 test_rect=[0, 0, 300, 300],
47 revision=9, 47 revision=10,
48 page_set=self)) 48 page_set=self))
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