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

Unified Diff: LayoutTests/webaudio/oscillator-sawtooth.html

Issue 720293002: Replace oscillator tests with more robust tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Refactor according to review Created 6 years, 1 month 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: LayoutTests/webaudio/oscillator-sawtooth.html
diff --git a/LayoutTests/webaudio/oscillator-sawtooth.html b/LayoutTests/webaudio/oscillator-sawtooth.html
deleted file mode 100644
index fad0014c242313ae61f96046c325378634e2acc2..0000000000000000000000000000000000000000
--- a/LayoutTests/webaudio/oscillator-sawtooth.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<!DOCTYPE html>
-
-<!--
-Create an oscillator of type SAWTOOTH and generate a slow exponential tone sweep.
-The result can be checked for the correct wave shape and for aliasing artifacts.
-See oscillator-testing.js for details.
--->
-
-<html>
-<head>
-<script type="text/javascript" src="resources/audio-testing.js"></script>
-<script type="text/javascript" src="resources/oscillator-testing.js"></script>
-</head>
-<body>
-
-<script>
-
-window.onload = init;
-
-function init() {
- if (!window.testRunner)
- return;
-
- // Create offline audio context.
- context = new OfflineAudioContext(1, sampleRate * lengthInSeconds, sampleRate);
- generateExponentialOscillatorSweep(context, "sawtooth");
-
- context.oncomplete = finishAudioTest;
- context.startRendering();
-
- testRunner.waitUntilDone();
-}
-
-</script>
-
-</body>
-</html>
« no previous file with comments | « LayoutTests/webaudio/oscillator-custom-expected.wav ('k') | LayoutTests/webaudio/oscillator-sawtooth-expected.wav » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698