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

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

Issue 2227163002: Added integration test to Chrome Proxy to verify fallback to HTTP after bad HTTPS response from pro… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missing new line Created 4 years, 4 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_metrics.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/bad_https_fallback.py
diff --git a/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/html5test.py b/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/bad_https_fallback.py
similarity index 56%
copy from tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/html5test.py
copy to tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/bad_https_fallback.py
index 00139cf062e3097a40743ce28d7fa08428690e1b..65b0715affee624b4f68d54bf1f07ea4ead414ea 100644
--- a/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/html5test.py
+++ b/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/bad_https_fallback.py
@@ -6,22 +6,22 @@ from telemetry.page import page as page_module
from telemetry import story
-class HTML5TestPage(page_module.Page):
+class BadHTTPSFallbackPage(page_module.Page):
def __init__(self, url, page_set):
- super(HTML5TestPage, self).__init__(url=url, page_set=page_set)
+ super(BadHTTPSFallbackPage, self).__init__(url=url, page_set=page_set)
-class HTML5TestStorySet(story.StorySet):
+class BadHTTPSFallbackStorySet(story.StorySet):
""" Chrome proxy test page for traffic over https. """
def __init__(self):
- super(HTML5TestStorySet, self).__init__()
+ super(BadHTTPSFallbackStorySet, self).__init__()
urls_list = [
- 'http://html5test.com/',
+ 'http://check.googlezip.net/test.html'
sclittle 2016/08/17 17:20:58 Instead of creating a whole new pageset here, coul
Robert Ogden 2016/08/17 18:15:35 Done.
]
for url in urls_list:
- self.AddStory(HTML5TestPage(url, self))
+ self.AddStory(BadHTTPSFallbackPage(url, self))
« no previous file with comments | « tools/chrome_proxy/integration_tests/chrome_proxy_metrics.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698