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

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

Issue 2998043002: Remove RelatedHistogramSet. (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
Index: tracing/tracing/value/ui/related_histogram_set_span_test.html
diff --git a/tracing/tracing/value/ui/related_histogram_set_span_test.html b/tracing/tracing/value/ui/related_histogram_set_span_test.html
deleted file mode 100644
index 25c3e80c4ba4bbaf197f60db9a0289003c985727..0000000000000000000000000000000000000000
--- a/tracing/tracing/value/ui/related_histogram_set_span_test.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright 2016 The Chromium Authors. All rights reserved.
-Use of this source code is governed by a BSD-style license that can be
-found in the LICENSE file.
--->
-
-<link rel="import" href="/tracing/value/diagnostics/related_histogram_set.html">
-<link rel="import" href="/tracing/value/histogram.html">
-<link rel="import" href="/tracing/value/ui/diagnostic_span.html">
-
-<script>
-'use strict';
-
-tr.b.unittest.testSuite(function() {
- test('instantiate_RelatedHistogramSet', function() {
- const aValue = new tr.v.Histogram('foo', tr.b.Unit.byName.unitlessNumber);
- const bValue = new tr.v.Histogram('bar', tr.b.Unit.byName.unitlessNumber);
- const diagnostic = new tr.v.d.RelatedHistogramSet([aValue, bValue]);
- const span = tr.v.ui.createDiagnosticSpan(diagnostic);
- assert.strictEqual('TR-V-UI-RELATED-HISTOGRAM-SET-SPAN', span.tagName);
- this.addHTMLOutput(span);
- assert.isDefined(tr.ui.b.findDeepElementMatchingPredicate(
- span, function(element) {
- return element.textContent === 'Select All';
- }));
- assert.isDefined(tr.ui.b.findDeepElementMatchingPredicate(
- span, function(element) {
- return element.textContent === 'foo';
- }));
- assert.isDefined(tr.ui.b.findDeepElementMatchingPredicate(
- span, function(element) {
- return element.textContent === 'bar';
- }));
- });
-});
-</script>

Powered by Google App Engine
This is Rietveld 408576698