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

Side by Side Diff: tracing/tracing/base/unittest/html_test_results.html

Issue 1925833003: [Polymer10] Change HTMLTestRunner to extend HTMLDivElement (Closed) Base URL: git@github.com:catapult-project/catapult.git@polymer10-migration
Patch Set: Created 4 years, 7 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 | « no previous file | 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright (c) 2013 The Chromium Authors. All rights reserved. 3 Copyright (c) 2013 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 <link rel="import" href="/tracing/base/event.html"> 7 <link rel="import" href="/tracing/base/event.html">
8 <link rel="import" href="/tracing/base/unittest/constants.html"> 8 <link rel="import" href="/tracing/base/unittest/constants.html">
9 <link rel="import" href="/tracing/base/utils.html"> 9 <link rel="import" href="/tracing/base/utils.html">
10 <link rel="import" href="/tracing/base/xhr.html"> 10 <link rel="import" href="/tracing/base/xhr.html">
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 109
110 var TestStatus = tr.b.unittest.TestStatus; 110 var TestStatus = tr.b.unittest.TestStatus;
111 var TestTypes = tr.b.unittest.TestTypes; 111 var TestTypes = tr.b.unittest.TestTypes;
112 112
113 /** 113 /**
114 * @constructor 114 * @constructor
115 */ 115 */
116 var HTMLTestCaseResult = tr.ui.b.define('x-html-test-case-result'); 116 var HTMLTestCaseResult = tr.ui.b.define('x-html-test-case-result');
117 117
118 HTMLTestCaseResult.prototype = { 118 HTMLTestCaseResult.prototype = {
119 __proto__: HTMLUnknownElement.prototype, 119 __proto__: HTMLDivElement.prototype,
120 120
121 decorate: function() { 121 decorate: function() {
122 Polymer.dom(this).appendChild(tr.ui.b.instantiateTemplate( 122 Polymer.dom(this).appendChild(tr.ui.b.instantiateTemplate(
123 '#x-html-test-case-result-template', THIS_DOC)); 123 '#x-html-test-case-result-template', THIS_DOC));
124 this.testCase_ = undefined; 124 this.testCase_ = undefined;
125 this.testCaseHRef_ = undefined; 125 this.testCaseHRef_ = undefined;
126 this.duration_ = undefined; 126 this.duration_ = undefined;
127 this.testStatus_ = TestStatus.PENDING; 127 this.testStatus_ = TestStatus.PENDING;
128 this.testReturnValue_ = undefined; 128 this.testReturnValue_ = undefined;
129 this.showHTMLOutput_ = false; 129 this.showHTMLOutput_ = false;
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 //this.textContent += msg; 471 //this.textContent += msg;
472 tr.b.dispatchSimpleEvent(this, 'statschange'); 472 tr.b.dispatchSimpleEvent(this, 'statschange');
473 } 473 }
474 }; 474 };
475 475
476 return { 476 return {
477 HTMLTestResults: HTMLTestResults 477 HTMLTestResults: HTMLTestResults
478 }; 478 };
479 }); 479 });
480 </script> 480 </script>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698