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

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

Issue 208643007: Add cleanup for measurements that use tracing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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/perf/measurements/rasterize_and_record_unittest.py
diff --git a/tools/perf/measurements/rasterize_and_record_unittest.py b/tools/perf/measurements/rasterize_and_record_unittest.py
index 4a62849c79db9978290830f339b4198f65532deb..cc50b43614922a7f504ada5d4537b31eeb050b47 100644
--- a/tools/perf/measurements/rasterize_and_record_unittest.py
+++ b/tools/perf/measurements/rasterize_and_record_unittest.py
@@ -48,3 +48,7 @@ class RasterizeAndRecordUnitTest(
recorded_pixels = results.FindAllPageSpecificValuesNamed('recorded_pixels')
self.assertEquals(len(recorded_pixels), 1)
self.assertGreater(recorded_pixels[0].GetRepresentativeNumber(), 0)
+
+ def testCleanUpTrace(self):
+ self.TestTracingCleanedUp(rasterize_and_record.RasterizeAndRecord,
+ self._options)

Powered by Google App Engine
This is Rietveld 408576698