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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-clamp-time-to-current-time.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/AudioParam/audioparam-clamp-time-to-current-time.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-clamp-time-to-current-time.html b/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-clamp-time-to-current-time.html
index 478b4e691921db50b9c30b7e8ca7b7214b99aff0..7ba1db32d74dbaac8065bad574789bdaae09554d 100644
--- a/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-clamp-time-to-current-time.html
+++ b/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-clamp-time-to-current-time.html
@@ -30,10 +30,10 @@
var result = resultBuffer.getChannelData(0);
var success = true;
- success = Should("Output[0-" + (suspendFrame - 1) + "]",
+ success = Should("setValue: Output[0-" + (suspendFrame - 1) + "]",
result.slice(0, suspendFrame))
.beConstantValueOf(0) && success;
- success = Should("Output[" + suspendFrame + "-" + (
+ success = Should("setValue: Output[" + suspendFrame + "-" + (
renderFrames - 1) + "]",
result.slice(suspendFrame))
.beConstantValueOf(1) && success;
@@ -60,10 +60,10 @@
var result = resultBuffer.getChannelData(0);
var success = true;
- success = Should("Output[0-" + (suspendFrame - 1) + "]",
+ success = Should("linear: Output[0-" + (suspendFrame - 1) + "]",
result.slice(0, suspendFrame))
.beConstantValueOf(1) && success;
- success = Should("Output[" + suspendFrame + "-" + (
+ success = Should("linear: Output[" + suspendFrame + "-" + (
renderFrames - 1) + "]",
result.slice(suspendFrame))
.beConstantValueOf(0.5) && success;
@@ -90,10 +90,10 @@
var result = resultBuffer.getChannelData(0);
var success = true;
- success = Should("Output[0-" + (suspendFrame - 1) + "]",
+ success = Should("exponential: Output[0-" + (suspendFrame - 1) + "]",
result.slice(0, suspendFrame))
.beConstantValueOf(1) && success;
- success = Should("Output[" + suspendFrame + "-" + (
+ success = Should("exponential: Output[" + suspendFrame + "-" + (
renderFrames - 1) + "]",
result.slice(suspendFrame))
.beConstantValueOf(0.5) && success;
@@ -122,12 +122,12 @@
var result = resultBuffer.getChannelData(0);
var success = true;
- success = Should("Output[0-" + (suspendFrame - 1) + "]",
+ success = Should("setTarget: Output[0-" + (suspendFrame - 1) + "]",
result.slice(0, suspendFrame))
.beConstantValueOf(1) && success;
// For the samples past the suspend time, we only care that first
// value is 1 and that the rest are not zero.
- success = Should("Output[" + suspendFrame + "]",
+ success = Should("setTarget: Output[" + suspendFrame + "]",
result[suspendFrame]).beEqualTo(1) && success;
var positive = result.slice(suspendFrame + 1).every(x => x >
@@ -160,7 +160,7 @@
var result = resultBuffer.getChannelData(0);
var success = true;
- success = Should("Output[0-" + (suspendFrame - 1) + "]",
+ success = Should("setValueCurve: Output[0-" + (suspendFrame - 1) + "]",
result.slice(0, suspendFrame))
.beConstantValueOf(1) && success;
@@ -168,7 +168,7 @@
// Just verify that all values are greater than or equal to 2.
var biggerThan2 = result.slice(suspendFrame).every(x => x >=
2);
- success = Should("Output[" + suspendFrame + "-" + (
+ success = Should("setValueCurve: Output[" + suspendFrame + "-" + (
renderFrames - 1) + "]",
biggerThan2)
.beEqualTo(true) && success;

Powered by Google App Engine
This is Rietveld 408576698