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

Unified Diff: chrome/test/data/webui/settings/cr_settings_browsertest.js

Issue 2489723006: MD Settings: split appearance browser tests (Closed)
Patch Set: drop dep Created 4 years, 1 month 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/settings/appearance_page_test.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/settings/cr_settings_browsertest.js
diff --git a/chrome/test/data/webui/settings/cr_settings_browsertest.js b/chrome/test/data/webui/settings/cr_settings_browsertest.js
index d62c23f65e28cbddb1c090ac92559bccd0fb5d28..257ba546ef42365e2d938ed014099fb7abbb29ce 100644
--- a/chrome/test/data/webui/settings/cr_settings_browsertest.js
+++ b/chrome/test/data/webui/settings/cr_settings_browsertest.js
@@ -424,7 +424,6 @@ TEST_F('CrSettingsResetPageTest', 'ResetPage', function() {
});
/**
- * Test fixture for chrome/browser/resources/settings/appearance_page/.
* @constructor
* @extends {CrSettingsBrowserTest}
*/
@@ -444,8 +443,31 @@ CrSettingsAppearancePageTest.prototype = {
]),
};
-TEST_F('CrSettingsAppearancePageTest', 'AppearancePage', function() {
- settings_appearance.registerTests();
+TEST_F('CrSettingsAppearancePageTest', 'All', function() {
+ mocha.run();
+});
+
+/**
+ * @constructor
+ * @extends {CrSettingsBrowserTest}
+ */
+function CrSettingsAppearanceFontsTest() {}
+
+CrSettingsAppearanceFontsTest.prototype = {
+ __proto__: CrSettingsBrowserTest.prototype,
+
+ /** @override */
+ browsePreload: 'chrome://md-settings/appearance_page/appearance_page.html',
dpapad 2016/11/10 02:00:46 Could this load appearance_page/appearance_fonts_p
Dan Beam 2016/11/10 02:08:03 Done.
+
+ /** @override */
+ extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([
+ ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js',
+ 'test_browser_proxy.js',
+ 'appearance_fonts_test.js',
+ ]),
+};
+
+TEST_F('CrSettingsAppearanceFontsTest', 'All', function() {
mocha.run();
});
« no previous file with comments | « chrome/test/data/webui/settings/appearance_page_test.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698