| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 os | 4 import os |
| 5 import unittest | 5 import unittest |
| 6 | 6 |
| 7 from telemetry import value | 7 from telemetry import value |
| 8 from telemetry.page import page_set | 8 from telemetry.page import page_set |
| 9 | 9 |
| 10 | 10 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 def MergeLikeValuesFromDifferentPages(cls, values, | 28 def MergeLikeValuesFromDifferentPages(cls, values, |
| 29 group_by_name_suffix=False): | 29 group_by_name_suffix=False): |
| 30 pass | 30 pass |
| 31 | 31 |
| 32 def GetBuildbotDataType(self, output_context): | 32 def GetBuildbotDataType(self, output_context): |
| 33 pass | 33 pass |
| 34 | 34 |
| 35 def GetBuildbotValue(self): | 35 def GetBuildbotValue(self): |
| 36 pass | 36 pass |
| 37 | 37 |
| 38 def GetBuildbotMeasurementAndTraceNameForComputedSummaryResult( | 38 def GetChartAndTraceNameForComputedSummaryResult( |
| 39 self, trace_tag): | 39 self, trace_tag): |
| 40 pass | 40 pass |
| 41 | 41 |
| 42 def GetRepresentativeNumber(self): | 42 def GetRepresentativeNumber(self): |
| 43 pass | 43 pass |
| 44 | 44 |
| 45 def GetRepresentativeString(self): | 45 def GetRepresentativeString(self): |
| 46 pass | 46 pass |
| 47 | 47 |
| 48 @staticmethod | 48 @staticmethod |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 'units': 'unit' | 190 'units': 'unit' |
| 191 } | 191 } |
| 192 d1 = { | 192 d1 = { |
| 193 'type': 'value_for_from_dict_test', | 193 'type': 'value_for_from_dict_test', |
| 194 'name': 'y', | 194 'name': 'y', |
| 195 'units': 'unit' | 195 'units': 'unit' |
| 196 } | 196 } |
| 197 vs = value.Value.ListOfValuesFromListOfDicts([d0, d1], {}) | 197 vs = value.Value.ListOfValuesFromListOfDicts([d0, d1], {}) |
| 198 self.assertEquals(vs[0].name, 'x') | 198 self.assertEquals(vs[0].name, 'x') |
| 199 self.assertEquals(vs[1].name, 'y') | 199 self.assertEquals(vs[1].name, 'y') |
| OLD | NEW |