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

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

Issue 1838273003: MD Settings: Hooking up native certificate manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Modify ifdefs per feedback 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 side-by-side diff with in-line comments
Download patch
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 66fbb57d7032ab351624431e4c011cc756c2cbce..b08adc15bfbc1abcc82bb035cfb581f2b73d0966 100644
--- a/chrome/test/data/webui/settings/cr_settings_browsertest.js
+++ b/chrome/test/data/webui/settings/cr_settings_browsertest.js
@@ -154,6 +154,32 @@ TEST_F('CrSettingsCertificateManagerTest', 'CertificateManager', function() {
certificate_manager_page.registerTests();
mocha.run();
});
+
+GEN('#elif defined(OS_WIN) || defined(OS_MACOSX)');
+/**
+ * Test fixture for chrome/browser/resources/settings/privacy_page/.
+ * @constructor
+ * @extends {CrSettingsBrowserTest}
+*/
+function CrSettingsPrivacyPageTest() {}
+
+CrSettingsPrivacyPageTest.prototype = {
+ __proto__: CrSettingsBrowserTest.prototype,
+
+ /** @override */
+ browsePreload: 'chrome://md-settings/privacy_page/privacy_page.html',
+
+ /** @override */
+ extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([
+ ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js',
+ 'test_browser_proxy.js',
+ 'privacy_page_test.js',
+ ]),
+};
+
+TEST_F('CrSettingsPrivacyPageTest', 'PrivacyPage', function() {
+ mocha.run();
+});
GEN('#endif');
/**

Powered by Google App Engine
This is Rietveld 408576698