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

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

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/Analyser/realtimeanalyser-freq-data.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/Analyser/realtimeanalyser-freq-data.html b/third_party/WebKit/LayoutTests/webaudio/Analyser/realtimeanalyser-freq-data.html
index c7aee32ddfae5e8fd8431d4b69e4bef96e9a3ac6..61322bd09d2b22b9d5ef62d7f35708dcd3db9388 100644
--- a/third_party/WebKit/LayoutTests/webaudio/Analyser/realtimeanalyser-freq-data.html
+++ b/third_party/WebKit/LayoutTests/webaudio/Analyser/realtimeanalyser-freq-data.html
@@ -177,15 +177,16 @@
var minValue = Math.min(...expected);
var maxValue = Math.max(...expected);
- basicTestsPassed = Should("Min FFT value", minValue, {
- brief: true
- })
+ basicTestsPassed = Should("Order: " + options.order +
+ ": Min FFT value", minValue, {
+ brief: true
+ })
.beLessThanOrEqualTo(analyser.minDecibels) && basicTestsPassed;
- basicTestsPassed = Should("Max FFT value", maxValue, {
- brief: true
- })
+ basicTestsPassed = Should("Order: " + options.order +
+ ": Max FFT value", maxValue, {
+ brief: true
+ })
.beGreaterThanOrEqualTo(analyser.maxDecibels) && basicTestsPassed;
-
// Test the byte frequency data.
var byteFreqData = new Uint8Array(analyser.frequencyBinCount);
var expectedByteData = new Float32Array(analyser.frequencyBinCount);

Powered by Google App Engine
This is Rietveld 408576698