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

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

Issue 2539973004: Update reference to page_test module to use legacy_page_test module (Closed)
Patch Set: update Created 4 years 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/gpu/gpu_tests/gpu_test_base.py ('k') | content/test/gpu/gpu_tests/maps.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 69d87c2b82365b092b4d7b5a955210adcdd76133..0aa95235950cd5806ee10b66b115a04d4605579c 100644
--- a/content/test/gpu/gpu_tests/hardware_accelerated_feature.py
+++ b/content/test/gpu/gpu_tests/hardware_accelerated_feature.py
@@ -4,7 +4,7 @@
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.page import legacy_page_test
from telemetry.story import story_set as story_set_module
test_harness_script = r"""
@@ -30,7 +30,7 @@ class HardwareAcceleratedFeatureValidator(gpu_test_base.ValidatorBase):
if not tab.EvaluateJavaScript('VerifyHardwareAccelerated("%s")' % feature):
print 'Test failed. Printing page contents:'
print tab.EvaluateJavaScript('document.body.innerHTML')
- raise page_test.Failure('%s not hardware accelerated' % feature)
+ raise legacy_page_test.Failure('%s not hardware accelerated' % feature)
def safe_feature_name(feature):
return feature.lower().replace(' ', '_')
« no previous file with comments | « content/test/gpu/gpu_tests/gpu_test_base.py ('k') | content/test/gpu/gpu_tests/maps.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698