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

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

Issue 2994183002: Results.html: fix height of statistics table. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « tracing/tracing/value/ui/histogram_span.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 74797273abd57c06a37eed8e256ffe365dab55b5..bef197c3a7bc3c7c4bfcad143cd55469b44f4281 100644
--- a/tracing/tracing/value/ui/histogram_span_test.html
+++ b/tracing/tracing/value/ui/histogram_span_test.html
@@ -237,6 +237,19 @@ tr.b.unittest.testSuite(function() {
span.histogram = h;
});
+ test('referenceHistogram', function() {
+ const span = document.createElement('tr-v-ui-histogram-span');
+ span.histogram = tr.v.Histogram.create('', tr.b.Unit.byName.unitlessNumber,
+ [1, 10, 100], {
+ binBoundaries: tr.v.HistogramBinBoundaries.SINGULAR,
+ });
+ span.referenceHistogram = tr.v.Histogram.create('',
+ tr.b.Unit.byName.unitlessNumber, [2, 20, 200], {
+ binBoundaries: tr.v.HistogramBinBoundaries.SINGULAR,
+ });
+ this.addHTMLOutput(span);
+ });
+
test('breakdownUnit', async function() {
const root = new tr.v.Histogram('root', tr.b.Unit.byName.sizeInBytes);
const sampleBreakdown = new tr.v.d.Breakdown();
« no previous file with comments | « tracing/tracing/value/ui/histogram_span.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698