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

Unified Diff: tools/chrome_proxy/integration_tests/chrome_proxy_measurements.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
Index: tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py
diff --git a/tools/perf/measurements/chrome_proxy.py b/tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py
similarity index 98%
rename from tools/perf/measurements/chrome_proxy.py
rename to tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py
index a04df6ab13da63066a0f1ba1ce3f5575fab7fdcb..2471e87cf2a43bc34ea16c704c85d35b36029ff0 100644
--- a/tools/perf/measurements/chrome_proxy.py
+++ b/tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py
@@ -6,7 +6,7 @@ import base64
import logging
import urlparse
-from metrics import chrome_proxy
+from integration_tests import chrome_proxy_metrics as metrics
from metrics import loading
from telemetry.core import util
from telemetry.page import page_measurement
@@ -31,7 +31,7 @@ class ChromeProxyDataSaving(page_measurement.PageMeasurement):
"""Chrome proxy data daving measurement."""
def __init__(self, *args, **kwargs):
super(ChromeProxyDataSaving, self).__init__(*args, **kwargs)
- self._metrics = chrome_proxy.ChromeProxyMetric()
+ self._metrics = metrics.ChromeProxyMetric()
def WillNavigateToPage(self, page, tab):
tab.ClearCache(force=True)
@@ -50,7 +50,7 @@ class ChromeProxyValidation(page_measurement.PageMeasurement):
def __init__(self, restart_after_each_page=False):
super(ChromeProxyValidation, self).__init__(
needs_browser_restart_after_each_page=restart_after_each_page)
- self._metrics = chrome_proxy.ChromeProxyMetric()
+ self._metrics = metrics.ChromeProxyMetric()
self._page = None
# Whether a timeout exception is expected during the test.
self._expect_timeout = False

Powered by Google App Engine
This is Rietveld 408576698