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

Side by Side Diff: tools/perf/page_sets/five_blank_pages.py

Issue 2761363004: Remove seldom used tab_swtiching test cases (Closed)
Patch Set: Created 3 years, 9 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
(Empty)
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
3 # found in the LICENSE file.
4 from telemetry.page import page as page_module
5 from telemetry import story
6
7
8 # The PageSet searches for pages relative to the directory the page class is
9 # defined in so we need to subclass here.
10 class BlankPage(page_module.Page):
11 def __init__(self, ps, prefix):
12 super(BlankPage, self).__init__('file://blank_page/blank_page.html', ps,
13 name=prefix+'_blank')
14
15
16 class FiveBlankPagesPageSet(story.StorySet):
17
18 """ Five blank pages. """
19
20 def __init__(self):
21 super(FiveBlankPagesPageSet, self).__init__()
22 for i in xrange(5):
23 self.AddStory(BlankPage(self, str(i)))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/data/tough_energy_cases_002.wpr.sha1 ('k') | tools/perf/page_sets/tough_energy_cases.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698