OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/browser/extensions/extension_apitest.h" |
| 6 |
| 7 #include "crypto/nss_util.h" |
| 8 |
| 9 namespace { |
| 10 |
| 11 class EnterpriseCertificateTest : public ExtensionApiTest { |
| 12 public: |
| 13 EnterpriseCertificateTest() : test_nssdb_(true) { |
| 14 } |
| 15 |
| 16 private: |
| 17 crypto::ScopedTestNSSDB test_nssdb_; |
| 18 }; |
| 19 |
| 20 } // namespace |
| 21 |
| 22 IN_PROC_BROWSER_TEST_F(EnterpriseCertificateTest, ImportClientCertificate) { |
| 23 // The test creates a tab and checks that the URL of the new tab |
| 24 // is that of the new tab page. Make sure the pref that controls |
| 25 // this is set. |
| 26 ASSERT_TRUE(RunExtensionSubtest("enterprise_certificates", "import.html")) |
| 27 << message_; |
| 28 } |
OLD | NEW |