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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/realtimeanalyser-byte-data.html

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
Index: third_party/WebKit/LayoutTests/webaudio/realtimeanalyser-byte-data.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/realtimeanalyser-byte-data.html b/third_party/WebKit/LayoutTests/webaudio/realtimeanalyser-byte-data.html
index 270c5f9d4d8c5f79871b224738e5c3e61df25aee..7e789f0984d637aa86e4ad12fd90ac9642a5951f 100644
--- a/third_party/WebKit/LayoutTests/webaudio/realtimeanalyser-byte-data.html
+++ b/third_party/WebKit/LayoutTests/webaudio/realtimeanalyser-byte-data.html
@@ -71,8 +71,12 @@
var indexMax = floatData.findIndex(function (x) { return x > 1; });
var indexMin = floatData.findIndex(function (x) { return x < -1; });
- Should("Index of first sample greater than +1", indexMax).beGreaterThanOrEqualTo(0);
- Should("Index of first sample less than -1", indexMin).beGreaterThanOrEqualTo(0);
+ Should("Index of first sample greater than +1", indexMax, {
+ brief: true
+ }).beGreaterThanOrEqualTo(0);
+ Should("Index of first sample less than -1", indexMin, {
+ brief: true
+ }).beGreaterThanOrEqualTo(0);
// Verify explicitly that clipping happened correctly at the above indices.
Should("Clip " + floatData[indexMax].toPrecision(6) + ": byteData[" + indexMax + "]",
@@ -81,9 +85,7 @@
byteData[indexMin]).beEqualTo(0);
// Verify that all other samples are computed correctly.
- Should("Byte data", byteData, {
- verbose: true
- }).beEqualToArray(expected);
+ Should("Byte data", byteData).beEqualToArray(expected);
}).then(context.resume.bind(context))
src.start();

Powered by Google App Engine
This is Rietveld 408576698