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

Unified Diff: tools/perf/page_sets/simple_mobile_sites_fling.py

Issue 2933173002: Deleting unused story sets (Closed)
Patch Set: Deleting unused story sets Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/perf/page_sets/page_cycler/intl2.py ('k') | tools/perf/page_sets/startup_pages_record.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/simple_mobile_sites_fling.py
diff --git a/tools/perf/page_sets/simple_mobile_sites_fling.py b/tools/perf/page_sets/simple_mobile_sites_fling.py
deleted file mode 100644
index f158be0dbcfe469d560f512f0090b458069c88f0..0000000000000000000000000000000000000000
--- a/tools/perf/page_sets/simple_mobile_sites_fling.py
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 2014 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-from page_sets import fling_gesture_supported_shared_state
-
-from telemetry.page import page as page_module
-from telemetry import story
-
-
-class SimpleFlingPage(page_module.Page):
-
- def __init__(self, url, page_set):
- super(SimpleFlingPage, self).__init__(
- url=url,
- page_set=page_set,
- credentials_path='data/credentials.json',
- shared_page_state_class=(fling_gesture_supported_shared_state\
- .FlingGestureSupportedSharedState))
- self.archive_data_file = 'data/simple_mobile_sites.json'
-
- def RunNavigateSteps(self, action_runner):
- super(SimpleFlingPage, self).RunNavigateSteps(action_runner)
- # TODO(epenner): Remove this wait (http://crbug.com/366933)
- action_runner.Wait(5)
-
- def RunPageInteractions(self, action_runner):
- with action_runner.CreateGestureInteraction('FlingAction'):
- # Swiping up induces a downward fling, and 500 pixels of touch scrolling
- # runway ensures consistent fling velocities.
- action_runner.SwipePage(direction='up',
- distance='500',
- speed_in_pixels_per_second=5000)
-
-class SimpleMobileSitesFlingPageSet(story.StorySet):
-
- """ Simple mobile sites """
-
- def __init__(self):
- super(SimpleMobileSitesFlingPageSet, self).__init__(
- archive_data_file='data/simple_mobile_sites.json',
- cloud_storage_bucket=story.PUBLIC_BUCKET)
-
- fling_page_list = [
- # Why: Scrolls moderately complex pages (up to 60 layers)
- 'http://www.ebay.co.uk/',
- 'https://www.flickr.com/',
- 'http://www.apple.com/mac/',
- 'http://www.nyc.gov',
- 'http://m.nytimes.com/'
- ]
-
- for url in fling_page_list:
- self.AddStory(SimpleFlingPage(url, self))
-
« no previous file with comments | « tools/perf/page_sets/page_cycler/intl2.py ('k') | tools/perf/page_sets/startup_pages_record.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698