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

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: Minor comment fix. 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
« no previous file with comments | « chrome/test/data/webui/async_gen-inl.h ('k') | chrome/test/data/webui/print_preview.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..93b2806758d947f9e70f19c1b36f618f64b7d7ff 100644
--- a/chrome/test/data/webui/options.js
+++ b/chrome/test/data/webui/options.js
@@ -6,27 +6,27 @@
* TestFixture for OptionsPage WebUI testing.
* @extends {testing.Test}
* @constructor
- **/
+ */
function OptionsWebUITest() {}
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',
/**
* 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
* expectations and for registration of handlers with chrome.send.
- **/
+ */
function MockOptionsHandler() {}
MockOptionsHandler.prototype = {
@@ -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.
« no previous file with comments | « chrome/test/data/webui/async_gen-inl.h ('k') | chrome/test/data/webui/print_preview.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698