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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/panner-automation-position.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 unified diff | Download patch
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../resources/js-test.js"></script> 4 <script src="../resources/js-test.js"></script>
5 <script src="resources/compatibility.js"></script> 5 <script src="resources/compatibility.js"></script>
6 <script src="resources/audio-testing.js"></script> 6 <script src="resources/audio-testing.js"></script>
7 <script src="resources/panner-formulas.js"></script> 7 <script src="resources/panner-formulas.js"></script>
8 <title>Test Automation of PannerNode Positions</title> 8 <title>Test Automation of PannerNode Positions</title>
9 </head> 9 </head>
10 10
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 + options.startPosition[2] + "] -> [" 244 + options.startPosition[2] + "] -> ["
245 + options.endPosition[0] + ", " 245 + options.endPosition[0] + ", "
246 + options.endPosition[1] + ", " 246 + options.endPosition[1] + ", "
247 + options.endPosition[2] + "]: "; 247 + options.endPosition[2] + "]: ";
248 248
249 var errorThreshold = 0; 249 var errorThreshold = 0;
250 250
251 if (options.errorThreshold) 251 if (options.errorThreshold)
252 errorThreshold = options.errorThreshold[channelCount - 1] 252 errorThreshold = options.errorThreshold[channelCount - 1]
253 253
254 Should(prefix + "distanceModel: " + info + ", left channel", data0, { 254 Should(prefix + "distanceModel: " + info + ", left channel", data0)
255 verbose: true
256 })
257 .beCloseToArray(expected0, errorThreshold); 255 .beCloseToArray(expected0, errorThreshold);
258 Should(prefix + "distanceModel: " + info + ", right channel", data1, { 256 Should(prefix + "distanceModel: " + info + ", right channel", data1)
259 verbose: true
260 })
261 .beCloseToArray(expected1, errorThreshold); 257 .beCloseToArray(expected1, errorThreshold);
262 }); 258 });
263 } 259 }
264 </script> 260 </script>
265 </body> 261 </body>
266 </html> 262 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698