#include "chrome/browser/browser_features.h"
#include "chrome/common/buildflags.h"
#include "chrome/common/chrome_features.h"
#include "chrome/common/webui_url_constants.h"
#include "chrome/test/base/web_ui_mocha_browser_test.h"
#include "content/public/test/browser_test.h"
#include "crypto/crypto_buildflags.h"
CrComponentsTest;
#if BUILDFLAG(USE_NSS_CERTS)
IN_PROC_BROWSER_TEST_F(CrComponentsTest, CertificateManager) { … }
#endif
#if BUILDFLAG(USE_NSS_CERTS) && BUILDFLAG(IS_CHROMEOS)
IN_PROC_BROWSER_TEST_F(CrComponentsTest, CertificateManagerProvisioning) {
set_test_loader_host(chrome::kChromeUISettingsHost);
RunTest(
"cr_components/certificate_manager/"
"certificate_manager_provisioning_test.js",
"mocha.run()");
}
#endif
#if BUILDFLAG(CHROME_ROOT_STORE_CERT_MANAGEMENT_UI)
class CrComponentsCertManagerV2Test : public WebUIMochaBrowserTest { … };
IN_PROC_BROWSER_TEST_F(CrComponentsCertManagerV2Test, CertificateManagerV2) { … }
IN_PROC_BROWSER_TEST_F(CrComponentsCertManagerV2Test, CertificateListV2) { … }
IN_PROC_BROWSER_TEST_F(CrComponentsCertManagerV2Test, CertificateEntryV2) { … }
IN_PROC_BROWSER_TEST_F(CrComponentsCertManagerV2Test, CertificateSubpageV2) { … }
IN_PROC_BROWSER_TEST_F(CrComponentsCertManagerV2Test,
CertificatePasswordDialog) { … }
IN_PROC_BROWSER_TEST_F(CrComponentsCertManagerV2Test, NavigationV2) { … }
#endif