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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/constructor/audionodeoptions.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/constructor/audionodeoptions.js
diff --git a/third_party/WebKit/LayoutTests/webaudio/constructor/audionodeoptions.js b/third_party/WebKit/LayoutTests/webaudio/constructor/audionodeoptions.js
index 4eb175f78a7ea569e4b4ed05f9d7bd60dd0589fa..5c863a9076529defe4a51a2dae8767fa8f066076 100644
--- a/third_party/WebKit/LayoutTests/webaudio/constructor/audionodeoptions.js
+++ b/third_party/WebKit/LayoutTests/webaudio/constructor/audionodeoptions.js
@@ -111,7 +111,7 @@ function testAudioNodeOptions(context, nodeName, nodeOptions) {
channelCountMode: "clamped-max"
}));
}).notThrow() && success;
- success = Should("node.channelCountMode", node.channelCountMode)
+ success = Should("node.channelCountMode after invalid setter", node.channelCountMode)
.beEqualTo("clamped-max") && success;
success = Should("new " + nodeName + '(c, {channelCountMode: "explicit"}',
@@ -135,7 +135,7 @@ function testAudioNodeOptions(context, nodeName, nodeOptions) {
channelCountMode: "foobar"
}));
}).throw("TypeError") && success;
- success = Should("node.channelCountMode", node.channelCountMode)
+ success = Should("node.channelCountMode after invalid setter", node.channelCountMode)
.beEqualTo("explicit") && success;
}
@@ -173,7 +173,7 @@ function testAudioNodeOptions(context, nodeName, nodeOptions) {
channelInterpretation: "foobar"
}));
}).throw("TypeError") && success;
- success = Should("node.channelInterpretation", node.channelInterpretation)
+ success = Should("node.channelInterpretation after invalid setter", node.channelInterpretation)
.beEqualTo("discrete") && success;

Powered by Google App Engine
This is Rietveld 408576698