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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/resources/audit-util.js

Issue 2768983002: Fix duplicate test names in WebAudio tests (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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/webaudio/resources/audit-util.js
diff --git a/third_party/WebKit/LayoutTests/webaudio/resources/audit-util.js b/third_party/WebKit/LayoutTests/webaudio/resources/audit-util.js
index fb4c93c640456a986fa7882ffafecc530e21c1a1..8c837667b3713b9cb5f7844b03bbecf6cace448a 100644
--- a/third_party/WebKit/LayoutTests/webaudio/resources/audit-util.js
+++ b/third_party/WebKit/LayoutTests/webaudio/resources/audit-util.js
@@ -214,10 +214,10 @@ function compareBuffersWithConstraints(actual, expected, options) {
Should("SNR", snr).beGreaterThanOrEqualTo(thresholdSNR);
- Should('Maximum difference (in ulp units (' + bitDepth + '-bits))',
+ Should(options.prefix + ': Maximum difference (in ulp units (' + bitDepth + '-bits))',
maxErrorULP).beLessThanOrEqualTo(thresholdDiffULP);
- Should('Number of differences between results', diffCount)
+ Should(options.prefix + ': Number of differences between results', diffCount)
.beLessThanOrEqualTo(thresholdDiffCount);
}

Powered by Google App Engine
This is Rietveld 408576698