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

Side by Side Diff: tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/lite_page.py

Issue 2296043003: Rename Lo-Fi previews to lite pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@newLoFiInfoBarAddTests
Patch Set: tbansal comments Created 4 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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 4
5 from telemetry.page import page as page_module 5 from telemetry.page import page as page_module
6 from telemetry import story 6 from telemetry import story
7 7
8 8
9 class LoFiPreviewPage(page_module.Page): 9 class LitePagePage(page_module.Page):
10 """ 10 """
11 A test page for the chrome proxy Lo-Fi preview tests. 11 A test page for the chrome proxy lite page tests.
12 Checks that a LoFi preview page is served. 12 Checks that a lite page is served.
13 """ 13 """
14 14
15 def __init__(self, url, page_set): 15 def __init__(self, url, page_set):
16 super(LoFiPreviewPage, self).__init__(url=url, page_set=page_set) 16 super(LitePagePage, self).__init__(url=url, page_set=page_set)
17 17
18 18
19 class LoFiPreviewStorySet(story.StorySet): 19 class LitePageStorySet(story.StorySet):
20 """ Chrome proxy test sites """ 20 """ Chrome proxy test sites """
21 21
22 def __init__(self): 22 def __init__(self):
23 super(LoFiPreviewStorySet, self).__init__() 23 super(LitePageStorySet, self).__init__()
24 24
25 urls_list = [ 25 urls_list = [
26 'http://check.googlezip.net/test.html', 26 'http://check.googlezip.net/test.html',
27 ] 27 ]
28 28
29 for url in urls_list: 29 for url in urls_list:
30 self.AddStory(LoFiPreviewPage(url, self)) 30 self.AddStory(LitePagePage(url, self))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698