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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/resources/audio-testing.js

Issue 2072313002: Replace verbose option with brief option for Should(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adjust message for default verbose output. Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/webaudio/realtimeanalyser-freq-data-smoothing.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/webaudio/resources/audio-testing.js
diff --git a/third_party/WebKit/LayoutTests/webaudio/resources/audio-testing.js b/third_party/WebKit/LayoutTests/webaudio/resources/audio-testing.js
index 608d16a19e62260132a05dc4623e0649e968cc59..ba24167891b904be865354b5b662ad87ae44ddc4 100644
--- a/third_party/WebKit/LayoutTests/webaudio/resources/audio-testing.js
+++ b/third_party/WebKit/LayoutTests/webaudio/resources/audio-testing.js
@@ -420,7 +420,7 @@ var Should = (function () {
// If true, verbose output for the failure case is printed, for methods where this makes
// sense.
- this.verbose = opts.verbose;
+ this.verbose = !opts.brief;
// If set, this is the precision with which numbers will be printed.
this.PRINT_PRECISION = opts.precision;
@@ -1046,7 +1046,8 @@ var Should = (function () {
return function (desc, target, opts) {
var _opts = {
numberOfErrorLog: 8,
- numberOfArrayLog: 16
+ numberOfArrayLog: 16,
+ verbose: true
};
if (opts instanceof Object) {
@@ -1054,8 +1055,8 @@ var Should = (function () {
_opts.numberOfErrorLog = opts.numberOfErrorLog;
if (opts.hasOwnProperty('numberOfArrayLog'))
_opts.numberOfArrayLog = opts.numberOfArrayLog;
- if (opts.hasOwnProperty('verbose'))
- _opts.verbose = opts.verbose;
+ if (opts.hasOwnProperty('brief'))
+ _opts.brief = opts.brief;
if (opts.hasOwnProperty('precision'))
_opts.precision = opts.precision;
}
« no previous file with comments | « third_party/WebKit/LayoutTests/webaudio/realtimeanalyser-freq-data-smoothing.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698