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

Unified Diff: scripts/master/unittests/process_log_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/master/unittests/data/page_cycler.log ('k') | scripts/slave/process_log_utils.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/master/unittests/process_log_test.py
===================================================================
--- scripts/master/unittests/process_log_test.py (revision 193793)
+++ scripts/master/unittests/process_log_test.py (working copy)
@@ -431,6 +431,13 @@
expected = json.load(open(os.path.join(test_env.DATA_PATH, filename)))
self.assertEqual(expected, actual)
+ def testPageCycler(self):
+ step = self._ConstructStep(process_log.GraphingPageCyclerLogProcessor,
+ 'page_cycler.log')
+ step.commandComplete('mycommand')
+ expected = 't: 2.32k'
+ self.assertEqual(expected, step._result_text[0])
+
if __name__ == '__main__':
unittest.main()
« no previous file with comments | « scripts/master/unittests/data/page_cycler.log ('k') | scripts/slave/process_log_utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698