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

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

Issue 2662863002: Add typ boilerplate to Telemetry-based GPU tests. (Closed)
Patch Set: Created 3 years, 11 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_integration_test.py
diff --git a/content/test/gpu/gpu_tests/hardware_accelerated_feature_integration_test.py b/content/test/gpu/gpu_tests/hardware_accelerated_feature_integration_test.py
index fe0d42873aba1eeecd703b1b8d9aa0070cb1a5f1..f088b18a5ce72b5abe0643bda5a9aebfff25f479 100644
--- a/content/test/gpu/gpu_tests/hardware_accelerated_feature_integration_test.py
+++ b/content/test/gpu/gpu_tests/hardware_accelerated_feature_integration_test.py
@@ -2,6 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import sys
+
from gpu_tests import gpu_integration_test
import gpu_tests.hardware_accelerated_feature_expectations as hw_expectations
@@ -70,3 +72,7 @@ class HardwareAcceleratedFeatureIntegrationTest(
print 'Test failed. Printing page contents:'
print tab.EvaluateJavaScript('document.body.innerHTML')
self.fail('%s not hardware accelerated' % feature)
+
+def load_tests(loader, tests, pattern):
+ del loader, tests, pattern # Unused.
+ return gpu_integration_test.LoadAllTestsInModule(sys.modules[__name__])
« no previous file with comments | « content/test/gpu/gpu_tests/gpu_process_integration_test.py ('k') | content/test/gpu/gpu_tests/maps_integration_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698