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

Side by Side Diff: tracing/tracing/value/ui/related_value_set_span_test.html

Issue 2162963002: [polymer] Merge of master into polymer10-migration (Closed) Base URL: git@github.com:catapult-project/catapult.git@polymer10-migration
Patch Set: Merge polymer10-migration int polymer10-merge Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright 2016 The Chromium Authors. All rights reserved. 3 Copyright 2016 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. 5 found in the LICENSE file.
6 --> 6 -->
7 7
8 <link rel="import" href="/tracing/value/diagnostics/composition.html">
9 <link rel="import" href="/tracing/value/diagnostics/related_value_set.html"> 8 <link rel="import" href="/tracing/value/diagnostics/related_value_set.html">
10 <link rel="import" href="/tracing/value/ui/diagnostic_span.html"> 9 <link rel="import" href="/tracing/value/ui/diagnostic_span.html">
11 <link rel="import" href="/tracing/value/value.html"> 10 <link rel="import" href="/tracing/value/value.html">
12 11
13 <script> 12 <script>
14 'use strict'; 13 'use strict';
15 14
16 tr.b.unittest.testSuite(function() { 15 tr.b.unittest.testSuite(function() {
17 test('instantiate_RelatedValueSet', function() { 16 test('instantiate_RelatedValueSet', function() {
18 var aValue = new tr.v.SkipValue('a'); 17 var aValue = new tr.v.SkipValue('a');
19 var bValue = new tr.v.SkipValue('b'); 18 var bValue = new tr.v.SkipValue('b');
20 var diagnostic = new tr.v.d.RelatedValueSet([aValue, bValue]); 19 var diagnostic = new tr.v.d.RelatedValueSet([aValue, bValue]);
21 var span = tr.v.ui.createDiagnosticSpan(diagnostic); 20 var span = tr.v.ui.createDiagnosticSpan(diagnostic);
22 assert.strictEqual('TR-V-UI-RELATED-VALUE-SET-SPAN', span.tagName); 21 assert.strictEqual('TR-V-UI-RELATED-VALUE-SET-SPAN', span.tagName);
23 this.addHTMLOutput(span); 22 this.addHTMLOutput(span);
24 }); 23 });
25
26 test('instantiate_Composition', function() {
27 var aValue = new tr.v.SkipValue('a');
28 var bValue = new tr.v.SkipValue('b');
29 var diagnostic = new tr.v.d.Composition([aValue, bValue]);
30 var span = tr.v.ui.createDiagnosticSpan(diagnostic);
31 assert.strictEqual('TR-V-UI-RELATED-VALUE-SET-SPAN', span.tagName);
32 this.addHTMLOutput(span);
33 });
34 }); 24 });
35 </script> 25 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/value/ui/related_event_set_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