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

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

Issue 2334233003: Merge NumericValue into Histogram (Closed)
Patch Set: fix rail_power_metric Created 4 years, 3 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 86e65b0b55b78444a89472f197ce94f96d47f419..b57e3e4cbf537c8864db703f661811d2bb6d363c 100644
--- a/tracing/tracing/value/ui/related_value_map_span_test.html
+++ b/tracing/tracing/value/ui/related_value_map_span_test.html
@@ -8,17 +8,14 @@ found in the LICENSE file.
<link rel="import" href="/tracing/value/diagnostics/related_value_map.html">
<link rel="import" href="/tracing/value/histogram.html">
<link rel="import" href="/tracing/value/ui/diagnostic_span.html">
-<link rel="import" href="/tracing/value/value.html">
<script>
'use strict';
tr.b.unittest.testSuite(function() {
test('instantiate_RelatedValueMap', function() {
- var aValue = new tr.v.NumericValue('a', new tr.v.Histogram(
- tr.b.Unit.byName.unitlessNumber));
- var bValue = new tr.v.NumericValue('b', new tr.v.Histogram(
- tr.b.Unit.byName.unitlessNumber));
+ var aValue = new tr.v.Histogram('a', tr.b.Unit.byName.unitlessNumber);
+ var bValue = new tr.v.Histogram('b', tr.b.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