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

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

Issue 800863003: Kill PageSet.AddPage and its remaining usage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/perf/measurements/smoothness_unittest.py ('k') | tools/perf/measurements/thread_times_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5e353570faf954fe3328d7c3329c12866b9f1deb..4b982794bd80762315ca9a267f93e69bfae3d730 100644
--- a/tools/perf/measurements/task_execution_time_unittest.py
+++ b/tools/perf/measurements/task_execution_time_unittest.py
@@ -28,7 +28,7 @@ class TaskExecutionTimeUnitTest(page_test_test_case.PageTestTestCase):
def testCorrectNumberOfResultsReturned(self):
ps = self.CreateEmptyPageSet()
- ps.AddPage(TestTaskExecutionTimePage(ps, ps.base_dir))
+ ps.AddUserStory(TestTaskExecutionTimePage(ps, ps.base_dir))
measurement = task_execution_time.TaskExecutionTime()
results = self.RunMeasurement(measurement, ps, options=self._options)
@@ -39,7 +39,7 @@ class TaskExecutionTimeUnitTest(page_test_test_case.PageTestTestCase):
def testResultsAreDecreasing(self):
ps = self.CreateEmptyPageSet()
- ps.AddPage(TestTaskExecutionTimePage(ps, ps.base_dir))
+ ps.AddUserStory(TestTaskExecutionTimePage(ps, ps.base_dir))
measurement = task_execution_time.TaskExecutionTime()
results = self.RunMeasurement(measurement, ps, options=self._options)
« no previous file with comments | « tools/perf/measurements/smoothness_unittest.py ('k') | tools/perf/measurements/thread_times_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698