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 # pylint: disable=W0401,W0614 5 from telemetry.page.actions.all_page_actions import * 6 from telemetry.page import page as page_module 7 from telemetry.page import page_set as page_set_module 8 9 class Intl2Page(page_module.Page): 10 11 def __init__(self, url, page_set): 12 super(Intl2Page, self).__init__(url=url, page_set=page_set) 13 # pylint: disable=C0301 14 15 16 class Intl2PageSet(page_set_module.PageSet): 17 18 """ 19 Description: Intl2 page_cycler benchmark 20 """ 21 22 def __init__(self): 23 super(Intl2PageSet, self).__init__( 24 # pylint: disable=C0301 25 serving_dirs=set(['../../../../data/page_cycler/intl2'])) 26 27 urls_list = [ 28 'file://../../../../data/page_cycler/intl2/arabicnews.google.com/', 29 'file://../../../../data/page_cycler/intl2/bn.wikipedia.org/', 30 'file://../../../../data/page_cycler/intl2/exteen.com/', 31 'file://../../../../data/page_cycler/intl2/farsnews.com/', 32 'file://../../../../data/page_cycler/intl2/hindi.webdunia.com/', 33 'file://../../../../data/page_cycler/intl2/in.telugu.yahoo.com/', 34 'file://../../../../data/page_cycler/intl2/isna.ir/', 35 'file://../../../../data/page_cycler/intl2/kapook.com/', 36 'file://../../../../data/page_cycler/intl2/kooora.com/', 37 'file://../../../../data/page_cycler/intl2/manager.co.th/', 38 'file://../../../../data/page_cycler/intl2/masrawy.com/', 39 'file://../../../../data/page_cycler/intl2/ml.wikipedia.org/', 40 'file://../../../../data/page_cycler/intl2/msn.co.il/', 41 'file://../../../../data/page_cycler/intl2/news.bbc.co.uk/', 42 'file://../../../../data/page_cycler/intl2/news.google.com/', 43 'file://../../../../data/page_cycler/intl2/sh3bwah.com/', 44 'file://../../../../data/page_cycler/intl2/sgkalesh.blogspot.com/', 45 'file://../../../../data/page_cycler/intl2/tapuz.co.il/', 46 'file://../../../../data/page_cycler/intl2/thaimisc.com/', 47 'file://../../../../data/page_cycler/intl2/vietnamnet.vn/', 48 'file://../../../../data/page_cycler/intl2/vnexpress.net/', 49 'file://../../../../data/page_cycler/intl2/walla.co.il/', 50 'file://../../../../data/page_cycler/intl2/www.aljayyash.net/', 51 'file://../../../../data/page_cycler/intl2/www.bbc.co.uk/', 52 'file://../../../../data/page_cycler/intl2/www.google.com.sa/', 53 'file://../../../../data/page_cycler/intl2/www.islamweb.net/', 54 'file://../../../../data/page_cycler/intl2/www.mthai.com/', 55 'file://../../../../data/page_cycler/intl2/www.startimes2.com/', 56 'file://../../../../data/page_cycler/intl2/www.jagran.com/', 57 'file://../../../../data/page_cycler/intl2/ynet.co.il/' 58 ] 59 60 for url in urls_list: 61 self.AddPage(Intl2Page(url, self)) 62