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

Unified Diff: tracing/tracing/value/ui/related_value_set_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_set_span_test.html
diff --git a/tracing/tracing/value/ui/related_value_set_span_test.html b/tracing/tracing/value/ui/related_value_set_span_test.html
index 61e23999dedebcd92596ae3d59eec6f45e8e9bde..538bdf230fcced2835cee40a7d2c001921878e3a 100644
--- a/tracing/tracing/value/ui/related_value_set_span_test.html
+++ b/tracing/tracing/value/ui/related_value_set_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_RelatedValueSet', 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.RelatedValueSet([aValue, bValue]);
var span = tr.v.ui.createDiagnosticSpan(diagnostic);
assert.strictEqual('TR-V-UI-RELATED-VALUE-SET-SPAN', span.tagName);
« no previous file with comments | « tracing/tracing/value/ui/related_value_map_span_test.html ('k') | tracing/tracing/value/ui/scalar_span_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698