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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/Convolver/convolver-channels.html

Issue 2669293002: Convert ConvolverNode tests to testharness (Closed)
Patch Set: Remove commented-out code 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
Index: third_party/WebKit/LayoutTests/webaudio/Convolver/convolver-channels.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/Convolver/convolver-channels.html b/third_party/WebKit/LayoutTests/webaudio/Convolver/convolver-channels.html
index 0153a53f7ade5d90887264ed42e74d910f9c698b..d61758ad7a4c76acf5a80b4aed80c7056b80d3a3 100644
--- a/third_party/WebKit/LayoutTests/webaudio/Convolver/convolver-channels.html
+++ b/third_party/WebKit/LayoutTests/webaudio/Convolver/convolver-channels.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 Supported Number of Channels for ConvolverNode</title>
@@ -9,8 +10,6 @@
<body>
<script>
- description("Test Supported Number of Channels for ConvolverNode");
- window.jsTestIsAsync = true;
var audit = Audit.createTaskRunner();
@@ -37,16 +36,13 @@
}
}
- if (success)
- testPassed("Multiple channels for the convolver correctly handled.");
- else
- testFailed("Multiple channels for the convolver were not correctly handled.");
+ Should("Multiple channels for the convolver were handled", success)
+ .summarize("correctly", "incorrectly");
done();
});
audit.defineTask("finish", function (done) {
- finishJSTest();
done();
});

Powered by Google App Engine
This is Rietveld 408576698