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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/resources/audit.js

Issue 2537183002: Encode HRTF database using FLAC (Closed)
Patch Set: Remove unneeded files. Created 4 years 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 // 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 833 matching lines...) Expand 10 before | Expand all | Expand 10 after
844 this._totalAssertions++; 844 this._totalAssertions++;
845 } 845 }
846 846
847 // Finish the current task and start the next one if available. 847 // Finish the current task and start the next one if available.
848 done () { 848 done () {
849 this._state = TaskState.FINISHED; 849 this._state = TaskState.FINISHED;
850 850
851 let message = '< [' + this._label + '] '; 851 let message = '< [' + this._label + '] ';
852 852
853 if (this._result) { 853 if (this._result) {
854 message += 'All assertion passed. (total ' + this._totalAssertions 854 message += 'All assertions passed. (total ' + this._totalAssertions
855 + ' assertions)'; 855 + ' assertions)';
856 _logPassed(message); 856 _logPassed(message);
857 } else { 857 } else {
858 message += this._failedAssertions + ' out of ' + this._totalAssertions 858 message += this._failedAssertions + ' out of ' + this._totalAssertions
859 + ' assertions were failed.' 859 + ' assertions were failed.'
860 _logFailed(message); 860 _logFailed(message);
861 } 861 }
862 862
863 this._taskRunner._runNextTask(); 863 this._taskRunner._runNextTask();
864 } 864 }
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
971 /** 971 /**
972 * Creates an instance of Audit task runner. 972 * Creates an instance of Audit task runner.
973 */ 973 */
974 createTaskRunner: function () { 974 createTaskRunner: function () {
975 return new TaskRunner(); 975 return new TaskRunner();
976 } 976 }
977 977
978 }; 978 };
979 979
980 })(); 980 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698