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

Side by Side Diff: tools/telemetry/telemetry/value/value_unittest.py

Issue 439613003: Add Chart JSON processing to Telemetry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Chris's comments Created 6 years, 4 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
« no previous file with comments | « tools/telemetry/telemetry/value/string_unittest.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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')
OLDNEW
« no previous file with comments | « tools/telemetry/telemetry/value/string_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698