| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 | 5 |
| 6 /** | 6 /** |
| 7 * @fileOverview WebAudio layout test utility library. Built around W3C's | 7 * @fileOverview WebAudio layout test utility library. Built around W3C's |
| 8 * testharness.js. Includes asynchronous test task manager, | 8 * testharness.js. Includes asynchronous test task manager, |
| 9 * assertion utilities. | 9 * assertion utilities. |
| 10 * @dependency testharness.js | 10 * @dependency testharness.js |
| (...skipping 989 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1000 'a dictionary.'); | 1000 'a dictionary.'); |
| 1001 } | 1001 } |
| 1002 | 1002 |
| 1003 this._state = TaskState.PENDING; | 1003 this._state = TaskState.PENDING; |
| 1004 this._result = true; | 1004 this._result = true; |
| 1005 | 1005 |
| 1006 this._totalAssertions = 0; | 1006 this._totalAssertions = 0; |
| 1007 this._failedAssertions = 0; | 1007 this._failedAssertions = 0; |
| 1008 } | 1008 } |
| 1009 | 1009 |
| 1010 // TODO(hongchan): This does not have any effect. Remove this method and fix | |
| 1011 // layout test files use it. | |
| 1012 describe (message) {} | |
| 1013 | |
| 1014 get label () { | 1010 get label () { |
| 1015 return this._label; | 1011 return this._label; |
| 1016 } | 1012 } |
| 1017 | 1013 |
| 1018 get state () { | 1014 get state () { |
| 1019 return this._state; | 1015 return this._state; |
| 1020 } | 1016 } |
| 1021 | 1017 |
| 1022 get result () { | 1018 get result () { |
| 1023 return this._result; | 1019 return this._result; |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1259 | 1255 |
| 1260 /** | 1256 /** |
| 1261 * Load file from a given URL and pass ArrayBuffer to the following promise. | 1257 * Load file from a given URL and pass ArrayBuffer to the following promise. |
| 1262 * See |loadFileFromUrl| method for the detail. | 1258 * See |loadFileFromUrl| method for the detail. |
| 1263 */ | 1259 */ |
| 1264 loadFileFromUrl: loadFileFromUrl | 1260 loadFileFromUrl: loadFileFromUrl |
| 1265 | 1261 |
| 1266 }; | 1262 }; |
| 1267 | 1263 |
| 1268 })(); | 1264 })(); |
| OLD | NEW |