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

Unified Diff: tools/chrome_proxy/live_tests/pagesets/metrics.py

Issue 1556593002: Add live tests for measuring data savings metrics (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/live_tests/chrome_proxy_benchmark.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/live_tests/pagesets/metrics.py
diff --git a/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/corsbypass.py b/tools/chrome_proxy/live_tests/pagesets/metrics.py
similarity index 51%
copy from tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/corsbypass.py
copy to tools/chrome_proxy/live_tests/pagesets/metrics.py
index 04c56f1611b0d422f277c3077fe0fbfbe47c9364..0bdf6cd3f7519301b925c2e1212747fce20a3aee 100644
--- a/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/corsbypass.py
+++ b/tools/chrome_proxy/live_tests/pagesets/metrics.py
@@ -6,22 +6,22 @@ from telemetry.page import page as page_module
from telemetry import story
-class CorsBypassPage(page_module.Page):
+class MetricsPage(page_module.Page):
def __init__(self, url, page_set):
- super(CorsBypassPage, self).__init__(url=url, page_set=page_set)
+ super(MetricsPage, self).__init__(url=url, page_set=page_set)
-class CorsBypassStorySet(story.StorySet):
+class MetricsStorySet(story.StorySet):
- """ Chrome proxy test sites """
+ """ Chrome proxy test sites for measuring data savings """
def __init__(self):
- super(CorsBypassStorySet, self).__init__()
+ super(MetricsStorySet, self).__init__()
urls_list = [
- 'http://www.gstatic.com/chrome/googlezip/cors/',
+ 'http://check.googlezip.net/metrics/',
]
for url in urls_list:
- self.AddStory(CorsBypassPage(url, self))
+ self.AddStory(MetricsPage(url, self))
« no previous file with comments | « tools/chrome_proxy/live_tests/chrome_proxy_benchmark.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698