Remove ExtensionPrefs::SetDidExtensionEscalatePermissions.
[chromium-blink-merge.git] / tools / chrome_proxy / integration_tests / chrome_proxy_pagesets / smoke.py
blob2e6759190c97d19d0ceed00009d5dc6b29957062
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.
5 from telemetry.page import page as page_module
6 from telemetry.page import page_set as page_set_module
9 class SmokePage(page_module.Page):
11 def __init__(self, url, page_set, name=''):
12 super(SmokePage, self).__init__(url=url, page_set=page_set, name=name)
15 class Page1(SmokePage):
17 """
18 Why: Check chrome proxy response headers.
19 """
21 def __init__(self, page_set):
22 super(Page1, self).__init__(
23 url='http://check.googlezip.net/test.html',
24 page_set=page_set,
25 name='header validation')
28 class Page2(SmokePage):
30 """
31 Why: Check data compression
32 """
34 def __init__(self, page_set):
35 super(Page2, self).__init__(
36 url='http://aws1.mdw.la/static/',
37 page_set=page_set,
38 name='compression: image')
41 class Page3(SmokePage):
43 """
44 Why: Check bypass
45 """
47 def __init__(self, page_set):
48 super(Page3, self).__init__(
49 url='http://check.googlezip.net/block',
50 page_set=page_set,
51 name='bypass')
54 class Page4(SmokePage):
56 """
57 Why: Check data compression
58 """
60 def __init__(self, page_set):
61 super(Page4, self).__init__(
62 url='http://aws1.mdw.la/static/',
63 page_set=page_set,
64 name='compression: javascript')
67 class Page5(SmokePage):
69 """
70 Why: Check data compression
71 """
73 def __init__(self, page_set):
74 super(Page5, self).__init__(
75 url='http://aws1.mdw.la/static/',
76 page_set=page_set,
77 name='compression: css')
81 class SmokePageSet(page_set_module.PageSet):
83 """ Chrome proxy test sites """
85 def __init__(self):
86 super(SmokePageSet, self).__init__()
88 self.AddUserStory(Page1(self))
89 self.AddUserStory(Page2(self))
90 self.AddUserStory(Page3(self))
91 self.AddUserStory(Page4(self))
92 self.AddUserStory(Page5(self))