| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <!-- | 2 <!-- |
| 3 Copyright (c) 2014 The Chromium Authors. All rights reserved. | 3 Copyright (c) 2014 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/base/base.html"> | 8 <link rel="import" href="/tracing/base/base.html"> |
| 9 <link rel="import" href="/tracing/base/unittest.html"> | 9 <link rel="import" href="/tracing/base/unittest.html"> |
| 10 <link rel="import" href="/tracing/base/unittest/html_test_results.html"> | 10 <link rel="import" href="/tracing/base/unittest/html_test_results.html"> |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 tr.exportTo('tr.b.unittest', function() { | 155 tr.exportTo('tr.b.unittest', function() { |
| 156 var THIS_DOC = document.currentScript.ownerDocument; | 156 var THIS_DOC = document.currentScript.ownerDocument; |
| 157 var ALL_TEST_TYPES = 'all'; | 157 var ALL_TEST_TYPES = 'all'; |
| 158 | 158 |
| 159 /** | 159 /** |
| 160 * @constructor | 160 * @constructor |
| 161 */ | 161 */ |
| 162 var InteractiveTestRunner = tr.ui.b.define('x-base-interactive-test-runner'); | 162 var InteractiveTestRunner = tr.ui.b.define('x-base-interactive-test-runner'); |
| 163 | 163 |
| 164 InteractiveTestRunner.prototype = { | 164 InteractiveTestRunner.prototype = { |
| 165 __proto__: HTMLUnknownElement.prototype, | 165 __proto__: HTMLDivElement.prototype, |
| 166 | 166 |
| 167 decorate: function() { | 167 decorate: function() { |
| 168 this.allTests_ = undefined; | 168 this.allTests_ = undefined; |
| 169 | 169 |
| 170 this.suppressStateChange_ = false; | 170 this.suppressStateChange_ = false; |
| 171 | 171 |
| 172 this.testFilterString_ = ''; | 172 this.testFilterString_ = ''; |
| 173 this.testTypeToRun_ = tr.b.unittest.TestTypes.UNITTEST; | 173 this.testTypeToRun_ = tr.b.unittest.TestTypes.UNITTEST; |
| 174 this.shortFormat_ = false; | 174 this.shortFormat_ = false; |
| 175 this.testSuiteName_ = ''; | 175 this.testSuiteName_ = ''; |
| (...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 692 | 692 |
| 693 loadAndRunTestsImpl(); | 693 loadAndRunTestsImpl(); |
| 694 } | 694 } |
| 695 | 695 |
| 696 return { | 696 return { |
| 697 InteractiveTestRunner: InteractiveTestRunner, | 697 InteractiveTestRunner: InteractiveTestRunner, |
| 698 loadAndRunTests: loadAndRunTests | 698 loadAndRunTests: loadAndRunTests |
| 699 }; | 699 }; |
| 700 }); | 700 }); |
| 701 </script> | 701 </script> |
| OLD | NEW |