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

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

Issue 2999663002: Revert of Revision Info into GenericSet (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 unified diff | Download patch
« no previous file with comments | « tracing/tracing/value/ui/revision_info_span.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <!--
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
5 found in the LICENSE file.
6 -->
7
8 <link rel="import" href="/tracing/value/diagnostics/revision_info.html">
9 <link rel="import" href="/tracing/value/ui/diagnostic_span.html">
10
11 <script>
12 'use strict';
13
14 tr.b.unittest.testSuite(function() {
15 test('instantiateSingles', function() {
16 const revInfo = new tr.v.d.RevisionInfo({
17 chromium: ['b10563e'],
18 v8: ['0a12a6'],
19 catapult: ['e6e086'],
20 angle: ['d7b1ab'],
21 skia: ['966bb3'],
22 webrtc: ['277b25'],
23 });
24 const span = tr.v.ui.createDiagnosticSpan(revInfo);
25 assert.strictEqual('TR-V-UI-REVISION-INFO-SPAN', span.tagName);
26 this.addHTMLOutput(span);
27 });
28
29 test('instantiateRanges', function() {
30 const revInfo = new tr.v.d.RevisionInfo({
31 chromium: ['e2ebe328', 'b10563e'],
32 v8: ['0a12a6', '921d88'],
33 catapult: ['e6e086', 'bf0f62'],
34 angle: ['d7b1ab', 'da9fb0'],
35 skia: ['966bb3', 'db402c'],
36 webrtc: ['277b25', 'f8b262'],
37 });
38 const span = tr.v.ui.createDiagnosticSpan(revInfo);
39 assert.strictEqual('TR-V-UI-REVISION-INFO-SPAN', span.tagName);
40 this.addHTMLOutput(span);
41 });
42 });
43 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/value/ui/revision_info_span.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698