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

Unified Diff: chrome/browser/resources/chromeos/chromevox/chromevox/injected/user_commands_test.unitjs

Issue 938623003: Fix ChromeVox next tests to fail instead of timing out where applicable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Simplify async callback handling in the tests. Created 5 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: chrome/browser/resources/chromeos/chromevox/chromevox/injected/user_commands_test.unitjs
diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/user_commands_test.unitjs b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/user_commands_test.unitjs
index cb122e6fb95e5629e34c1ee8b3dff723f9173d39..8459a35dca5459b6f073480765c4c6c2d098c91e 100644
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/user_commands_test.unitjs
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/user_commands_test.unitjs
@@ -10,7 +10,9 @@ GEN_INCLUDE(['../../testing/chromevox_unittest_base.js']);
* @constructor
* @extends {ChromeVoxUnitTestBase}
*/
-function CvoxUserCommandsUnitTest() {}
+function CvoxUserCommandsUnitTest() {
+ ChromeVoxUnitTestBase.call(this);
+}
CvoxUserCommandsUnitTest.prototype = {
__proto__: ChromeVoxUnitTestBase.prototype,
@@ -57,7 +59,6 @@ TEST_F('CvoxUserCommandsUnitTest', 'TabHandling', function() {
var id = document.activeElement.nextSibling.id;
assertEquals('foo', id);
});
- this.waitForCalm(testDone);
});
/**

Powered by Google App Engine
This is Rietveld 408576698