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

Side by Side Diff: chrome/browser/ui/webui/options2/browser_options_browsertest.js

Issue 10837331: Options: s/options2/options/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: wut Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 /**
6 * TestFixture for browser options WebUI testing.
7 * @extends {testing.Test}
8 * @constructor
9 **/
10 function BrowserOptionsWebUITest() {}
11
12 BrowserOptionsWebUITest.prototype = {
13 __proto__: testing.Test.prototype,
14
15 /**
16 * Browse to browser options.
17 **/
18 browsePreload: 'chrome://chrome/settings/',
19 };
20
21 // Test opening the browser options has correct location.
22 // Times out on Mac debug only. See http://crbug.com/121030
23 GEN('#if defined(OS_MACOSX) && !defined(NDEBUG)');
24 GEN('#define MAYBE_testOpenBrowserOptions ' +
25 'DISABLED_testOpenBrowserOptions');
26 GEN('#else');
27 GEN('#define MAYBE_testOpenBrowserOptions testOpenBrowserOptions');
28 GEN('#endif // defined(OS_MACOSX)');
29 TEST_F('BrowserOptionsWebUITest', 'MAYBE_testOpenBrowserOptions', function() {
30 assertEquals(this.browsePreload, document.location.href);
31 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698