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

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

Issue 1758013002: WebUI: Allow rejecting a promise that is returned from cr.sendWithPromise(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-rename Created 4 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 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 115
116 CrSettingsSearchEnginesTest.prototype = { 116 CrSettingsSearchEnginesTest.prototype = {
117 __proto__: CrSettingsBrowserTest.prototype, 117 __proto__: CrSettingsBrowserTest.prototype,
118 118
119 /** @override */ 119 /** @override */
120 browsePreload: 120 browsePreload:
121 'chrome://md-settings/search_engines_page/search_engines_page.html', 121 'chrome://md-settings/search_engines_page/search_engines_page.html',
122 122
123 /** @override */ 123 /** @override */
124 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([ 124 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([
125 '../promise_resolver.js', 125 ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js',
126 'search_engines_page_test.js', 126 'search_engines_page_test.js',
127 ]), 127 ]),
128 }; 128 };
129 129
130 TEST_F('CrSettingsSearchEnginesTest', 'SearchEngines', function() { 130 TEST_F('CrSettingsSearchEnginesTest', 'SearchEngines', function() {
131 settings_search_engines_page.registerDialogTests(); 131 settings_search_engines_page.registerDialogTests();
132 settings_search_engines_page.registerSearchEngineEntryTests(); 132 settings_search_engines_page.registerSearchEngineEntryTests();
133 settings_search_engines_page.registerOmniboxExtensionEntryTests(); 133 settings_search_engines_page.registerOmniboxExtensionEntryTests();
134 settings_search_engines_page.registerPageTests(); 134 settings_search_engines_page.registerPageTests();
135 mocha.run(); 135 mocha.run();
136 }); 136 });
OLDNEW
« no previous file with comments | « chrome/test/data/webui/promise_resolver.js ('k') | chrome/test/data/webui/webui_resource_async_browsertest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698