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

Unified Diff: tools/perf/page_sets/chrome_proxy/smoke.py

Issue 397483002: Move chrome_proxy tests from under tools/perf to tools/chrome_proxy/integration_tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments and sync'ed Created 6 years, 5 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/chrome_proxy/safebrowsing.py ('k') | tools/perf/page_sets/chrome_proxy/synthetic.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/chrome_proxy/smoke.py
diff --git a/tools/perf/page_sets/chrome_proxy/smoke.py b/tools/perf/page_sets/chrome_proxy/smoke.py
deleted file mode 100644
index f8b6cae2adaf78bd1ddea7f16a0ef1ba38232d6a..0000000000000000000000000000000000000000
--- a/tools/perf/page_sets/chrome_proxy/smoke.py
+++ /dev/null
@@ -1,111 +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 telemetry.page import page as page_module
-from telemetry.page import page_set as page_set_module
-
-
-class SmokePage(page_module.Page):
-
- def __init__(self, url, page_set, name=''):
- super(SmokePage, self).__init__(url=url, page_set=page_set, name=name)
- self.archive_data_file = '../data/chrome_proxy_smoke.json'
-
-
-class Page1(SmokePage):
-
- """
- Why: Check chrome proxy response headers.
- """
-
- def __init__(self, page_set):
- super(Page1, self).__init__(
- url='http://aws1.mdw.la/fw/',
- page_set=page_set,
- name='header validation')
-
-
-class Page2(SmokePage):
-
- """
- Why: Check data compression
- """
-
- def __init__(self, page_set):
- super(Page2, self).__init__(
- url='http://aws1.mdw.la/static/',
- page_set=page_set,
- name='compression: image')
-
-
-class Page3(SmokePage):
-
- """
- Why: Check bypass
- """
-
- def __init__(self, page_set):
- super(Page3, self).__init__(
- url='http://aws1.mdw.la/bypass/',
- page_set=page_set,
- name='bypass')
- self.restart_after = True
-
-
-class Page4(SmokePage):
-
- """
- Why: Check data compression
- """
-
- def __init__(self, page_set):
- super(Page4, self).__init__(
- url='http://aws1.mdw.la/static/',
- page_set=page_set,
- name='compression: javascript')
-
-
-class Page5(SmokePage):
-
- """
- Why: Check data compression
- """
-
- def __init__(self, page_set):
- super(Page5, self).__init__(
- url='http://aws1.mdw.la/static/',
- page_set=page_set,
- name='compression: css')
-
-
-class Page6(SmokePage):
-
- """
- Why: Expect 'malware ahead' page. Use a short navigation timeout because no
- response will be received.
- """
-
- def __init__(self, page_set):
- super(Page6, self).__init__(
- url='http://www.ianfette.org/',
- page_set=page_set,
- name='safebrowsing')
-
- def RunNavigateSteps(self, action_runner):
- action_runner.NavigateToPage(self, timeout_in_seconds=5)
-
-
-class SmokePageSet(page_set_module.PageSet):
-
- """ Chrome proxy test sites """
-
- def __init__(self):
- super(SmokePageSet, self).__init__(
- archive_data_file='../data/chrome_proxy_smoke.json')
-
- self.AddPage(Page1(self))
- self.AddPage(Page2(self))
- self.AddPage(Page3(self))
- self.AddPage(Page4(self))
- self.AddPage(Page5(self))
- self.AddPage(Page6(self))
« no previous file with comments | « tools/perf/page_sets/chrome_proxy/safebrowsing.py ('k') | tools/perf/page_sets/chrome_proxy/synthetic.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698