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

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

Issue 2766253002: Remove one more task.describe call (Closed)
Patch Set: Created 3 years, 9 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 | third_party/WebKit/LayoutTests/webaudio/resources/waveshaper-testing.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1210 matching lines...) Expand 10 before | Expand all | Expand 10 after
1221 xhr.send(); 1221 xhr.send();
1222 }); 1222 });
1223 } 1223 }
1224 1224
1225 /** 1225 /**
1226 * @class Audit 1226 * @class Audit
1227 * @description A WebAudio layout test task manager. 1227 * @description A WebAudio layout test task manager.
1228 * @example 1228 * @example
1229 * let audit = Audit.createTaskRunner(); 1229 * let audit = Audit.createTaskRunner();
1230 * audit.define('first-task', function (task, should) { 1230 * audit.define('first-task', function (task, should) {
1231 * task.describe('the first task');
1232 * should(someValue).beEqualTo(someValue); 1231 * should(someValue).beEqualTo(someValue);
1233 * task.done(); 1232 * task.done();
1234 * }); 1233 * });
1235 * audit.run(); 1234 * audit.run();
1236 */ 1235 */
1237 return { 1236 return {
1238 1237
1239 /** 1238 /**
1240 * Creates an instance of Audit task runner. 1239 * Creates an instance of Audit task runner.
1241 * @param {Object} options Options for task runner. 1240 * @param {Object} options Options for task runner.
(...skipping 13 matching lines...) Expand all
1255 1254
1256 /** 1255 /**
1257 * Load file from a given URL and pass ArrayBuffer to the following promise. 1256 * Load file from a given URL and pass ArrayBuffer to the following promise.
1258 * See |loadFileFromUrl| method for the detail. 1257 * See |loadFileFromUrl| method for the detail.
1259 */ 1258 */
1260 loadFileFromUrl: loadFileFromUrl 1259 loadFileFromUrl: loadFileFromUrl
1261 1260
1262 }; 1261 };
1263 1262
1264 })(); 1263 })();
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/webaudio/resources/waveshaper-testing.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698