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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/AudioListener/audiolistener-automation-position.html

Issue 2630303004: Convert audiolistener-automation-position to testharness (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/webaudio/AudioListener/audiolistener-automation-position-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/webaudio/AudioListener/audiolistener-automation-position.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/AudioListener/audiolistener-automation-position.html b/third_party/WebKit/LayoutTests/webaudio/AudioListener/audiolistener-automation-position.html
index 00e8be8955ae8a5d7b3a4ca2d7b27f154cf7da54..78ad0d0328d4ff329f6e119b4f3af70f81d88f7a 100644
--- a/third_party/WebKit/LayoutTests/webaudio/AudioListener/audiolistener-automation-position.html
+++ b/third_party/WebKit/LayoutTests/webaudio/AudioListener/audiolistener-automation-position.html
@@ -1,7 +1,8 @@
<!doctype html>
<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>
<title>Test Automation of AudioListener</title>
@@ -9,8 +10,6 @@
<body>
<script>
- description("Test Automation of AudioListener Position.");
- window.jsTestIsAsync = true;
var sampleRate = 48000;
// These tests are quite slow, so don't run for many frames. 1024 frames should be enough to
@@ -86,7 +85,6 @@
});
audit.defineTask("finish", function (done) {
- finishJSTest();
done();
});
@@ -189,14 +187,6 @@
})
.beCloseToArray(expectedRight, 0) && success;
- var message = 'Moving AudioListener with distance model: "';
- message += options.distanceModel.model + '", rolloff: ';
- message += options.distanceModel.rolloff + ": ";
- if (success)
- testPassed(message + " passed.\n");
- else
- testFailed(message + " failed.\n");
-
return success;
}
</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/webaudio/AudioListener/audiolistener-automation-position-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698