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

Unified Diff: content/test/gpu/gpu_tests/hardware_accelerated_feature.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: Address kbr's comments 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/hardware_accelerated_feature.py
diff --git a/content/test/gpu/gpu_tests/hardware_accelerated_feature.py b/content/test/gpu/gpu_tests/hardware_accelerated_feature.py
index aaed04e7b39f358282a7d1924d2e3255576f5426..69d87c2b82365b092b4d7b5a955210adcdd76133 100644
--- a/content/test/gpu/gpu_tests/hardware_accelerated_feature.py
+++ b/content/test/gpu/gpu_tests/hardware_accelerated_feature.py
@@ -1,8 +1,8 @@
# Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-import gpu_test_base
-import hardware_accelerated_feature_expectations as expectations
+from gpu_tests import gpu_test_base
+import gpu_tests.hardware_accelerated_feature_expectations as hw_expectations
from telemetry.page import page_test
from telemetry.story import story_set as story_set_module
@@ -22,7 +22,7 @@ test_harness_script = r"""
}
return false;
};
-""";
+"""
class HardwareAcceleratedFeatureValidator(gpu_test_base.ValidatorBase):
def ValidateAndMeasurePage(self, page, tab, results):
@@ -54,7 +54,7 @@ class HardwareAcceleratedFeature(gpu_test_base.TestBase):
return 'hardware_accelerated_feature'
def _CreateExpectations(self):
- return expectations.HardwareAcceleratedFeatureExpectations()
+ return hw_expectations.HardwareAcceleratedFeatureExpectations()
def CreateStorySet(self, options):
features = ['WebGL', 'Canvas']

Powered by Google App Engine
This is Rietveld 408576698