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

Unified Diff: content/test/gpu/gpu_tests/gpu_rasterization.py

Issue 1413883003: Add a presubmit script and pylintrc for content/test/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
Index: content/test/gpu/gpu_tests/gpu_rasterization.py
diff --git a/content/test/gpu/gpu_tests/gpu_rasterization.py b/content/test/gpu/gpu_tests/gpu_rasterization.py
index a2e5e83515c0449b76504ff2cc85721bb6d199e0..b2c8a6e923c2e50972e481c54a594b5a1f07b760 100644
--- a/content/test/gpu/gpu_tests/gpu_rasterization.py
+++ b/content/test/gpu/gpu_tests/gpu_rasterization.py
@@ -2,11 +2,11 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-import cloud_storage_test_base
-import gpu_rasterization_expectations
-import optparse
+from gpu_tests import cloud_storage_test_base
+from gpu_tests import gpu_rasterization_expectations
import page_sets
+from telemetry.page import page_test
from telemetry.util import image_util
@@ -71,6 +71,9 @@ class GpuRasterization(cloud_storage_test_base.TestBase):
"""Tests that GPU rasterization produces valid content"""
test = GpuRasterizationValidator
+ def __init__(self, max_failures=None):
Ken Russell (switch to Gerrit) 2015/10/21 22:12:08 Unfortunate that useless code has to be added to a
Corentin Wallez 2015/10/21 23:07:25 Yes, this makes me sad too.
+ cloud_storage_test_base.TestBase.__init__(self, max_failures=max_failures)
+
@classmethod
def Name(cls):
return 'gpu_rasterization'

Powered by Google App Engine
This is Rietveld 408576698