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

Unified Diff: tracing/tracing/value/ui/related_value_map_span_test.html

Issue 2293533002: Refactor NumericBuilder to HistogramBinBoundaries. (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: rebase Created 4 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 side-by-side diff with in-line comments
Download patch
Index: tracing/tracing/value/ui/related_value_map_span_test.html
diff --git a/tracing/tracing/value/ui/related_value_map_span_test.html b/tracing/tracing/value/ui/related_value_map_span_test.html
index 8e9c026d15baed85c16c1289cbc8520c4dc89cf2..e348af617f13ce168d29db359fc8b14453a24bf6 100644
--- a/tracing/tracing/value/ui/related_value_map_span_test.html
+++ b/tracing/tracing/value/ui/related_value_map_span_test.html
@@ -14,13 +14,11 @@ found in the LICENSE file.
'use strict';
tr.b.unittest.testSuite(function() {
- var TEST_NUMERIC_BUILDER = tr.v.NumericBuilder.createLinear(
- tr.v.Unit.byName.timeDurationInMs, tr.b.Range.fromExplicitRange(0, 1000),
- 10);
-
test('instantiate_RelatedValueMap', function() {
- var aValue = new tr.v.NumericValue('a', TEST_NUMERIC_BUILDER.build());
- var bValue = new tr.v.NumericValue('b', TEST_NUMERIC_BUILDER.build());
+ var aValue = new tr.v.NumericValue('a', new tr.v.Histogram(
+ tr.v.Unit.byName.unitlessNumber));
+ var bValue = new tr.v.NumericValue('b', new tr.v.Histogram(
+ tr.v.Unit.byName.unitlessNumber));
var diagnostic = new tr.v.d.RelatedValueMap();
diagnostic.set('foo', aValue);
diagnostic.set('bar', bValue);
« no previous file with comments | « tracing/tracing/value/ui/numeric_stats_span_test.html ('k') | tracing/tracing/value/ui/related_value_set_span_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698