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

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

Issue 560153004: Telemetry: Fix exact_matches in telemetry.test_runner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename gpu tests to match buildbot config Created 6 years, 3 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
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 4
5 import cloud_storage_test_base 5 import cloud_storage_test_base
6 import optparse 6 import optparse
7 import page_sets 7 import page_sets
8 8
9 9
10 test_harness_script = r""" 10 test_harness_script = r"""
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 screenshot, 60 screenshot,
61 page.expectations, 61 page.expectations,
62 device_pixel_ratio) 62 device_pixel_ratio)
63 63
64 64
65 class GpuRasterization(cloud_storage_test_base.TestBase): 65 class GpuRasterization(cloud_storage_test_base.TestBase):
66 """Tests that GPU rasterization produces valid content""" 66 """Tests that GPU rasterization produces valid content"""
67 test = _GpuRasterizationValidator 67 test = _GpuRasterizationValidator
68 page_set = page_sets.GpuRasterizationTestsPageSet 68 page_set = page_sets.GpuRasterizationTestsPageSet
69 69
70 @classmethod
71 def Name(cls):
72 return "gpu_rasterization"
73
70 def CreatePageSet(self, options): 74 def CreatePageSet(self, options):
71 page_set = super(GpuRasterization, self).CreatePageSet(options) 75 page_set = super(GpuRasterization, self).CreatePageSet(options)
72 for page in page_set.pages: 76 for page in page_set.pages:
73 page.script_to_evaluate_on_commit = test_harness_script 77 page.script_to_evaluate_on_commit = test_harness_script
74 return page_set 78 return page_set
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698