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

Unified Diff: content/test/gpu/page_sets/gpu_rasterization_tests.py

Issue 302003015: Created a separate test page for gpu rasterization. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/test/data/gpu/pixel_background.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/gpu/page_sets/gpu_rasterization_tests.py
diff --git a/content/test/gpu/page_sets/gpu_rasterization_tests.py b/content/test/gpu/page_sets/gpu_rasterization_tests.py
index 6c23e6cb4ef21d7fb1988b859417e7984e45051a..e6a338f60969090dbc16f5e6277795a4e372e7b6 100644
--- a/content/test/gpu/page_sets/gpu_rasterization_tests.py
+++ b/content/test/gpu/page_sets/gpu_rasterization_tests.py
@@ -11,11 +11,10 @@ class GpuRasterizationTestsPage(page_module.Page):
def __init__(self, page_set):
super(GpuRasterizationTestsPage, self).__init__(
- url='file://../../data/gpu/pixel_css3d.html',
+ url='file://../../data/gpu/pixel_background.html',
Ken Russell (switch to Gerrit) 2014/06/02 23:20:14 I'd suggest "pixel_blue_box.html" as a more descri
alokp 2014/06/02 23:44:04 The naming convention used in data/gpu directory s
page_set=page_set,
- name='GpuRasterization.CSS3DBlueBox')
+ name='GpuRasterization.BlueBox')
- self.user_agent_type = 'desktop'
self.expectations = [
{'comment': 'body-t',
'color': [255, 255, 255],
@@ -24,15 +23,15 @@ class GpuRasterizationTestsPage(page_module.Page):
{'comment': 'body-r',
'color': [255, 255, 255],
'tolerance': 0,
- 'location': [245, 5]},
+ 'location': [215, 5]},
{'comment': 'body-b',
'color': [255, 255, 255],
'tolerance': 0,
- 'location': [245, 245]},
+ 'location': [215, 215]},
{'comment': 'body-l',
'color': [255, 255, 255],
'tolerance': 0,
- 'location': [5, 245]},
+ 'location': [5, 215]},
{'comment': 'background-t',
'color': [0, 0, 0],
'tolerance': 0,
@@ -60,13 +59,13 @@ class GpuRasterizationTestsPage(page_module.Page):
{'comment': 'box-b',
'color': [0, 0, 255],
'tolerance': 0,
- 'location': [140, 120]},
+ 'location': [140, 140]},
{'comment': 'box-l',
'color': [0, 0, 255],
'tolerance': 0,
- 'location': [70, 120]}
+ 'location': [70, 140]}
]
- self.test_rect = [0, 0, 250, 250]
+ self.test_rect = [0, 0, 220, 220]
def RunNavigateSteps(self, action_runner):
action_runner.NavigateToPage(self)
@@ -82,7 +81,6 @@ class GpuRasterizationTestsPageSet(page_set_module.PageSet):
""" Basic test cases for GPU rasterization. """
def __init__(self):
- super(GpuRasterizationTestsPageSet, self).__init__(
- user_agent_type='desktop')
+ super(GpuRasterizationTestsPageSet, self).__init__()
self.AddPage(GpuRasterizationTestsPage(self))
« no previous file with comments | « content/test/data/gpu/pixel_background.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698