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

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

Issue 2663813003: Roll out framework change & update gpu tests to conform to the API changes (Closed)
Patch Set: Roll DEPS to 42d9cffaa797712c58d7b5fb59820f0aa3e82138 Created 3 years, 10 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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 os 5 import os
6 import sys 6 import sys
7 7
8 from gpu_tests import gpu_integration_test 8 from gpu_tests import gpu_integration_test
9 from gpu_tests import depth_capture_expectations 9 from gpu_tests import depth_capture_expectations
10 from gpu_tests import path_util 10 from gpu_tests import path_util
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 'domAutomationController._finished', timeout=60) 81 'domAutomationController._finished', timeout=60)
82 if not tab.EvaluateJavaScript2('domAutomationController._succeeded'): 82 if not tab.EvaluateJavaScript2('domAutomationController._succeeded'):
83 self.fail('page indicated test failure:' + 83 self.fail('page indicated test failure:' +
84 tab.EvaluateJavaScript2('domAutomationController._error_msg')) 84 tab.EvaluateJavaScript2('domAutomationController._error_msg'))
85 85
86 @classmethod 86 @classmethod
87 def _CreateExpectations(cls): 87 def _CreateExpectations(cls):
88 return depth_capture_expectations.DepthCaptureExpectations() 88 return depth_capture_expectations.DepthCaptureExpectations()
89 89
90 @classmethod 90 @classmethod
91 def setUpClass(cls): 91 def SetUpProcess(cls):
92 super(cls, DepthCaptureIntegrationTest).setUpClass() 92 super(cls, DepthCaptureIntegrationTest).SetUpProcess()
93 cls.CustomizeOptions() 93 cls.CustomizeOptions()
94 cls.SetBrowserOptions(cls._finder_options) 94 cls.SetBrowserOptions(cls._finder_options)
95 cls.StartBrowser() 95 cls.StartBrowser()
96 cls.SetStaticServerDirs([data_path]) 96 cls.SetStaticServerDirs([data_path])
97 97
98 def load_tests(loader, tests, pattern): 98 def load_tests(loader, tests, pattern):
99 del loader, tests, pattern # Unused. 99 del loader, tests, pattern # Unused.
100 return gpu_integration_test.LoadAllTestsInModule(sys.modules[__name__]) 100 return gpu_integration_test.LoadAllTestsInModule(sys.modules[__name__])
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698