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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/constructor/channelmerger.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/constructor/channelmerger.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/constructor/channelmerger.html b/third_party/WebKit/LayoutTests/webaudio/constructor/channelmerger.html
index ad72836b2d31394fbb294ce52e1719c8ec613a55..92260a0afb146ff0cf151a52319088d1cc919b4e 100644
--- a/third_party/WebKit/LayoutTests/webaudio/constructor/channelmerger.html
+++ b/third_party/WebKit/LayoutTests/webaudio/constructor/channelmerger.html
@@ -49,21 +49,21 @@
var node;
var success = true;
- success = Should("node = new ChannelMergerNode(context)", function () {
+ success = Should("node0 = new ChannelMergerNode(context)", function () {
node = new ChannelMergerNode(context);
}).notThrow();
- success = Should("node instanceof ChannelMergerNode", node instanceof ChannelMergerNode)
+ success = Should("node0 instanceof ChannelMergerNode", node instanceof ChannelMergerNode)
.beEqualTo(true) && success;
- success = Should("node.numberOfInputs", node.numberOfInputs)
+ success = Should("node0.numberOfInputs", node.numberOfInputs)
.beEqualTo(6) && success;
- success = Should("node.numberOfOutputs", node.numberOfOutputs)
+ success = Should("node0.numberOfOutputs", node.numberOfOutputs)
.beEqualTo(1) && success;
- success = Should("node.channelCount", node.channelCount)
+ success = Should("node0.channelCount", node.channelCount)
.beEqualTo(1) && success;
- success = Should("node.channelCountMode", node.channelCountMode)
+ success = Should("node0.channelCountMode", node.channelCountMode)
.beEqualTo("explicit") && success;
- success = Should("node.channelInterpretation", node.channelInterpretation)
+ success = Should("node0.channelInterpretation", node.channelInterpretation)
.beEqualTo("speakers") && success;
Should("new ChannelMergerNode(context)", success)
@@ -99,17 +99,17 @@
channelInterpretation: "discrete"
};
- success = Should("node = new ChannelMergerNode(context, " + JSON.stringify(options) +
+ success = Should("node1 = new ChannelMergerNode(context, " + JSON.stringify(options) +
")",
function () {
node = new ChannelMergerNode(context, options);
}).notThrow();
- success = Should("node.numberOfInputs", node.numberOfInputs)
+ success = Should("node1.numberOfInputs", node.numberOfInputs)
.beEqualTo(options.numberOfInputs) && success;
- success = Should("node.numberOfOutputs", node.numberOfOutputs)
+ success = Should("node1.numberOfOutputs", node.numberOfOutputs)
.beEqualTo(1) && success;
- success = Should("node.channelInterpretation", node.channelInterpretation)
+ success = Should("node1.channelInterpretation", node.channelInterpretation)
.beEqualTo(options.channelInterpretation) && success;
options = {

Powered by Google App Engine
This is Rietveld 408576698