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

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

Issue 737403002: Revert of telemetry: Remove command line args from page test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « tools/perf/measurements/rasterize_and_record_micro.py ('k') | tools/perf/measurements/record_per_area.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/measurements/rasterize_and_record_micro_unittest.py
diff --git a/tools/perf/measurements/rasterize_and_record_micro_unittest.py b/tools/perf/measurements/rasterize_and_record_micro_unittest.py
index 6b2f937269a83ac98ed7dd4c6c11d28cc4141951..2abe61fe4b88e5cbeb4c7a84666ebc97dd4831db 100644
--- a/tools/perf/measurements/rasterize_and_record_micro_unittest.py
+++ b/tools/perf/measurements/rasterize_and_record_micro_unittest.py
@@ -23,13 +23,15 @@
def setUp(self):
self._options = options_for_unittests.GetCopy()
self._options.browser_options.wpr_mode = wpr_modes.WPR_OFF
+ self._options.rasterize_repeat = 1
+ self._options.record_repeat = 1
+ self._options.start_wait_time = 0.0
+ self._options.report_detailed_results = True
@test.Disabled('win', 'chromeos')
def testRasterizeAndRecordMicro(self):
ps = self.CreatePageSetFromFileInUnittestDataDir('blank.html')
- measurement = rasterize_and_record_micro.RasterizeAndRecordMicro(
- rasterize_repeat=1, record_repeat=1, start_wait_time=0.0,
- report_detailed_results=True)
+ measurement = rasterize_and_record_micro.RasterizeAndRecordMicro()
try:
results = self.RunMeasurement(measurement, ps, options=self._options)
except page_test.TestNotSupportedOnPlatformFailure as failure:
@@ -89,3 +91,5 @@
self.assertEquals(len(total_picture_layers_off_screen), 1)
self.assertEqual(
total_picture_layers_off_screen[0].GetRepresentativeNumber(), 0)
+
+
« no previous file with comments | « tools/perf/measurements/rasterize_and_record_micro.py ('k') | tools/perf/measurements/record_per_area.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698