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

Unified Diff: tracing/tracing/value/ui/related_value_set_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_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 2d3745e7d5b9642aa7d501489a93bed7acb4c2b2..05364e4c6c4c7a08d5dbf0d5b97f8ec78d8fb7fd 100644
--- a/tracing/tracing/value/ui/related_value_set_span_test.html
+++ b/tracing/tracing/value/ui/related_value_set_span_test.html
@@ -8,17 +8,14 @@ found in the LICENSE file.
<link rel="import" href="/tracing/value/diagnostics/related_value_set.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_RelatedValueSet', 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.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.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698