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

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: 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 108
109 CrSettingsSearchEnginesTest.prototype = { 109 CrSettingsSearchEnginesTest.prototype = {
110 __proto__: CrSettingsBrowserTest.prototype, 110 __proto__: CrSettingsBrowserTest.prototype,
111 111
112 /** @override */ 112 /** @override */
113 browsePreload: 113 browsePreload:
114 'chrome://md-settings/search_engines_page/search_engines_page.html', 114 'chrome://md-settings/search_engines_page/search_engines_page.html',
115 115
116 /** @override */ 116 /** @override */
117 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([ 117 extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([
118 '../promise_resolver.js', 118 ROOT_PATH + 'ui/webui/resources/js/cr/promise_resolver.js',
119 'search_engines_page_test.js', 119 'search_engines_page_test.js',
120 ]), 120 ]),
121 }; 121 };
122 122
123 TEST_F('CrSettingsSearchEnginesTest', 'SearchEngines', function() { 123 TEST_F('CrSettingsSearchEnginesTest', 'SearchEngines', function() {
124 settings_search_engines_page.registerDialogTests(); 124 settings_search_engines_page.registerDialogTests();
125 settings_search_engines_page.registerSearchEngineEntryTests(); 125 settings_search_engines_page.registerSearchEngineEntryTests();
126 settings_search_engines_page.registerOmniboxExtensionEntryTests(); 126 settings_search_engines_page.registerOmniboxExtensionEntryTests();
127 settings_search_engines_page.registerPageTests(); 127 settings_search_engines_page.registerPageTests();
128 mocha.run(); 128 mocha.run();
129 }); 129 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698