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

Unified Diff: tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/exp_directive.py

Issue 1044573002: Integration test for exp Chrome-Proxy request option (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits Created 5 years, 8 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/chrome_proxy/integration_tests/chrome_proxy_measurements.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/exp_directive.py
diff --git a/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/lo_fi.py b/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/exp_directive.py
similarity index 51%
copy from tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/lo_fi.py
copy to tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/exp_directive.py
index 431098f2a0a49a789073054c3e8cffa5ffc829ac..49a274c5786b40190d5dff7bb58bcefef8aa5772 100644
--- a/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/lo_fi.py
+++ b/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/exp_directive.py
@@ -6,25 +6,22 @@ from telemetry.page import page as page_module
from telemetry.page import page_set as page_set_module
-class LoFiPage(page_module.Page):
- """
- A test page for the chrome proxy Lo-Fi tests.
- Checks that the compressed image is below a certain threshold.
- """
+class ExpDirectivePage(page_module.Page):
+ """A test page for the experiment Chrome-Proxy directive tests."""
def __init__(self, url, page_set):
- super(LoFiPage, self).__init__(url=url, page_set=page_set)
+ super(ExpDirectivePage, self).__init__(url=url, page_set=page_set)
-class LoFiPageSet(page_set_module.PageSet):
+class ExpDirectivePageSet(page_set_module.PageSet):
""" Chrome proxy test sites """
def __init__(self):
- super(LoFiPageSet, self).__init__()
+ super(ExpDirectivePageSet, self).__init__()
urls_list = [
- 'http://aws1.mdw.la/fw/buddy.jpg',
+ 'http://aws1.mdw.la/exptest/',
]
for url in urls_list:
- self.AddUserStory(LoFiPage(url, self))
+ self.AddUserStory(ExpDirectivePage(url, self))
« no previous file with comments | « tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698