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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/WaveShaper/waveshaper-oversample-4x.html

Issue 2677453005: Convert WaveShaper tests to testharness (Closed)
Patch Set: Address review comments Created 3 years, 10 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/WaveShaper/waveshaper-oversample-4x.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/WaveShaper/waveshaper-oversample-4x.html b/third_party/WebKit/LayoutTests/webaudio/WaveShaper/waveshaper-oversample-4x.html
index ac9b299e0b897ea725d50a66d324e8fa9683fdd3..68a095f4f46cda62bc38f493280709e576085d45 100644
--- a/third_party/WebKit/LayoutTests/webaudio/WaveShaper/waveshaper-oversample-4x.html
+++ b/third_party/WebKit/LayoutTests/webaudio/WaveShaper/waveshaper-oversample-4x.html
@@ -2,21 +2,16 @@
<html>
<head>
-<script src="../../resources/js-test.js"></script>
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
<script src="../resources/audit-util.js"></script>
-<script src="../resources/audio-testing.js"></script>
+<script src="../resources/audit.js"></script>
<script type="text/javascript" src="../resources/mix-testing.js"></script>
<script type="text/javascript" src="../resources/waveshaper-testing.js"></script>
</head>
<body>
-
-<div id="description"></div>
-<div id="console"></div>
-
<script>
-description("Tests 4x WaveShaperNode oversampling.");
-
var testParams = {
"sampleRate": 44100,
"oversample": "4x",
@@ -24,7 +19,8 @@ var testParams = {
// Should generate harmonics at 18000, 36000, 54000, 72000
// All except for 18000 should be filtered out with the 4x oversampling.
"fundamentalFrequency": 18000,
- "acceptableAliasingThresholdDecibels": -79.9
+ "acceptableAliasingThresholdDecibels": -79.9,
+ description: "4x WaveShaperNode oversampling"
};
runWaveShaperOversamplingTest(testParams);

Powered by Google App Engine
This is Rietveld 408576698