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

Unified Diff: chrome/test/data/webui/options.js

Issue 7645007: WebUI Testing: async support - global mocking, deferred runs, continued run. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Create an enum to describe when testDone should be called. Created 9 years, 4 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/test/data/webui/options.js
diff --git a/chrome/test/data/webui/options.js b/chrome/test/data/webui/options.js
index 00b476331a2610d18cc19c761901670c17c1a3fe..d7d9492c55959225a69b092cc09a42b70915d5f5 100644
--- a/chrome/test/data/webui/options.js
+++ b/chrome/test/data/webui/options.js
@@ -13,7 +13,7 @@ OptionsWebUITest.prototype = {
__proto__: testing.Test.prototype,
/**
- * Browse to the options page & call our PreLoad().
+ * Browse to the options page & call our preLoad().
**/
browsePreload: 'chrome://settings',
@@ -21,7 +21,7 @@ OptionsWebUITest.prototype = {
* Register a mock handler to ensure expectations are met and options pages
* behave correctly.
**/
- PreLoad: function() {
+ preLoad: function() {
/**
* Create handler class with empty methods to allow mocking to register
@@ -73,7 +73,7 @@ TEST_F('OptionsWebUITest', 'MAYBE_testSetBooleanPrefTriggers', function() {
true,
'Options_Homepage_HomeButton',
];
- // Note: this expectation is checked in testing::Test::TearDown.
+ // Note: this expectation is checked in testing::Test::tearDown.
this.mockHandler.expects(once()).setBooleanPref(trueListValue);
// Cause the handler to be called.

Powered by Google App Engine
This is Rietveld 408576698