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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/AudioBuffer/audiobuffer-copy-channel.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/AudioBuffer/audiobuffer-copy-channel.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/AudioBuffer/audiobuffer-copy-channel.html b/third_party/WebKit/LayoutTests/webaudio/AudioBuffer/audiobuffer-copy-channel.html
index fe1567ff98e9c0c6fb924800fa6c25a79e77f898..a338a50d961d75c44aa2c2f9e7afa5e3348db0e1 100644
--- a/third_party/WebKit/LayoutTests/webaudio/AudioBuffer/audiobuffer-copy-channel.html
+++ b/third_party/WebKit/LayoutTests/webaudio/AudioBuffer/audiobuffer-copy-channel.html
@@ -107,30 +107,30 @@
AudioBuffer.prototype.copyFromChannel)
.exist();
- Should("buffer = context.createBuffer(" + numberOfChannels + ", " + bufferLength + ", context.sampleRate)",
+ Should("0: buffer = context.createBuffer(" + numberOfChannels + ", " + bufferLength + ", context.sampleRate)",
function () {
buffer = context.createBuffer(numberOfChannels, bufferLength, context.sampleRate);
}).notThrow();
- Should("buffer.copyFromChannel(null, 0)", function () {
+ Should("1: buffer.copyFromChannel(null, 0)", function () {
buffer.copyFromChannel(null, 0);
}).throw("TypeError");
- Should("buffer.copyFromChannel(context, 0)", function () {
+ Should("2: buffer.copyFromChannel(context, 0)", function () {
buffer.copyFromChannel(context, 0);
}).throw("TypeError");
- Should("buffer.copyFromChannel(x, -1)", function () {
+ Should("3: buffer.copyFromChannel(x, -1)", function () {
buffer.copyFromChannel(x, -1);
}).throw("IndexSizeError");
- Should("buffer.copyFromChannel(x, " + numberOfChannels + ")", function () {
+ Should("4: buffer.copyFromChannel(x, " + numberOfChannels + ")", function () {
buffer.copyFromChannel(x, numberOfChannels);
}).throw("IndexSizeError");;
- Should("buffer.copyFromChannel(x, 0, -1)", function () {
+ Should("5: buffer.copyFromChannel(x, 0, -1)", function () {
buffer.copyFromChannel(x, 0, -1);
}).throw("IndexSizeError");
- Should("buffer.copyFromChannel(x, 0, " + bufferLength + ")", function () {
+ Should("6: buffer.copyFromChannel(x, 0, " + bufferLength + ")", function () {
buffer.copyFromChannel(x, 0, bufferLength);
}).throw("IndexSizeError");
- Should("buffer.copyFromChannel(x, 3)", function () {
+ Should("7: buffer.copyFromChannel(x, 3)", function () {
buffer.copyFromChannel(x, 3);
}).throw("IndexSizeError");
@@ -142,26 +142,26 @@
Should("AudioBuffer.prototype.copyToChannel",
AudioBuffer.prototype.copyToChannel)
.exist();
- Should("buffer.copyToChannel(null, 0)", function () {
+ Should("0: buffer.copyToChannel(null, 0)", function () {
buffer.copyToChannel(null, 0);
}).throw("TypeError");
- Should("buffer.copyToChannel(context, 0)", function () {
+ Should("1: buffer.copyToChannel(context, 0)", function () {
buffer.copyToChannel(context, 0);
}).throw("TypeError");
- Should("buffer.copyToChannel(x, -1)", function () {
+ Should("2: buffer.copyToChannel(x, -1)", function () {
buffer.copyToChannel(x, -1);
}).throw("IndexSizeError");
- Should("buffer.copyToChannel(x, " + numberOfChannels + ")", function () {
+ Should("3: buffer.copyToChannel(x, " + numberOfChannels + ")", function () {
buffer.copyToChannel(x, numberOfChannels);
}).throw("IndexSizeError");
- Should("buffer.copyToChannel(x, 0, -1)", function () {
+ Should("4: buffer.copyToChannel(x, 0, -1)", function () {
buffer.copyToChannel(x, 0, -1);
}).throw("IndexSizeError");
- Should("buffer.copyToChannel(x, 0, " + bufferLength + ")", function () {
+ Should("5: buffer.copyToChannel(x, 0, " + bufferLength + ")", function () {
buffer.copyToChannel(x, 0, bufferLength);
}).throw("IndexSizeError");
- Should("buffer.copyToChannel(x, 3)", function () {
+ Should("6: buffer.copyToChannel(x, 3)", function () {
buffer.copyToChannel(x, 3);
}).throw("IndexSizeError");

Powered by Google App Engine
This is Rietveld 408576698