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

Unified Diff: tracing/tracing/value/ui/histogram_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/histogram_span_test.html
diff --git a/tracing/tracing/value/ui/histogram_span_test.html b/tracing/tracing/value/ui/histogram_span_test.html
index b6e9a8440a0dbcb86ab3ba62b31c009a89420881..38942e8761457dcf302c2e9b15bb8aed8db71805 100644
--- a/tracing/tracing/value/ui/histogram_span_test.html
+++ b/tracing/tracing/value/ui/histogram_span_test.html
@@ -16,7 +16,7 @@ found in the LICENSE file.
tr.b.unittest.testSuite(function() {
test('basic', function() {
- var h = new tr.v.Histogram(tr.b.Unit.byName.unitlessNumber);
+ var h = new tr.v.Histogram('', tr.b.Unit.byName.unitlessNumber);
h.addSample(-1, {foo: new tr.v.d.Generic('a')});
h.addSample(0, {foo: new tr.v.d.Generic('b')});
h.addSample(0, {foo: new tr.v.d.Generic('b')});
@@ -41,7 +41,7 @@ tr.b.unittest.testSuite(function() {
});
test('emptyHistogram', function() {
- var h = new tr.v.Histogram(tr.b.Unit.byName.unitlessNumber);
+ var h = new tr.v.Histogram('', tr.b.Unit.byName.unitlessNumber);
var span = document.createElement('tr-v-ui-histogram-span');
span.histogram = h;
@@ -49,7 +49,7 @@ tr.b.unittest.testSuite(function() {
});
test('nans', function() {
- var h = new tr.v.Histogram(tr.b.Unit.byName.unitlessNumber);
+ var h = new tr.v.Histogram('', tr.b.Unit.byName.unitlessNumber);
h.addSample(undefined, {foo: new tr.v.d.Generic('b')});
h.addSample(NaN, {foo: new tr.v.d.Generic('c')});
h.customizeSummaryOptions({nans: true});
« no previous file with comments | « tracing/tracing/value/ui/composition_span_test.html ('k') | tracing/tracing/value/ui/numeric_stats_span_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698