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

Side by Side Diff: ct/go/util/testdata/testupload/10ktest/alexa2-2.py

Issue 779633003: CT Google Storage utils to download/upload artifacts for workers (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Check for test.short Created 6 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 unified diff | Download patch
« no previous file with comments | « ct/go/util/testdata/testupload/10ktest/alexa1-1.py ('k') | go/auth/auth.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1
2 # Copyright 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5 # pylint: disable=W0401,W0614
6
7 from telemetry.page import page as page_module
8 from telemetry.page import page_set as page_set_module
9
10
11 class TypicalAlexaPage(page_module.Page):
12
13 def __init__(self, url, page_set):
14 super(TypicalAlexaPage, self).__init__(url=url, page_set=page_set)
15 self.user_agent_type = 'desktop'
16 self.archive_data_file = '/b/storage/webpages_archive/10k/alexa2-2.json'
17
18 def RunSmoothness(self, action_runner):
19 action_runner.ScrollElement()
20
21 def RunRepaint(self, action_runner):
22 action_runner.RepaintContinuously(seconds=5)
23
24
25 class TypicalAlexaPageSet(page_set_module.PageSet):
26
27 def __init__(self):
28 super(TypicalAlexaPageSet, self).__init__(
29 user_agent_type='desktop',
30 archive_data_file='/b/storage/webpages_archive/10k/alexa2-2.json')
31
32 urls_list = ['http://www.facebook.com']
33
34 for url in urls_list:
35 self.AddPage(TypicalAlexaPage(url, self))
OLDNEW
« no previous file with comments | « ct/go/util/testdata/testupload/10ktest/alexa1-1.py ('k') | go/auth/auth.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698