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

Unified Diff: tracing/tracing/value/ui/value_set_view_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
« no previous file with comments | « tracing/tracing/value/ui/value_set_table_test.html ('k') | tracing/tracing/value/value.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/value/ui/value_set_view_test.html
diff --git a/tracing/tracing/value/ui/value_set_view_test.html b/tracing/tracing/value/ui/value_set_view_test.html
index ac13977012543ee2a3b53c322be79bc0fb6a1b38..a1c0301a0184fbb12cfd402c5c4e02f2b3a08bf3 100644
--- a/tracing/tracing/value/ui/value_set_view_test.html
+++ b/tracing/tracing/value/ui/value_set_view_test.html
@@ -18,11 +18,10 @@ tr.b.unittest.testSuite(function() {
var view = document.createElement('tr-v-ui-value-set-view');
var values = new tr.v.ValueSet();
- var hist = new tr.v.Histogram(tr.b.Unit.byName.normalizedPercentage);
+ var hist = new tr.v.Histogram('foo', tr.b.Unit.byName.normalizedPercentage);
for (var i = 0; i < 1e2; ++i)
hist.addSample(Math.random());
- var foo = new tr.v.NumericValue('foo', hist, {description: 'bar'});
- values.addValue(foo);
+ values.addHistogram(hist);
this.addHTMLOutput(view);
view.values = values;
« no previous file with comments | « tracing/tracing/value/ui/value_set_table_test.html ('k') | tracing/tracing/value/value.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698