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

Side by Side Diff: content/test/gpu/page_sets/gpu_process_tests.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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 from telemetry.story import story_set as story_set_module 4 from telemetry.story import story_set as story_set_module
5 from telemetry.page import page_test
5 6
6 from gpu_tests import gpu_test_base 7 from gpu_tests import gpu_test_base
7 8
8 class GpuProcessTestsPage(gpu_test_base.PageBase): 9 class GpuProcessTestsPage(gpu_test_base.PageBase):
9 10
10 def __init__(self, url, name, story_set, expectations): 11 def __init__(self, url, name, story_set, expectations):
11 super(GpuProcessTestsPage, self).__init__(url=url, page_set=story_set, 12 super(GpuProcessTestsPage, self).__init__(url=url, page_set=story_set,
12 name=name, 13 name=name,
13 expectations=expectations) 14 expectations=expectations)
14 15
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 'GpuProcess.css3d'), 68 'GpuProcess.css3d'),
68 ('file://../../data/gpu/functional_webgl.html', 69 ('file://../../data/gpu/functional_webgl.html',
69 'GpuProcess.webgl') 70 'GpuProcess.webgl')
70 ] 71 ]
71 72
72 for url, name in urls_and_names_list: 73 for url, name in urls_and_names_list:
73 self.AddStory(GpuProcessTestsPage(url, name, self, expectations)) 74 self.AddStory(GpuProcessTestsPage(url, name, self, expectations))
74 75
75 self.AddStory(FunctionalVideoPage(self, expectations)) 76 self.AddStory(FunctionalVideoPage(self, expectations))
76 self.AddStory(GpuInfoCompletePage(self, expectations)) 77 self.AddStory(GpuInfoCompletePage(self, expectations))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698