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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/resources/merger-testing.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/merger-testing.js
diff --git a/third_party/WebKit/LayoutTests/webaudio/resources/merger-testing.js b/third_party/WebKit/LayoutTests/webaudio/resources/merger-testing.js
index 394027663c9800f1975afcd0b7e53db718cecfb8..29c9165a684cfbdf4d7ad2025d7e9e971aa04d1b 100644
--- a/third_party/WebKit/LayoutTests/webaudio/resources/merger-testing.js
+++ b/third_party/WebKit/LayoutTests/webaudio/resources/merger-testing.js
@@ -16,8 +16,9 @@ function testMergerInput(config, done) {
source.start();
context.startRendering().then(function (buffer) {
+ let prefix = config.testBufferContent.length + '-channel source: ';
for (var i = 0; i < config.numberOfChannels; i++)
- Should('Channel #' + i, buffer.getChannelData(i))
+ Should(prefix + 'Channel #' + i, buffer.getChannelData(i))
.beConstantValueOf(config.expected[i]);
done();
});

Powered by Google App Engine
This is Rietveld 408576698