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

Unified Diff: tools/perf/measurements/task_execution_time_unittest.py

Issue 714273004: mac: Expose keychain access frequency to Telemetry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mock_keychain_sleep
Patch Set: Add a common subclass to measurements. Created 6 years, 1 month 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/perf/measurements/task_execution_time_unittest.py
diff --git a/tools/perf/measurements/task_execution_time_unittest.py b/tools/perf/measurements/task_execution_time_unittest.py
index 405cf449bc0a7c85a3b5ece1e59b191fb0e9f327..11ab6287085c3883d515a7ac3a19222bf8ad22d2 100644
--- a/tools/perf/measurements/task_execution_time_unittest.py
+++ b/tools/perf/measurements/task_execution_time_unittest.py
@@ -30,6 +30,7 @@ class TaskExecutionTimeUnitTest(page_test_test_case.PageTestTestCase):
ps = self.CreateEmptyPageSet()
ps.AddPage(TestTaskExecutionTimePage(ps, ps.base_dir))
measurement = task_execution_time.TaskExecutionTime()
+ measurement.SetInUnitTest()
results = self.RunMeasurement(measurement, ps, options=self._options)
@@ -41,6 +42,7 @@ class TaskExecutionTimeUnitTest(page_test_test_case.PageTestTestCase):
ps = self.CreateEmptyPageSet()
ps.AddPage(TestTaskExecutionTimePage(ps, ps.base_dir))
measurement = task_execution_time.TaskExecutionTime()
+ measurement.SetInUnitTest()
results = self.RunMeasurement(measurement, ps, options=self._options)

Powered by Google App Engine
This is Rietveld 408576698