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

Side by Side Diff: chrome/test/data/webui/settings/cr_settings_browsertest.js

Issue 1532503003: Add FakeChromeEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix extraLibraries Created 5 years 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** @fileoverview Runs the Polymer Settings tests. */ 5 /** @fileoverview Runs the Polymer Settings tests. */
6 6
7 /** @const {string} Path to source root. */ 7 /** @const {string} Path to source root. */
8 var ROOT_PATH = '../../../../../'; 8 var ROOT_PATH = '../../../../../';
9 9
10 // Polymer BrowserTest fixture. 10 // Polymer BrowserTest fixture.
(...skipping 10 matching lines...) Expand all
21 CrSettingsBrowserTest.prototype = { 21 CrSettingsBrowserTest.prototype = {
22 __proto__: PolymerTest.prototype, 22 __proto__: PolymerTest.prototype,
23 23
24 /** @override */ 24 /** @override */
25 browsePreload: 'chrome://md-settings/prefs/prefs.html', 25 browsePreload: 'chrome://md-settings/prefs/prefs.html',
26 26
27 commandLineSwitches: [{switchName: 'enable-md-settings'}], 27 commandLineSwitches: [{switchName: 'enable-md-settings'}],
28 28
29 /** @override */ 29 /** @override */
30 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([ 30 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([
31 '../fake_chrome_event.js',
31 'fake_settings_private.js', 32 'fake_settings_private.js',
32 'checkbox_tests.js', 33 'checkbox_tests.js',
33 'dropdown_menu_tests.js', 34 'dropdown_menu_tests.js',
34 'pref_util_tests.js', 35 'pref_util_tests.js',
35 'prefs_test_cases.js', 36 'prefs_test_cases.js',
36 'prefs_tests.js', 37 'prefs_tests.js',
37 'reset_page_test.js', 38 'reset_page_test.js',
38 'site_list_tests.js', 39 'site_list_tests.js',
39 'site_settings_category_tests.js', 40 'site_settings_category_tests.js',
40 ]), 41 ]),
(...skipping 22 matching lines...) Expand all
63 // Run all registered tests. 64 // Run all registered tests.
64 mocha.run(); 65 mocha.run();
65 }); 66 });
66 67
67 68
68 TEST_F('CrSettingsBrowserTest', 'ResetPage', function() { 69 TEST_F('CrSettingsBrowserTest', 'ResetPage', function() {
69 settings_reset_page.registerDialogTests(); 70 settings_reset_page.registerDialogTests();
70 settings_reset_page.registerBannerTests(); 71 settings_reset_page.registerBannerTests();
71 mocha.run(); 72 mocha.run();
72 }); 73 });
OLDNEW
« no previous file with comments | « chrome/test/data/webui/settings/appearance_browsertest.js ('k') | chrome/test/data/webui/settings/fake_settings_private.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698