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

Side by Side Diff: tools/telemetry/telemetry/csv_page_benchmark_results_unittest.py

Issue 12294002: Revert 182991 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 import StringIO 4 import StringIO
5 import csv 5 import csv
6 import os 6 import os
7 import unittest 7 import unittest
8 8
9 from telemetry.csv_page_benchmark_results import CsvPageBenchmarkResults 9 from telemetry.csv_page_benchmark_results import CsvPageBenchmarkResults
10 from telemetry.page_set import PageSet 10 from telemetry.page_set import PageSet
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 119
120 results.PrintSummary('tag') 120 results.PrintSummary('tag')
121 121
122 self.assertEquals( 122 self.assertEquals(
123 self.output_header_row, 123 self.output_header_row,
124 ['url', 'a ()']) 124 ['url', 'a ()'])
125 self.assertEquals( 125 self.assertEquals(
126 self.output_data_rows, 126 self.output_data_rows,
127 [[self._page_set[0].url, '1.5'], 127 [[self._page_set[0].url, '1.5'],
128 [self._page_set[1].url, '2.5']]) 128 [self._page_set[1].url, '2.5']])
OLDNEW
« no previous file with comments | « tools/telemetry/telemetry/csv_page_benchmark_results.py ('k') | tools/telemetry/telemetry/desktop_browser_backend.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698