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

Unified Diff: scripts/slave/unittests/runtest_annotator_test.py

Issue 14024008: Update GraphingPageCyclerLogProcessor to work with updated Telemetry pagecyclers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build/
Patch Set: Created 7 years, 8 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
« no previous file with comments | « scripts/slave/unittests/data/page_cycler.log ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/unittests/runtest_annotator_test.py
===================================================================
--- scripts/slave/unittests/runtest_annotator_test.py (revision 193793)
+++ scripts/slave/unittests/runtest_annotator_test.py (working copy)
@@ -355,5 +355,14 @@
self.assertEqual(expected, step.PerformanceSummary()[0])
self.assertEqual(WARNINGS, step.evaluateCommand('mycommand'))
+class GraphingPageCyclerLogProcessorPerfTest(LoggingStepBase):
+ def testPageCycler(self):
+ parser = self._ConstructDefaultProcessor(
+ process_log_utils.GraphingPageCyclerLogProcessor)
+ self._ProcessLog(parser, 'page_cycler.log')
+
+ expected = 't: 2.32k'
+ self.assertEqual(expected, parser.PerformanceSummary()[0])
+
if __name__ == '__main__':
unittest.main()
« no previous file with comments | « scripts/slave/unittests/data/page_cycler.log ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698