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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/audioparam-setValueCurveAtTime-interpolation.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/audioparam-setValueCurveAtTime-interpolation.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/audioparam-setValueCurveAtTime-interpolation.html b/third_party/WebKit/LayoutTests/webaudio/audioparam-setValueCurveAtTime-interpolation.html
index 312aee2507228a75f8e0cc36458aa64dc80ec36f..f5cd5582772c836c00a30944f5629b041b0e722b 100644
--- a/third_party/WebKit/LayoutTests/webaudio/audioparam-setValueCurveAtTime-interpolation.html
+++ b/third_party/WebKit/LayoutTests/webaudio/audioparam-setValueCurveAtTime-interpolation.html
@@ -209,10 +209,16 @@
source.start();
// Some consistency checks on the test parameters
- Should("Check: Curve end time", config.curveStartTime + config.curveDuration)
+ Should("Check: Curve end time", config.curveStartTime + config.curveDuration, {
+ brief: true
+ })
.beLessThanOrEqualTo(testDurationSec);
- Should("Check: Full gain start time", config.fullGainTime).beLessThanOrEqualTo(testDurationSec);
- Should("Check: Full gain start time", config.fullGainTime).beGreaterThanOrEqualTo(config.curveStartTime + config.curveDuration);
+ Should("Check: Full gain start time", config.fullGainTime, {
+ brief: true
+ }).beLessThanOrEqualTo(testDurationSec);
+ Should("Check: Full gain start time", config.fullGainTime, {
+ brief: true
+ }).beGreaterThanOrEqualTo(config.curveStartTime + config.curveDuration);
// Rock and roll!
return context.startRendering().then(checkResult(config));
@@ -239,7 +245,9 @@
}
}
- success = success && Should("SNR", SNR).beGreaterThanOrEqualTo(config.snrThreshold);
+ success = success && Should("SNR", SNR, {
+ brief: true
+ }).beGreaterThanOrEqualTo(config.snrThreshold);
if (maxDiff <= config.maxErrorThreshold) {
testPassed("Max difference is less than or equal to " + config.maxErrorThreshold + ".");

Powered by Google App Engine
This is Rietveld 408576698